Super slow query on two context columns

I have a table of 6k records whihc contain two fields which contains somehting like sts of keywords.
Searching using Contains is fine on any one of the the fields (sub second response) but if I try to use Contains(field1) OR Contains(field2) the query just goes on forever.
In fact its so slow I have never found out how long it would actually take to complete.
Is this normal or is there some way I can get this query to work in a reasonable amount of time
Rob
null

Please read the Performance FAQ at: http://technet.oracle.com/products/text/

Similar Messages

  • Query between two date columns ?

    Oracle 11g R2
    I'm trying too create a query between two date columns. I have a view that consists of many columns. There are two columns in question called valid_to and valid_from
    Part Number     Valid_from        valid_to
    100                    01/01/2000       01/01/9999
    200                    01/01/2000       01/01/9999
    300                    01/01/2000       01/01/9999
    etc
    If I want to only see rows between with a date range of 01/01/2000 and 01/01/2013 how can I put this as SQL ?
    Thanks in advance

    Hi,
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), so that the people who want to help you can re-create the problem and test their ideas.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    See the forum FAQ: https://forums.oracle.com/message/9362002
    If you want to find rows that have that exact range, then you can do  something like
    SELECT  *
    FROM    table_x
    WHERE   valid_from  = DATE '2000-01-01
    AND     valid_to    = DATE '2013-01-01'
    If you want to find rows where any or all or the range on the row overlaps any or all of the 200-2013 target range, then
    SELECT  *
    FROM    table_x
    WHERE   valid_from  <= DATE '2013-01-02
    AND     valid_to    >= DATE '2000-01-01'
    If you want rows that are enritely within the target range, it's something else.
    If you want rows that entirely enclose the target range, it's something else again.

  • Text query using a Multi Column datastore index slow

    I have created a text index using multi column datastore preference. I have specified two clob columns in my preference. Searching on this new index works, but it is slower than I expected.
    I have done the following comparison:
    My original two clob columns are: DocumentBody and DocumentFields. I have built an individual text index on each column. My new column with Multi Column index is DocumentBodyAndFields;
    I did two queries:
    1. search 'dog' on DocumentBody UNION search 'dog' on DocumentFields;
    2. search 'dog' on DocumentBodyAndFields;
    I would think the second search should be faster than the first one because it is a single query. But this is not the case. The second query is consistently slower than the first query by about 10-20%.
    Things are getting much worse when I search on preceding wildcards. If I search '%job', the multi column index is twice as slow as the first query! I am very confused by this result. Is this a bug?

    I am unable to reproduce the performance problem. In my tests, the search that uses the multicolumn_datastore performs better, as demonstrated below. Can you provide a similar test case that shows the table structure, datastore, index creations, and explain plan?
    SCOTT@orcl_11g> CREATE TABLE your_tab
      2    (DocumentId            NUMBER,
      3       DocumentBody            CLOB,
      4       DocumentFields            CLOB,
      5       DocumentBodyAndFields  VARCHAR2 (1))
      6  /
    Table created.
    SCOTT@orcl_11g> INSERT ALL
      2  INTO your_tab VALUES (-1, 'adog', 'bdog', NULL)
      3  INTO your_tab VALUES (-2, 'adog', 'whatever', NULL)
      4  INTO your_tab VALUES (-3, 'whatever', 'bdog', NULL)
      5  SELECT * FROM DUAL
      6  /
    3 rows created.
    SCOTT@orcl_11g> INSERT INTO your_tab
      2  SELECT object_id, object_name, object_name, NULL
      3  FROM   all_objects
      4  /
    69063 rows created.
    SCOTT@orcl_11g> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE
      3        ('your_datastore', 'MULTI_COLUMN_DATASTORE');
      4    CTX_DDL.SET_ATTRIBUTE
      5        ('your_datastore', 'COLUMNS', 'DocumentBody, DocumentFields');
      6  END;
      7  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> CREATE INDEX your_idx1 ON your_tab (DocumentBody)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  /
    Index created.
    SCOTT@orcl_11g> CREATE INDEX your_idx2 ON your_tab (DocumentFields)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  /
    Index created.
    SCOTT@orcl_11g> CREATE INDEX your_idx3 ON your_tab (DocumentBodyAndFields)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS ('DATASTORE your_datastore')
      4  /
    Index created.
    SCOTT@orcl_11g> EXEC DBMS_STATS.GATHER_TABLE_STATS (USER, 'YOUR_TAB')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11g> SET TIMING ON
    SCOTT@orcl_11g> SET AUTOTRACE ON EXPLAIN
    SCOTT@orcl_11g> SELECT DocumentId FROM your_tab
      2  WHERE  CONTAINS (DocumentBody, '%dog') > 0
      3  UNION
      4  SELECT DocumentId FROM your_tab
      5  WHERE  CONTAINS (DocumentFields, '%dog') > 0
      6  /
    DOCUMENTID
            -3
            -2
            -1
    Elapsed: 00:00:00.65
    Execution Plan
    Plan hash value: 4118340734
    | Id  | Operation                     | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT              |           |     4 |   576 |     2 (100)| 00:00:01 |
    |   1 |  SORT UNIQUE                  |           |     4 |   576 |     2 (100)| 00:00:01 |
    |   2 |   UNION-ALL                   |           |       |       |            |          |
    |   3 |    TABLE ACCESS BY INDEX ROWID| YOUR_TAB  |     2 |   288 |     0   (0)| 00:00:01 |
    |*  4 |     DOMAIN INDEX              | YOUR_IDX1 |       |       |     0   (0)| 00:00:01 |
    |   5 |    TABLE ACCESS BY INDEX ROWID| YOUR_TAB  |     2 |   288 |     0   (0)| 00:00:01 |
    |*  6 |     DOMAIN INDEX              | YOUR_IDX2 |       |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - access("CTXSYS"."CONTAINS"("DOCUMENTBODY",'%dog')>0)
       6 - access("CTXSYS"."CONTAINS"("DOCUMENTFIELDS",'%dog')>0)
    SCOTT@orcl_11g> SELECT DocumentId FROM your_tab
      2  WHERE  CONTAINS (DocumentBodyAndFields, '%dog') > 0
      3  /
    DOCUMENTID
            -1
            -2
            -3
    Elapsed: 00:00:00.28
    Execution Plan
    Plan hash value: 65113709
    | Id  | Operation                   | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |           |     4 |    76 |     0   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| YOUR_TAB  |     4 |    76 |     0   (0)| 00:00:01 |
    |*  2 |   DOMAIN INDEX              | YOUR_IDX3 |       |       |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("CTXSYS"."CONTAINS"("DOCUMENTBODYANDFIELDS",'%dog')>0)
    SCOTT@orcl_11g>

  • Sql query slowness due to rank and columns with null values:

        
    Sql query slowness due to rank and columns with null values:
    I have the following table in database with around 10 millions records:
    Declaration:
    create table PropertyOwners (
    [Key] int not null primary key,
    PropertyKey int not null,    
    BoughtDate DateTime,    
    OwnerKey int null,    
    GroupKey int null   
    go
    [Key] is primary key and combination of PropertyKey, BoughtDate, OwnerKey and GroupKey is unique.
    With the following index:
    CREATE NONCLUSTERED INDEX [IX_PropertyOwners] ON [dbo].[PropertyOwners]    
    [PropertyKey] ASC,   
    [BoughtDate] DESC,   
    [OwnerKey] DESC,   
    [GroupKey] DESC   
    go
    Description of the case:
    For single BoughtDate one property can belong to multiple owners or single group, for single record there can either be OwnerKey or GroupKey but not both so one of them will be null for each record. I am trying to retrieve the data from the table using
    following query for the OwnerKey. If there are same property rows for owners and group at the same time than the rows having OwnerKey with be preferred, that is why I am using "OwnerKey desc" in Rank function.
    declare @ownerKey int = 40000   
    select PropertyKey, BoughtDate, OwnerKey, GroupKey   
    from (    
    select PropertyKey, BoughtDate, OwnerKey, GroupKey,       
    RANK() over (partition by PropertyKey order by BoughtDate desc, OwnerKey desc, GroupKey desc) as [Rank]   
    from PropertyOwners   
    ) as result   
    where result.[Rank]=1 and result.[OwnerKey]=@ownerKey
    It is taking 2-3 seconds to get the records which is too slow, similar time it is taking as I try to get the records using the GroupKey. But when I tried to get the records for the PropertyKey with the same query, it is executing in 10 milliseconds.
    May be the slowness is due to as OwnerKey/GroupKey in the table  can be null and sql server in unable to index it. I have also tried to use the Indexed view to pre ranked them but I can't use it in my query as Rank function is not supported in indexed
    view.
    Please note this table is updated once a day and using Sql Server 2008 R2. Any help will be greatly appreciated.

    create table #result (PropertyKey int not null, BoughtDate datetime, OwnerKey int null, GroupKey int null, [Rank] int not null)Create index idx ON #result(OwnerKey ,rnk)
    insert into #result(PropertyKey, BoughtDate, OwnerKey, GroupKey, [Rank])
    select PropertyKey, BoughtDate, OwnerKey, GroupKey,
    RANK() over (partition by PropertyKey order by BoughtDate desc, OwnerKey desc, GroupKey desc) as [Rank]
    from PropertyOwners
    go
    declare @ownerKey int = 1
    select PropertyKey, BoughtDate, OwnerKey, GroupKey
    from #result as result
    where result.[Rank]=1
    and result.[OwnerKey]=@ownerKey
    go
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • In Aperture 3, how can I easily move entire projects out of my main Ap Library into other libraries?  My Ap library is running super slow because it's overloaded l so I have created two new libraries, but can't seem to move the projects into them

    In Aperture 3, how can I easily move entire projects out of my main Ap Library into other libraries?  My Ap library is running super slow because it's overloaded, so I have created two new libraries, but can't seem to move the projects into them?

    Hello Annabel,
    To move entire projects export them as Aperture Libraries, and then import those Libraries into the other Aperture Library:
    Select the Project in the Inspector, then
    File -> Export -> Project as Library
    In the other Library do:
    File -> Import  -> Library/ Project
    But I am not quite convinced, that the size of your current Aperture Library is responsible for the slowness of Aperture - Aperture is designed to cope with huge libraries.
    You may want to post your hardware setup and details of your library, and some of the hardware experts here may help you to find the reason for the slowness.
    A huge library should only be a problem, if the projects are too big, and if you have many, many smart albums at the root level of your library.
    So keep the projects small, and try to move some of your smart albums to lower levels in your folder structure (then Aperture does not need to scan all of your images to build the smart album).
    Other reasons for Aperture's slowness may be, e.g.
    An overfull system drive and/or external drive (keep at least 20% of your drives empty)
    lack of RAM
    a corrupted Aperture Library, that needs repairing
    Have you checked those options, before you split your library? It would be a pity to split it, for you would loose the ability to browse all parts at the same time, to use all your images in the Media Browser, etc.
    Regards
    Léonie

  • How can I make my query to compare only columns of two tables... not the storage information?

    11GR2
    =-----------------------------------
    I am using below querry to compare two table that has same name, under two different users... But after making storage information false like below and  if the storage information is different on column level than it create "Alter modify " statements for the column ... How can I make my query to compare only columns of two tables... not the storage information?
    begin
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'PRETTY', TRUE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SQLTERMINATOR',TRUE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'SEGMENT_ATTRIBUTES', FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'STORAGE', FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'TABLESPACE',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'CONSTRAINTS',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'REF_CONSTRAINTS',FALSE);
    DBMS_METADATA.SET_TRANSFORM_PARAM(DBMS_METADATA.SESSION_TRANSFORM,'CONSTRAINTS_AS_ALTER',FALSE);
    End;
    select REGEXP_REPLACE(dbms_metadata_diff.compare_alter('TABLE','TABLE_NAME_A','TABLE_NAME_A','USER1','USER2'),('USER1...'),'', 1, 0, 'i') from dual

    I am using below querry to compare two table that has same name, under two different users... But after making storage information false like below and  if the storage information is different on column level than it create "Alter modify " statements for the column ... How can I make my query to compare only columns of two tables... not the storage information?
    If you want help you have to SHOW us what you are doing and how you are doing it; you can't just try to tell us in your own words.
    We can't see your computer screen.

  • Lion is super slow! Should I reinstall?

    Hi,
    I have a 13” MacBook Pro that has a 2.7GHz i7 processor and 4GB of RAM. I bought this June at it came pre-installed with OS X Snow Leopard. In July, I upgraded to Lion and initially, my computer just had the spinning beach ball a lot more, but a day or two later, my computer seemed like it was running as normal (I’m assuming this was due to Spotlight indexing everything).
    However, of late I’ve noticed my computer is SUPER slow! I first noticed the lag in processing speed when it took five minutes to transfer 1GB to a USB flash drive. (I then transferred the files to a Windows PC and back onto the same flash drive and the entire process occurred in under a minute).It takes over two minutes to start up and anywhere between ten seconds to a minute to open a regular application (i.e. iTunes, iPhoto, Firefox, etc). And my laptop heats up a lot faster these days too!
    I’ve looked around the discussion forum and tried all the suggested solutions i.e. resetting the PRAM and the SMC, verifying and repairing the disk/permissions (including the one where you have to go through the recovery partition). But nothing has helped. If anything, it's getting worse! Every time I open disk utility now it says it’ll take 4 hours to verify the disk permissions! AHHH. And it’s not like my laptop is filled with useless files, either; my hard drive capacity is 500GB and it still has 372.7GB available. Oh, and I don’t have a virus either because I’ve run the Sophos anti-virus scan three times.
    Normally, I’d have taken my laptop to the Apple Store and asked them to figure it out, but I’m currently in the Philippines and they only have Apple Resellers and fake Apple Stores here. I realise it sounds ridiculous but I’m deathly afraid they are either going to kill my MBP altogether or steal my parts.
    I was wondering should I completely re-install Lion? If so, how exactly would I go about doing that? I do have a Time Machine back-up of everything on my 1TB external drive, but I don’t have any back-ups prior to getting Lion because I purchased my external later. Also, if I were to re-install Lion and restore from my Time Machine back-up would all my applications still work? I have Microsoft Office 201, Adobe Pro, Photoshop, etc. and if they get uninstalled, I don’t have any of my installation CDs here!
    I’d appreciate any help! If you have any ideas, comments, suggestions, anything – shoot me a response. Thank you!

    Try to find out what is causing the loss of performance by starting the "Activity Monitor" (from Applications -> Utilities) and sort the processes according to real memory usage or CPU time by clicking at the column headers.
    Also have a look at the free Disk space.
    According to Apple the minimum hardware requirements for Lion are 2GB of RAM, but I found that not to be sufficient with the Applications I like to be running at the same time. For my workflow I needed 4 GB RAM when on SL, and with Lion I needed 8GB of RAM. The Activity monitor will tell you if you need to upgrade your RAM.
    The second bottleneck with Lion is free disk space. Lion will run much more smoothly if you keep a least 10% (and a minimum of 20 GB) of your disk free.
    If you find that you do need more RAM, but don't want to upgrade right now, look at the "Activity monitor" to find out which of your processes are fighting for memory and try to avoid running those together at the same time. I found that quite often Safari was eating the available memory and quitting Safari when I did not really need it did help a lot.
    Regards
    Léonie
    P.S. There are quite a few threads in this forum discussing this. Search for "Lion slow"

  • Very Slow Query with CTE inner join

    I have 2 tables (heavily simplified here to show relevant columns):
    CREATE TABLE tblCharge
    (ChargeID int NOT NULL,
    ParentChargeID int NULL,
    ChargeName varchar(200) NULL)
    CREATE TABLE tblChargeShare
    (ChargeShareID int NOT NULL,
    ChargeID int NOT NULL,
    TotalAmount money NOT NULL,
    TaxAmount money NULL,
    DiscountAmount money NULL,
    CustomerID int NOT NULL,
    ChargeShareStatusID int NOT NULL)
    I have a very basic View to Join them:
    CREATE VIEW vwBASEChargeShareRelation as
    Select c.ChargeID, ParentChargeID, s.CustomerID, s.TotalAmount, isnull(s.TaxAmount, 0) as TaxAmount, isnull(s.DiscountAmount, 0) as DiscountAmount
    from tblCharge c inner join tblChargeShare s
    on c.ChargeID = s.ChargeID Where s.ChargeShareStatusID < 3
    GO
    I then have a view containing a CTE to get the children of the Parent Charge:
    ALTER VIEW [vwChargeShareSubCharges] AS
    WITH RCTE AS
    SELECT ParentChargeId, ChargeID, 1 AS Lvl, ISNULL(TotalAmount, 0) as TotalAmount, ISNULL(TaxAmount, 0) as TaxAmount,
    ISNULL(DiscountAmount, 0) as DiscountAmount, CustomerID, ChargeID as MasterChargeID
    FROM vwBASEChargeShareRelation Where ParentChargeID is NULL
    UNION ALL
    SELECT rh.ParentChargeID, rh.ChargeID, Lvl+1 AS Lvl, ISNULL(rh.TotalAmount, 0), ISNULL(rh.TaxAmount, 0), ISNULL(rh.DiscountAmount, 0) , rh.CustomerID
    , rc.MasterChargeID
    FROM vwBASEChargeShareRelation rh
    INNER JOIN RCTE rc ON rh.PArentChargeID = rc.ChargeID and rh.CustomerID = rc.CustomerID
    Select MasterChargeID as ChargeID, CustomerID, Sum(TotalAmount) as TotalCharged, Sum(TaxAmount) as TotalTax, Sum(DiscountAmount) as TotalDiscount
    from RCTE
    Group by MasterChargeID, CustomerID
    GO
    So far so good, I can query this view and get the total cost for a line item including all children.
    The problem occurs when I join this table. The query:
    Select t.* from vwChargeShareSubCharges t
    inner join
    tblChargeShare s
    on t.CustomerID = s.CustomerID
    and t.MasterChargeID = s.ChargeID
    Where s.ChargeID = 1291094
    Takes around 30 ms to return a result (tblCharge and Charge Share have around 3.5 million records).
    But the query:
    Select t.* from vwChargeShareSubCharges t
    inner join
    tblChargeShare s
    on t.CustomerID = s.CustomerID
    and t.MasterChargeID = s.ChargeID
    Where InvoiceID = 1045854
    Takes around 2 minutes to return a result - even though the only charge with that InvoiceID is the same charge as the one used in the previous query.
    The same thing occurs if I do the join in the same query that the CTE is defined in.
    I ran the execution plan for each query. The first (fast) query looks like this:
    The second(slow) query looks like this:
    I am at a loss, and my skills at decoding execution plans to resolve this are lacking.
    I have separate indexes on tblCharge.ChargeID, tblCharge.ParentChargeID, tblChargeShare.ChargeID, tblChargeShare.InvoiceID, tblChargeShare.ChargeShareStatusID
    Any ideas? Tested on SQL 2008R2 and SQL 2012

    >> The database is linked [sic] to an established app and the column and table names can't be changed. <<
    Link? That is a term from pointer chains and network databases, not SQL. I will guess that means the app came back in the old pre-RDBMS days and you are screwed. 
    >> I am not too worried about the money field [sic], this is used for money and money based calculations so the precision and rounding are acceptable at this level. <<
    Field is a COBOL concept; columns are totally different. MONEY is how Sybase mimics the PICTURE clause that puts currency signs, commas, period, etc in a COBOL money field. 
    Using more than one operation (multiplication or division) on money columns will produce severe rounding errors. A simple way to visualize money arithmetic is to place a ROUND() function calls after 
    every operation. For example,
    Amount = (Portion / total_amt) * gross_amt
    can be rewritten using money arithmetic as:
    Amount = ROUND(ROUND(Portion/total_amt, 4) * 
    gross_amt, 4)
    Rounding to four decimal places might not seem an 
    issue, until the numbers you are using are greater 
    than 10,000. 
    BEGIN
    DECLARE @gross_amt MONEY,
     @total_amt MONEY,
     @my_part MONEY,
     @money_result MONEY,
     @float_result FLOAT,
     @all_floats FLOAT;
     SET @gross_amt = 55294.72;
     SET @total_amt = 7328.75;
     SET @my_part = 1793.33;
     SET @money_result = (@my_part / @total_amt) * 
    @gross_amt;
     SET @float_result = (@my_part / @total_amt) * 
    @gross_amt;
     SET @Retult3 = (CAST(@my_part AS FLOAT)
     / CAST( @total_amt AS FLOAT))
     * CAST(FLOAT, @gross_amt AS FLOAT);
     SELECT @money_result, @float_result, @all_floats;
    END;
    @money_result = 13525.09 -- incorrect
    @float_result = 13525.0885 -- incorrect
    @all_floats = 13530.5038673171 -- correct, with a -
    5.42 error 
    >> The keys are ChargeID(int, identity) and ChargeShareID(int, identity). <<
    Sorry, but IDENTITY is not relational and cannot be a key by definition. But it sure works just like a record number in your old COBOL file system. 
    >> .. these need to be int so that they are assigned by the database and unique. <<
    No, the data type of a key is not determined by physical storage, but by logical design. IDENTITY is the number of a parking space in a garage; a VIN is how you identify the automobile. 
    >> What would you recommend I use as keys? <<
    I do not know. I have no specs and without that, I cannot pull a Kabbalah number from the hardware. Your magic numbers can identify Squids, Automobile or Lady Gaga! I would ask the accounting department how they identify a charge. 
    >> Charge_Share_Status_ID links [sic] to another table which contains the name, formatting [sic] and other information [sic] or a charge share's status, so it is both an Id and a status. <<
    More pointer chains! Formatting? Unh? In RDBMS, we use a tiered architecture. That means display formatting is in a presentation layer. A properly created table has cohesion – it does one and only one data element. A status is a state of being that applies
    to an entity over a period time (think employment, marriage, etc. status if that is too abstract). 
    An identifier is based on the Law of Identity from formal logic “To be is to be something in particular” or “A is A” informally. There is no entity here! The Charge_Share_Status table should have the encoded values for a status and perhaps a description if
    they are unclear. If the list of values is clear, short and static, then use a CHECK() constraint. 
    On a scale from 1 to 10, what color is your favorite letter of the alphabet? Yes, this is literally that silly and wrong. 
    >> I understand what a CTE is; is there a better way to sum all children for a parent hierarchy? <<
    There are many ways to represent a tree or hierarchy in SQL.  This is called an adjacency list model and it looks like this:
    CREATE TABLE OrgChart 
    (emp_name CHAR(10) NOT NULL PRIMARY KEY, 
     boss_emp_name CHAR(10) REFERENCES OrgChart(emp_name), 
     salary_amt DECIMAL(6,2) DEFAULT 100.00 NOT NULL,
     << horrible cycle constraints >>);
    OrgChart 
    emp_name  boss_emp_name  salary_amt 
    ==============================
    'Albert'    NULL    1000.00
    'Bert'    'Albert'   900.00
    'Chuck'   'Albert'   900.00
    'Donna'   'Chuck'    800.00
    'Eddie'   'Chuck'    700.00
    'Fred'    'Chuck'    600.00
    This approach will wind up with really ugly code -- CTEs hiding recursive procedures, horrible cycle prevention code, etc.  The root of your problem is not knowing that rows are not records, that SQL uses sets and trying to fake pointer chains with some
    vague, magical non-relational "id".  
    This matches the way we did it in old file systems with pointer chains.  Non-RDBMS programmers are comfortable with it because it looks familiar -- it looks like records and not rows.  
    Another way of representing trees is to show them as nested sets. 
    Since SQL is a set oriented language, this is a better model than the usual adjacency list approach you see in most text books. Let us define a simple OrgChart table like this.
    CREATE TABLE OrgChart 
    (emp_name CHAR(10) NOT NULL PRIMARY KEY, 
     lft INTEGER NOT NULL UNIQUE CHECK (lft > 0), 
     rgt INTEGER NOT NULL UNIQUE CHECK (rgt > 1),
      CONSTRAINT order_okay CHECK (lft < rgt));
    OrgChart 
    emp_name         lft rgt 
    ======================
    'Albert'      1   12 
    'Bert'        2    3 
    'Chuck'       4   11 
    'Donna'       5    6 
    'Eddie'       7    8 
    'Fred'        9   10 
    The (lft, rgt) pairs are like tags in a mark-up language, or parens in algebra, BEGIN-END blocks in Algol-family programming languages, etc. -- they bracket a sub-set.  This is a set-oriented approach to trees in a set-oriented language. 
    The organizational chart would look like this as a directed graph:
                Albert (1, 12)
        Bert (2, 3)    Chuck (4, 11)
                       /    |   \
                     /      |     \
                   /        |       \
                 /          |         \
            Donna (5, 6) Eddie (7, 8) Fred (9, 10)
    The adjacency list table is denormalized in several ways. We are modeling both the Personnel and the Organizational chart in one table. But for the sake of saving space, pretend that the names are job titles and that we have another table which describes the
    Personnel that hold those positions.
    Another problem with the adjacency list model is that the boss_emp_name and employee columns are the same kind of thing (i.e. identifiers of personnel), and therefore should be shown in only one column in a normalized table.  To prove that this is not
    normalized, assume that "Chuck" changes his name to "Charles"; you have to change his name in both columns and several places. The defining characteristic of a normalized table is that you have one fact, one place, one time.
    The final problem is that the adjacency list model does not model subordination. Authority flows downhill in a hierarchy, but If I fire Chuck, I disconnect all of his subordinates from Albert. There are situations (i.e. water pipes) where this is true, but
    that is not the expected situation in this case.
    To show a tree as nested sets, replace the nodes with ovals, and then nest subordinate ovals inside each other. The root will be the largest oval and will contain every other node.  The leaf nodes will be the innermost ovals with nothing else inside them
    and the nesting will show the hierarchical relationship. The (lft, rgt) columns (I cannot use the reserved words LEFT and RIGHT in SQL) are what show the nesting. This is like XML, HTML or parentheses. 
    At this point, the boss_emp_name column is both redundant and denormalized, so it can be dropped. Also, note that the tree structure can be kept in one table and all the information about a node can be put in a second table and they can be joined on employee
    number for queries.
    To convert the graph into a nested sets model think of a little worm crawling along the tree. The worm starts at the top, the root, makes a complete trip around the tree. When he comes to a node, he puts a number in the cell on the side that he is visiting
    and increments his counter.  Each node will get two numbers, one of the right side and one for the left. Computer Science majors will recognize this as a modified preorder tree traversal algorithm. Finally, drop the unneeded OrgChart.boss_emp_name column
    which used to represent the edges of a graph.
    This has some predictable results that we can use for building queries.  The root is always (left = 1, right = 2 * (SELECT COUNT(*) FROM TreeTable)); leaf nodes always have (left + 1 = right); subtrees are defined by the BETWEEN predicate; etc. Here are
    two common queries which can be used to build others:
    1. An employee and all their Supervisors, no matter how deep the tree.
     SELECT O2.*
       FROM OrgChart AS O1, OrgChart AS O2
      WHERE O1.lft BETWEEN O2.lft AND O2.rgt
        AND O1.emp_name = :in_emp_name;
    2. The employee and all their subordinates. There is a nice symmetry here.
     SELECT O1.*
       FROM OrgChart AS O1, OrgChart AS O2
      WHERE O1.lft BETWEEN O2.lft AND O2.rgt
        AND O2.emp_name = :in_emp_name;
    3. Add a GROUP BY and aggregate functions to these basic queries and you have hierarchical reports. For example, the total salaries which each employee controls:
     SELECT O2.emp_name, SUM(S1.salary_amt)
       FROM OrgChart AS O1, OrgChart AS O2,
            Salaries AS S1
      WHERE O1.lft BETWEEN O2.lft AND O2.rgt
        AND S1.emp_name = O2.emp_name 
       GROUP BY O2.emp_name;
    4. To find the level and the size of the subtree rooted at each emp_name, so you can print the tree as an indented listing. 
    SELECT O1.emp_name, 
       SUM(CASE WHEN O2.lft BETWEEN O1.lft AND O1.rgt 
       THEN O2.sale_amt ELSE 0.00 END) AS sale_amt_tot,
       SUM(CASE WHEN O2.lft BETWEEN O1.lft AND O1.rgt 
       THEN 1 ELSE 0 END) AS subtree_size,
       SUM(CASE WHEN O1.lft BETWEEN O2.lft AND O2.rgt
       THEN 1 ELSE 0 END) AS lvl
      FROM OrgChart AS O1, OrgChart AS O2
     GROUP BY O1.emp_name;
    5. The nested set model has an implied ordering of siblings which the adjacency list model does not. To insert a new node, G1, under part G.  We can insert one node at a time like this:
    BEGIN ATOMIC
    DECLARE rightmost_spread INTEGER;
    SET rightmost_spread 
        = (SELECT rgt 
             FROM Frammis 
            WHERE part = 'G');
    UPDATE Frammis
       SET lft = CASE WHEN lft > rightmost_spread
                      THEN lft + 2
                      ELSE lft END,
           rgt = CASE WHEN rgt >= rightmost_spread
                      THEN rgt + 2
                      ELSE rgt END
     WHERE rgt >= rightmost_spread;
     INSERT INTO Frammis (part, lft, rgt)
     VALUES ('G1', rightmost_spread, (rightmost_spread + 1));
     COMMIT WORK;
    END;
    The idea is to spread the (lft, rgt) numbers after the youngest child of the parent, G in this case, over by two to make room for the new addition, G1.  This procedure will add the new node to the rightmost child position, which helps to preserve the idea
    of an age order among the siblings.
    6. To convert a nested sets model into an adjacency list model:
    SELECT B.emp_name AS boss_emp_name, E.emp_name
      FROM OrgChart AS E
           LEFT OUTER JOIN
           OrgChart AS B
           ON B.lft
              = (SELECT MAX(lft)
                   FROM OrgChart AS S
                  WHERE E.lft > S.lft
                    AND E.lft < S.rgt);
    7. To find the immediate parent of a node: 
    SELECT MAX(P2.lft), MIN(P2.rgt)
      FROM Personnel AS P1, Personnel AS P2
     WHERE P1.lft BETWEEN P2.lft AND P2.rgt 
       AND P1.emp_name = @my_emp_name;
    I have a book on TREES & HIERARCHIES IN SQL which you can get at Amazon.com right now. It has a lot of other programming idioms for nested sets, like levels, structural comparisons, re-arrangement procedures, etc. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Insert data in two separate columns

    is it possible that I run query A and output it in the first column of my_table and a separate query B on the second column of my_table? I have not been able to achieve this so far...

    First can you relate the rows returned by query 1 to rows return by query2 ??
    Both the queries return the same number of rows ?? or you can determine the super set of two
    If yes then you can insert super set query first and then update the other column with rows returned by other query
    There may other better alternatives !
    SQL>drop table my_table;
    Table dropped.
    SQL>create table my_table(col1 number,col2 number);
    Table created.
    SQL>insert into my_table(col1) select rownum*2 from all_objects where rownum<10;
    9 rows created.
    SQL>update my_table set col2 = (select r*3 from (select rownum r from user_objects where rownum<10) where col1=r*2)
      2  /
    9 rows updated.
    SQL>select * from my_table;
          COL1       COL2
             2          3
             4          6
             6          9
             8         12
            10         15
            12         18
            14         21
            16         24
            18         27
    9 rows selected.
    SQL>Aravind

  • SharePoint 2010 Slow query duration when setting metadata on folder

    I'm getting "Slow Query Duration" when I programmatically set a default value for a default field to apply to documents at a specified location on a SP 2010 library.
    It has nothing to do with performance most probably as I'm getting this working with a folder within a library with only a 1 document on a UAT environment. Front-end: AMD Opteron 6174 2.20GHz x 2 + 8gb RAM, Back-end: AMD Opteron 6174 2.20GHz x 2 + 16gb
    RAM.
    The specific line of code causing this is:
    folderMetadata.SetFieldDefault(createdFolder, fieldData.Field.InternalName, thisFieldTextValue);
    What SP says:
    02/17/2014 16:29:03.24 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa42 Monitorable A large block of literal text was sent to sql. This can result in blocking in sql and excessive memory use on the front end. Verify that no binary parameters are
    being passed as literals, and consider breaking up batches into smaller components. If this request is for a SharePoint list or list item, you may be able to resolve this by reducing the number of fields.
    02/17/2014 16:29:03.24 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa43 High Slow Query Duration: 254.705556153086
    02/17/2014 16:29:03.26 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High Slow Query StackTrace-Managed: at Microsoft.SharePoint.Utilities.SqlSession.OnPostExecuteCommand(SqlCommand command, SqlQueryData monitoringData) at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
    command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String
    bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int32 cbFile, Object punkFFM, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Obje...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...ct varProperties, String bstrCheckinComment, Byte partitionToCheck, Int64 fragmentIdToCheck, String bstrCsvPartitionsToDelete, String bstrLockIdMatch, String bstEtagToMatch,
    Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields, Guid gNewDocId, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps) at Microsoft.SharePoint.Library.SPRequest.PutFile(String
    bstrUrl, String bstrWebRelativeUrl, Object punkFile, Int32 cbFile, Object punkFFM, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties,
    String bstrCheckinComment, Byte partitionToCheck, Int64 fragmentIdToCheck...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ..., String bstrCsvPartitionsToDelete, String bstrLockIdMatch, String bstEtagToMatch, Int32 lockType, String lockId, Int32 minutes, Int32 fRefreshLock, Int32 bValidateReqFields,
    Guid gNewDocId, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage, String& pEtagReturn, Byte& piLevel, Int32& pbIgnoredReqProps) at Microsoft.SharePoint.SPFile.SaveBinaryStreamInternal(Stream file, String checkInComment, Boolean checkRequiredFields,
    Boolean autoCheckoutOnInvalidData, Boolean bIsMigrate, Boolean bIsPublish, Boolean bForceCreateVersion, String lockIdMatch, SPUser modifiedBy, DateTime timeLastModified, Object varProperties, SPFileFragmentPartition partitionToCheck, SPFileFragmentId fragmentIdToCheck,
    SPFileFragmentPartition[] partitionsToDelete, Stream formatMetadata, String etagToMatch, Boolea...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...n bSyncUpdate, SPLockType lockType, String lockId, TimeSpan lockTimeout, Boolean refreshLock, Boolean requireWebFilePermissions, Boolean failIfRequiredCheckout, Boolean
    validateReqFields, Guid newDocId, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage, String& etagReturn, Boolean& ignoredRequiredProps) at Microsoft.SharePoint.SPFile.SaveBinary(Stream file, Boolean checkRequiredFields, Boolean
    createVersion, String etagMatch, String lockIdMatch, Stream fileFormatMetaInfo, Boolean requireWebFilePermissions, String& etagNew) at Microsoft.SharePoint.SPFile.SaveBinary(Byte[] file) at Microsoft.Office.DocumentManagement.MetadataDefaults.Update()
    at TWINSWCFAPI.LibraryManager.CreatePathFromFolderCollection(String fullPathUrl, SPListItem item, SPWeb web, Dictionary2...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ... folderToCreate, Boolean setDefaultValues, Boolean mainFolder) at TWINSWCFAPI.LibraryManager.CreatePathFromFolderCollection(String fullPathUrl, List1 resultDataList,
    SPListItem item, SPWeb web, Boolean setDefaultValues, Boolean mainFolder) at TWINSWCFAPI.LibraryManager.CreateExtraFolders(List1
    pathResultDataList, List1 resultDataList, String fullPathUrl, SPWeb web, SPListItem item, Boolean setDefaultValues) at TWINSWCFAPI.LibraryManager.CreateFolders(SPWeb web, List1
    pathResultDataList, SPListItem item, String path, Boolean setDefaultValues) at TWINSWCFAPI.LibraryManager.MoveFileAfterMetaChange(SPListItem item) at TWINSWCFAPI.DocMetadataChangeEventReceiver.DocMetadataChangeEventReceiver.FileDocument(SPWeb web, SPListItem
    listItem) at TWINSWCFAPI.DocMetadataChang...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...eEventReceiver.DocMetadataChangeEventReceiver.ItemCheckedIn(SPItemEventProperties properties) at Microsoft.SharePoint.SPEventManager.RunItemEventReceiver(SPItemEventReceiver
    receiver, SPUserCodeInfo userCodeInfo, SPItemEventProperties properties, SPEventContext context, String receiverData) at Microsoft.SharePoint.SPEventManager.RunItemEventReceiverHelper(Object receiver, SPUserCodeInfo userCodeInfo, Object properties, SPEventContext
    context, String receiverData) at Microsoft.SharePoint.SPEventManager.<>c__DisplayClassc1.b__6() at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](SPUserToken
    userToken, Gu...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...id tranLockerId, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.InvokeEventReceivers[ReceiverType](Byte[]
    userTokenBytes, Guid tranLockerId, RunEventReceiver runEventReceiver, Object receivers, Object properties, Boolean checkCancel) at Microsoft.SharePoint.SPEventManager.HandleEventCallback[ReceiverType,PropertiesType](Object callbackData) at Microsoft.SharePoint.Utilities.SPThreadPool.WaitCallbackWrapper(Object
    state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.Run(ExecutionContext
    execu...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database fa44 High ...tionContext, ContextCallback callback, Object state) at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
    02/17/2014 16:29:03.26 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzku High ConnectionString: 'Data Source=PFC-SQLUAT-202;Initial Catalog=TWINSDMS_LondonDivision_Content;Integrated Security=True;Enlist=False;Asynchronous Processing=False;Connect
    Timeout=15' ConnectionState: Open ConnectionTimeout: 15
    02/17/2014 16:29:03.26 w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High SqlCommand: 'DECLARE @@iRet int;BEGIN TRAN EXEC @@iRet = proc_WriteChunkToAllDocStreams @wssp0, @wssp1, @wssp2, @wssp3, @wssp4, @wssp5, @wssp6;IF @@iRet <> 0 GOTO
    done; DECLARE @@S uniqueidentifier; DECLARE @@W uniqueidentifier; DECLARE @@DocId uniqueidentifier; DECLARE @@DoclibRowId int; DECLARE @@Level tinyint; DECLARE @@DocUIVersion int;DECLARE @@IsCurrentVersion bit; DECLARE @DN nvarchar(256); DECLARE @LN nvarchar(128);
    DECLARE @FU nvarchar(260); SET @DN=@wssp7;SET @@iRet=0; ;SET @LN=@wssp8;SET @FU=@wssp9;SET @@S=@wssp10;SET @@W=@wssp11;SET @@DocUIVersion = 512;IF @@iRet <> 0 GOTO done; ;SET @@Level =@wssp12; EXEC @@iRet = proc_UpdateDocument @@S, @@W, @DN, @LN, @wssp13,
    @wssp14, @wssp15, @wssp16, @wssp17, @wssp18, @wssp19, @wssp20, @wssp21, @wssp22, @wssp23, @wssp24, @wssp25, @wssp26,...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High ... @wssp27, @wssp28, @wssp29, @wssp30, @wssp31, @wssp32, @wssp33, @wssp34, @wssp35, @wssp36, @wssp37, @wssp38, @wssp39, @wssp40, @wssp41, @wssp42, @wssp43, @wssp44, @wssp45,
    @wssp46, @wssp47, @wssp48, @wssp49, @wssp50, @wssp51, @@DocId OUTPUT, @@Level OUTPUT , @@DoclibRowId OUTPUT,@wssp52 OUTPUT,@wssp53 OUTPUT,@wssp54 OUTPUT,@wssp55 OUTPUT ; IF @@iRet <> 0 GOTO done; EXEC @@iRet = proc_TransferStream @@S, @@DocId, @@Level,
    @wssp56, @wssp57, @wssp58; IF @@iRet <> 0 GOTO done; EXEC proc_AL @@S,@DN,@LN,@@Level,0,N'London/Broking/Documents/E/E _ E Foods Corporation',N'2012',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,1,N'London/Broking/Documents/E',N'E _ E Foods Corporation',72,85,83,1,N'';EXEC
    proc_AL @@S,@DN,@LN,@@Level,2,N'London/Broking/Documents/E/E _ E Foods Corporation',N'2013',72,85,...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High ...83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,3,N'London/Broking/Documents/E/E _ E Foods Corporation/2013',N'QA11G029601',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,4,N'London/Broking/Documents/K',N'Konig
    _ Reeker',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,5,N'London/Broking/Documents/K/Konig _ Reeker',N'2012',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,6,N'London/Broking/Documents/K/Konig _ Reeker/2012',N'QA12E013201',72,85,83,1,N'';EXEC proc_AL
    @@S,@DN,@LN,@@Level,7,N'London/Broking/Documents/K/Konig _ Reeker/2012',N'A12EL00790',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,8,N'London/Broking/Documents/K/Konig _ Reeker/2012',N'A12DA00720',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,9,N'London/Broking/Documents/K/Konig
    _ Reeker/2012',N'A12DC00800',72,85,83,1,N'';EXEC proc...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High ..._AL @@S,@DN,@LN,@@Level,10,N'London/Broking/Documents/A',N'Ace European Group Limited',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,11,N'London/Broking/Documents/A/Ace
    European Group Limited',N'2012',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,12,N'London/Broking/Documents/A/Ace European Group Limited/2012',N'JXB88435',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,13,N'London/Broking/Documents/A/Ace European Group
    Limited/2012/JXB88435/Closings',N'PRM 1',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,14,N'London/Broking/Documents/A/Ace European Group Limited/2012/JXB88435/Closings',N'PRM 2',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,15,N'London/Broking/Documents/C',N'C
    Moore-Gordon',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,16,N'London/Broking/Documents/C/C Moore-Gordo...
    02/17/2014 16:29:03.26* w3wp.exe (0x10D0) 0x0DB0 SharePoint Foundation Database tzkv High ...n',N'2012',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,17,N'London/Broking/Documents/C/C Moore-Gordon/2012',N'QY13P700201',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,18,N'London/Broking/Documents/C/C
    Moore-Gordon',N'2013',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,19,N'London/Broking/Documents/C/C Moore-Gordon/2013',N'Y13PF07010',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,20,N'London/Broking/Documents/A/Ace European Group Limited/2012/JXB88435/Closings',N'ARP
    7',72,85,83,1,N'';EXEC proc_AL @@S,@DN,@LN,@@Level,21,N'London/Broking/Documents/A/Ace European Group Limited/2012/JXB88435/Closings',N'ARP 8',72,85,83,1,N'';EXEC proc_AL . . .
    Thanks in advance A

    SharePoint and SQL Server installed on same server or how is the setup?
    i would start to enable the developer dashboard, analyze the report of the developer dashboard...
    you will see if any webpart, or page or sql server query taking too much time.
    http://www.sharepoint-journey.com/developer-dashboard-in-sharepoint-2013.html
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Yosemite on 13" MBP(Mid 2012) running super slow on standard configuration. Is there a rock solid way that I can make it fast? or Yosemite is designed to work only on PCIe SSDs with 16GB RAM? Missing Steve Jobs :(

    My 13" MBP MD 101 / A1278 / 9,2 / Mid 2012 is still in production and it is performing like a windows pc; super slow after updating it to Yosemite.I can't afford to upgrade its HDD to SSD and 4GB RAM to 16GB.
    Tried everything found on internet, nothing got successful in making it fast as it was once with mountain lion. I hope I could have Yosemite's features and leopard's responsiveness and stability.
    I think Apple guys have designed Yosemite only for SSDs only. They should design OS X according to every mac's different hardware, like if I have a spinning old hard drive it should mould itself to the capabilities of it and not demand responsiveness of an SSD.
    Please do let me know if anyone have brilliant new idea other than found on the internet.
    Problem description:
    My MBP acting like a windows pc; running really very slow after Yosemite update
    EtreCheck version: 2.1.8 (121)
    Report generated 13 March 2015 4:50:42 am GMT+5
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,2
        1 2.5 GHz Intel Core i5 CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 611
    Video Information: ℹ️
        Intel HD Graphics 4000
            Color LCD 1280 x 800
    System Software: ℹ️
        OS X 10.10.2 (14C1510) - Time since boot: 1:8:8
    Disk Information: ℹ️
        APPLE HDD HTS547550A9E384 disk0 : (500.11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 498.88 GB (94.57 GB free)
                Core Storage: disk0s2 499.25 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. FaceTime HD Camera (Built-in)
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/MacX Video Converter Pro.app
        [not loaded]    com.digiarty.driver.goodSysAudioCapture (1 - SDK 10.8) [Click for support]
            /Applications/Parallels Desktop.app
        [not loaded]    com.parallels.kext.hypervisor (10.1.1 28614 - SDK 10.7) [Click for support]
        [not loaded]    com.parallels.kext.netbridge (10.1.1 28614 - SDK 10.7) [Click for support]
        [not loaded]    com.parallels.kext.usbconnect (10.1.1 28614 - SDK 10.7) [Click for support]
        [not loaded]    com.parallels.kext.vnic (10.1.1 28614 - SDK 10.7) [Click for support]
            /Applications/Tunnelblick.app
        [not loaded]    net.tunnelblick.tap (1.0) [Click for support]
        [not loaded]    net.tunnelblick.tun (1.0) [Click for support]
            /Library/Extensions
        [not loaded]    com.equinux.VPNTracker7 (7.0.0 - SDK 10.8) [Click for support]
        [not loaded]    com.sony.filesystems.pdudf (5.02.0d002 - SDK 10.6) [Click for support]
        [not loaded]    com.sony.filesystems.pdudfr (5.02.0d002 - SDK 10.6) [Click for support]
        [loaded]    com.sony.scsi.PDW-U1 (5.02.0d002 - SDK 10.6) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.wdc.driver.1394HP (1.0.11 - SDK 10.4) [Click for support]
        [not loaded]    com.wdc.driver.1394_64HP (1.0.1 - SDK 10.6) [Click for support]
        [not loaded]    com.wdc.driver.USBHP (1.0.11) [Click for support]
        [not loaded]    com.wdc.driver.USB_64HP (1.0.0 - SDK 10.6) [Click for support]
            /Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
        [not loaded]    com.roxio.TDIXController (2.0) [Click for support]
    Startup Items: ℹ️
        MobileBrServ: Path: /Library/StartupItems/MobileBrServ
        Startup items are obsolete in OS X Yosemite
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.BezelUI.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.EscrowSecurityAlert.plist
        [killed]    com.apple.Maps.pushdaemon.plist
        [killed]    com.apple.SafariNotificationAgent.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        [killed]    com.apple.xpc.loginitemregisterd.plist
        [running]    com.paragon.NTFS.notify.plist [Click for support]
        14 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.corestorage.corestoragehelperd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.icloud.findmydeviced.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.spindump.plist
        [killed]    com.apple.systemstats.analysis.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    com.apple.xpc.smd.plist
        11 processes killed due to memory pressure
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.divx.dms.agent.plist [Click for support]
        [loaded]    com.divx.update.agent.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [loaded]    com.paragon.updater.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_desktop.plist [Click for support]
    Launch Daemons: ℹ️
        [failed]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.equinux.VPNTracker7.agent.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    com.paragon.ntfs12.refresh.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_service.plist [Click for support]
        [loaded]    com.tunnelbear.mac.tbeard.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.BlueStacks.AppPlayer.LogRotator.plist [Click for support]
        [loaded]    com.BlueStacks.AppPlayer.Service.plist [Click for support]
        [loaded]    com.BlueStacks.AppPlayer.UninstallAgent.plist [Click for support]
        [loaded]    com.BlueStacks.AppPlayer.UpdaterAgent.plist [Click for support]
        [loaded]    com.facebook.videochat.[redacted].plist [Click for support]
        [loaded]    net.tunnelblick.tunnelblick.LaunchAtLogin.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        InfiniteHD    Application  (/Users/[redacted]/Library/Octoshape/InfiniteHD.app)
        XDMSetupHelper    Application  (/Library/Application Support/XDCAM Drive/Helpers/XDMSetupHelper.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        OVSHelper: Version: 1.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        DivX Web Player: Version: 3.2.4.1250 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        PepperFlashPlayer: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        iPhotoPhotocast: Version: 7.0
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.1.3 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
    User internet Plug-ins: ℹ️
        BlueStacks Install Detector: Version: 0.3.6 - SDK 10.7 [Click for support]
        OctoshapeWeb: Version: 1.0 - SDK 10.8 [Click for support]
    Safari Extensions: ℹ️
        Open in Internet Explorer
    Audio Plug-ins: ℹ️
        DVCPROHDAudio: Version: 1.3.2
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Java  [Click for support]
        Paragon NTFS for Mac ® OS X  [Click for support]
        Perian  [Click for support]
        XDCAM Drive Monitor  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            13%    Google Chrome
             5%    WindowServer
             2%    coreaudiod
             1%    Activity Monitor
             1%    sysmond
    Top Processes by Memory: ℹ️
        164 MB    Google Chrome
        26 MB    Google Chrome Helper
        21 MB    WindowServer
        21 MB    System Events
        17 MB    VLC
    Virtual Memory Information: ℹ️
        153 MB    Free RAM
        1.05 GB    Active RAM
        1.05 GB    Inactive RAM
        835 MB    Wired RAM
        5.13 GB    Page-ins
        250 MB    Page-outs
    Diagnostics Information: ℹ️
        Mar 13, 2015, 04:25:03 AM    /Library/Logs/DiagnosticReports/Finder_2015-03-13-042503_[redacted].cpu_resourc e.diag [Click for details]
        Mar 13, 2015, 03:33:34 AM    Self test - passed
        Mar 12, 2015, 10:42:57 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Google Chrome_2015-03-12-224257_[redacted].crash
        Mar 12, 2015, 02:29:49 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Google Chrome_2015-03-12-142949_[redacted].crash
    Thanks!

    Sorry for the delay, here are the results. I don't think there is any critical information.
    Start time: 02:37:18 03/20/15
    Revision: 1290
    Model Identifier: MacBookPro9,2
    System Version: OS X 10.10.2 (14C1510)
    Kernel Version: Darwin 14.1.0
    Time since boot: 4:13
    UID: 501
    Activity
        en1: in 222, out 7 (KiB/s)
    I/O requests (KiB/s)
        coresymbolicati (UID 0): 15084
        kernel_task (UID 0): 4112
    Energy (lifetime)
        Google Chrome Helper (UID 501): 12.91
    Energy (sampled)
        kernel_task (UID 0): 14.50
        storedownloadd (UID 501): 9.77
        WindowServer (UID 88): 6.85
    Font issues: 4
    Firewall: On
    Diagnostic reports
        2015-03-09 Adobe Premiere Pro CS6 hang x2
        2015-03-14 CalendarAgent crash
        2015-03-14 Google Chrome crash x2
        2015-03-14 cider crash x2
        2015-03-14 cloudd crash
        2015-03-16 garcon crash x2
        2015-03-17 garcon crash
        2015-03-19 Safari hang
    HID errors: 209
    Shutdown codes
        -60 4
        -62 2
    Kernel log
        Mar 14 00:58:53 utun_start: ifnet_disable_output returned error 12
        Mar 14 08:40:28 utun_start: ifnet_disable_output returned error 12
        Mar 15 03:44:54 Failed to open the file
        Mar 16 08:48:51 ARPT: 104931.993359: MacAuthEvent en1   Auth result for: bc:98:89:51:d2:a9 Auth timed out
        Mar 16 08:48:52 ARPT: 104933.756283: MacAuthEvent en1   Auth result for: bc:98:89:51:d2:a9 Auth timed out
        Mar 16 08:48:53 ARPT: 104934.356521: MacAuthEvent en1   Auth result for: bc:98:89:51:d2:a9 Auth timed out
        Mar 16 11:06:49 ARPT: 112055.047262: directed SSID scan fail
        Mar 17 03:45:47 Sleep failure code 0x00000000 0x1f006500
        Mar 17 04:01:34 utun_start: ifnet_disable_output returned error 12
        Mar 17 13:11:57 Sleep failure code 0x00000000 0x1f006500
        Mar 17 13:12:44 utun_start: ifnet_disable_output returned error 12
        Mar 17 13:23:44 utun_start: ifnet_disable_output returned error 12
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:37 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 18 09:59:27 utun_start: ifnet_disable_output returned error 12
        Mar 19 10:37:51 utun_start: ifnet_disable_output returned error 12
        Mar 19 10:59:28 PM notification timeout (pid 415, Safari)
        Mar 19 10:59:58 PM notification timeout (pid 415, Safari)
    System log
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaNoneSkipFirst; 896 bytes/row.
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaNoneSkipFirst; 2048 bytes/row.
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaNoneSkipFirst; 2048 bytes/row.
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaPremultipliedFirst; 64 bytes/row.
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaPremultipliedFirst; 64 bytes/row.
        Mar 20 00:47:30 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaPremultipliedFirst; 64 bytes/row.
        Mar 20 00:47:30 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaPremultipliedFirst; 64 bytes/row.
        Mar 20 00:52:02 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "System Preferences" for over 1.00 seconds. Server has re-enabled them.
        Mar 20 00:53:20 WindowServer: WSGetSurfaceInWindow : Invalid surface 1086387412 for window 218
        Mar 20 00:54:31 com.apple.usbmuxd: LOCKDOWN_V2_BONJOUR_SERVICE_NAME is _apple-mobdev2._tcp,8dc207de
        Mar 20 00:54:58 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Spotlight" for over 1.00 seconds. Server has re-enabled them.
        Mar 20 00:55:02 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Spotlight" for over 1.00 seconds. Server has re-enabled them.
        Mar 20 01:46:08 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:08 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:20 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:20 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:22 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:22 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:50:50 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:50:50 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:51:34 Google Chrome Helper: CGAffineTransformInvert: singular matrix.
        Mar 20 01:51:34 Google Chrome Helper: CGAffineTransformInvert: singular matrix.
        Mar 20 01:51:53 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:51:53 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 02:37:46 dtrace: Invalid connection: com.apple.coresymbolicationd
    launchd log
        Mar 19 11:45:37 com.BlueStacks.AppPlayer.UninstallAgent: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 11:45:37 com.BlueStacks.AppPlayer.LogRotator: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 13:16:13 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.202, service = com.shazam.mac.ShazamHelper, error = 119: Service is disabled
        Mar 19 13:16:13 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.202, service = com.fiplab.BatteryHealthHelper, error = 119: Service is disabled
        Mar 19 13:16:20 com.apple.xpc.launchd.domain.pid.fmfd.253: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:22 com.apple.xpc.launchd.domain.pid.SocialPushAgent.267: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:22 com.apple.xpc.launchd.domain.pid.syncdefaultsd.262: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:23 com.apple.xpc.launchd.domain.pid.NotificationCenter.273: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:23 com.apple.xpc.launchd.domain.pid.om.apple.photostream-agent.282: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:23 com.apple.xpc.launchd.domain.pid.storeaccountd.310: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:26 com.apple.xpc.launchd.domain.pid.SafariDAVClient.303: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:37 com.BlueStacks.AppPlayer.UninstallAgent: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 13:16:37 com.BlueStacks.AppPlayer.LogRotator: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 13:17:15 com.apple.xpc.launchd.domain.pid.SafariDAVClient.372: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:22:29 com.apple.xpc.launchd.domain.pid.bird.221: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:46:31 com.apple.xpc.launchd.domain.pid.syncdefaultsd.466: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 14:21:13 com.apple.xpc.launchd.domain.pid.syncdefaultsd.543: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 18:47:20 com.apple.xpc.launchd.domain.pid.syncdefaultsd.1029: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 22:14:50 com.apple.xpc.launchd.domain.pid.syncdefaultsd.1418: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 22:21:12 : Error reading cache: 2: No such file or directory
        Mar 19 22:25:54 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.206, service = com.shazam.mac.ShazamHelper, error = 119: Service is disabled
        Mar 19 22:25:54 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.206, service = com.freemacsoft.AppCleaner-Helper, error = 119: Service is disabled
        Mar 19 22:25:54 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.206, service = com.fiplab.BatteryHealthHelper, error = 119: Service is disabled
        Mar 19 22:26:16 com.BlueStacks.AppPlayer.LogRotator: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 22:26:16 com.BlueStacks.AppPlayer.UninstallAgent: Interval spawn of service failed: 139: Service cannot presently execute
    Console log
        Mar 19 11:44:21 fontd: Failed to open read-only database, regenerating DB
    Loaded kernel extensions
        com.sony.scsi.PDW-U1 (5.02.0d002)
    System services loaded
        com.adobe.SwitchBoard
        com.adobe.fpsaud
        com.apple.watchdogd
        com.equinux.VPNTracker7.agent
        com.google.keystone.daemon
        com.microsoft.office.licensing.helper
        com.oracle.java.Helper-Tool
        com.oracle.java.JavaUpdateHelper
        com.paragon.ntfs12.refresh
        com.tunnelbear.mac.tbeard
    System services disabled
        com.openssh.sshd
        com.apple.mrt
    Login services loaded
        com.BlueStacks.AppPlayer.LogRotator
        - status: 78
        com.BlueStacks.AppPlayer.Service
        com.BlueStacks.AppPlayer.UninstallAgent
        - status: 78
        com.BlueStacks.AppPlayer.UpdaterAgent
        - status: 78
        com.adobe.AAM.Scheduler-1.0
        com.adobe.ARM.UUID
        com.apple.mrt.uiagent
        com.divx.dms.agent
        com.divx.update.agent
        com.facebook.videochat.NAME.updater
        com.fiplab.MemoryCleanHelper
        com.google.keystone.system.agent
        com.oracle.java.Java-Updater
        com.paragon.ntfs.trial
        com.paragon.updater
        net.tunnelblick.tunnelblick.LaunchAtLogin
        - status: 78
    Login services disabled
        com.adobe.AdobeCreativeCloud
    User services disabled
        com.adobe.AdobeCreativeCloud
    Startup items
        /Library/StartupItems/MobileBrServ/mbbservice
        /Library/StartupItems/MobileBrServ/mbbserviceopen.app/Contents/Info.plist
        /Library/StartupItems/MobileBrServ/mbbserviceopen.app/Contents/MacOS/mbbservice open
        /Library/StartupItems/MobileBrServ/MobileBrServ
        /Library/StartupItems/MobileBrServ/runmbbserviceopen
        /Library/StartupItems/MobileBrServ/StartupParameters.plist
        /Library/StartupItems/MobileBrServ/Uninstall.app/Contents/Info.plist
        /Library/StartupItems/MobileBrServ/Uninstall.app/Contents/MacOS/applet
    Global login items
        /Library/Application Support/XDCAM Drive/Helpers/XDMSetupHelper.app
    User login items
        iTunesHelper
        - /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app
        InfiniteHD
        - /Users/USER/Library/Octoshape/InfiniteHD.app
        XDMSetupHelper
        - /Library/Application Support/XDCAM Drive/Helpers/XDMSetupHelper.app
    Firefox extensions
        Screengrab  (fix version)
        ZenMate Security & Privacy VPN
    Widgets
        wfcc
    iCloud errors
        bird 829
        cloudd 164
        Automator 24
        accountsd 2
        CallHistorySyncHelper 1
    Continuity errors
        sharingd 51
        lsuseractivityd 25
        Google Chrome 13
    User caches/logs
        1.8 GiB: /var/folders/jy/7r31rvr17dl9cdw_4sqhvg800000gn/T/../C/com.apple.appstore/915041 082/wct8079783343594854923.pkg
    Restricted files: 10
    Lockfiles: 24
    Accessibility
        Keyboard Zoom: On
        Scroll Zoom: On
    Contents of /Library/LaunchAgents/com.divx.dms.agent.plist
        - mod date: Nov 17 13:11:48 2014
        - checksum: 637650676
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.divx.dms.agent</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/DivX/DivXMediaServer.app/Contents/MacOS/DivXMediaServer</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.divx.update.agent.plist
        - mod date: May 20 02:24:29 2014
        - checksum: 3867571547
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.divx.update.agent</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/DivX/DivXUpdate.app/Contents/MacOS/DivXUpdate</string>
        <string>/silent</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>10800</integer>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
        - mod date: Apr  5 15:58:39 2013
        - checksum: 3344678577
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.oracle.java.Java-Updater</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
        <string>-bgcheck</string>
        </array>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        <key>StartCalendarInterval</key>
        <dict>
        <key>Hour</key>
        <integer>0</integer>
        <key>Minute</key>
        <integer>57</integer>
        <key>Weekday</key>
        <integer>2</integer>
        </dict>
        </dict>
        ...and 1 more line(s)
    Contents of /Library/LaunchAgents/com.paragon.updater.plist
        - mod date: Oct 31 19:52:50 2014
        - checksum: 962844124
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>StartInterval</key>
        <integer>86400</integer>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/Paragon Updater/Paragon Updater.app/Contents/MacOS/Paragon Updater</string>
        <string>--check</string>
        <string>--delay=30</string>
        </array>
        <key>Label</key>
        <string>com.paragon.updater</string>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.teamviewer.teamviewer.plist
        - mod date: Aug  8 11:34:37 2014
        - checksum: 1602219417
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.teamviewer.teamviewer</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/TeamViewer.app/Contents/MacOS/TeamViewer</string>
        <string>-RunAsAgent</string>
        <string>YES</string>
        </array>
        <key>WorkingDirectory</key>
        <string>/Applications/TeamViewer.app/Contents/MacOS/</string>
        <key>RunAtLoad</key>
        <true/>
        <key>KeepAlive</key>
        <true/>
        <key>Disabled</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
        - mod date: Aug 22 19:30:07 2014
        - checksum: 2466887275
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.teamviewer.desktop</string>
        <key>LimitLoadToSessionType</key>
        <array>
        <string>LoginWindow</string>
        <string>Aqua</string>
        </array>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/TeamViewer.app/Contents/Helpers/TeamViewer_Desktop</strin g>
        <string>-RunAsAgent</string>
        <string>YES</string>
        <string>-Module</string>
        <string>Full</string>
        </array>
        <key>WorkingDirectory</key>
        <string>/Applications/TeamViewer.app/Contents/Helpers/</string>
        <key>RunAtLoad</key>
        <true/>
        <key>KeepAlive</key>
        <true/>
        ...and 4 more line(s)
    Contents of /Library/LaunchDaemons/com.apple.qmaster.qmasterd.plist
        - mod date: Aug 26 06:24:23 2010
        - checksum: 681742547
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.qmaster.qmasterd</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/sbin/qmasterd</string>
        </array>
        <key>OnDemand</key>
        <false/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.equinux.VPNTracker7.agent.plist
        - mod date: May 28 18:56:00 2014
        - checksum: 294513792
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>EnvironmentVariables</key>
        <dict/>
        <key>Label</key>
        <string>com.equinux.VPNTracker7.agent</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.equinux.VPNTracker7.agent</string>
        </array>
        <key>ServiceIPC</key>
        <true/>
        <key>Sockets</key>
        <dict>
        <key>IPCSocket</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
        <key>SockPathName</key>
        <string>/var/run/com.equinux.VPNTracker7.agent.socket</string>
        <key>SockType</key>
        ...and 5 more line(s)
    Contents of /Library/LaunchDaemons/com.paragon.ntfs12.refresh.plist
        - mod date: Jan  2 02:52:40 2015
        - checksum: 3946840225
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <!-- This file is NOT provided by Paragon Software -->
        <dict>
            <key>Label</key>
            <string>com.paragon.ntfs12.refresh</string>
            <key>ProgramArguments</key>
            <array>
                <string>/Library/Application Support/Paragon Software/ntfs12refresh.sh</string>
            </array>
            <key>RunAtLoad</key>
            <true/>
            <key>StartInterval</key>
            <integer>604800</integer>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.teamviewer.teamviewer_service.plist
        - mod date: Aug  8 11:34:37 2014
        - checksum: 2586050363
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.teamviewer.service</string>
        <key>KeepAlive</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/TeamViewer.app/Contents/MacOS/TeamViewer_Service</string>
        <string>-Module</string>
        <string>Full</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>WorkingDirectory</key>
        <string>/Applications/TeamViewer.app/Contents/MacOS</string>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.tunnelbear.mac.tbeard.plist
        - mod date: Jul 12 04:24:27 2014
        - checksum: 960441644
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.tunnelbear.mac.tbeard</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.tunnelbear.mac.tbeard</string>
        </array>
        <key>Sockets</key>
        <dict>
        <key>MasterSocket</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
        <key>SockPathName</key>
        <string>/var/run/com.tunnelbear.mac.tbeard.socket</string>
        <key>SockType</key>
        <string>Stream</string>
        </dict>
        </dict>
        </dict>
        ...and 1 more line(s)
    Contents of /System/Library/LaunchAgents/com.paragon.NTFS.notify.plist
        - mod date: Oct 31 19:53:00 2014
        - checksum: 3292335405
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.paragon.ntfs.trial</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PreferencePanes/NTFSforMacOSX.prefPane/Contents/MacOS/notifica tor</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.BlueStacks.AppPlayer.LogRotator.plist
        - mod date: Nov 27 08:17:10 2014
        - checksum: 1253472770
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
            "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
          <dict>
            <key>Label</key>
            <string>com.BlueStacks.AppPlayer.LogRotator</string>
            <key>ProgramArguments</key>
            <array>
              <string>/Users/USER/Library/BlueStacks App Player/Runtime/uHD-LogRotator</string>
            </array>
            <key>StandardInPath</key>
            <string>/dev/null</string>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>StandardErrorPath</key>
            <string>/dev/null</string>
            <key>StartInterval</key>
            <integer>15</integer>
            <key>RunAtLoad</key>
            <true/>
          </dict>
        </plist>
    Contents of Library/LaunchAgents/com.BlueStacks.AppPlayer.Service.plist
        - mod date: Nov 27 08:17:08 2014
        - checksum: 836378979
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
            "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
          <dict>
            <key>Label</key>
            <string>com.BlueStacks.AppPlayer.Service</string>
            <key>ProgramArguments</key>
            <array>
              <string>/Users/USER/Library/BlueStacks App Player/Runtime/uHD-Kal</string>
            </array>
            <key>StandardInPath</key>
            <string>/dev/null</string>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>StandardErrorPath</key>
            <string>/dev/null</string>
            <key>RunAtLoad</key>
            <false/>
          </dict>
        </plist>
    Contents of Library/LaunchAgents/com.BlueStacks.AppPlayer.UninstallAgent.plist
        - mod date: Nov 27 08:17:11 2014
        - checksum: 2029135569
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
            "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
          <dict>
            <key>Label</key>
            <string>com.BlueStacks.AppPlayer.UninstallAgent</string>
            <key>ProgramArguments</key>
            <array>
              <string>/Users/USER/Library/BlueStacks App Player/Uninstall/uHD-UninstallAgent</string>
            </array>
            <key>StandardInPath</key>
            <string>/dev/null</string>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>StandardErrorPath</key>
            <string>/dev/null</string>
            <key>StartInterval</key>
            <integer>15</integer>
            <key>RunAtLoad</key>
            <true/>
          </dict>
        </plist>
    Contents of Library/LaunchAgents/com.BlueStacks.AppPlayer.UpdaterAgent.plist
        - mod date: Nov 27 08:17:10 2014
        - checksum: 3847672156
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
            "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
          <dict>
            <key>Label</key>
            <string>com.BlueStacks.AppPlayer.UpdaterAgent</string>
            <key>ProgramArguments</key>
            <array>
              <string>/Users/USER/Library/BlueStacks App Player/Runtime/uHD-UpdaterAgent</string>
            </array>
            <key>StandardInPath</key>
            <string>/dev/null</string>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>StandardErrorPath</key>
            <string>/dev/null</string>
            <key>StartCalendarInterval</key>
            <dict>
              <key>Hour</key>
              <integer>13</integer>
              <key>Minute</key>
              <integer>0</integer>
            </dict>
            <key>RunAtLoad</key>
        ...and 3 more line(s)
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
        - mod date: Feb 19 07:08:24 2015
        - checksum: 4116814193
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.adobe.ARM.UUID</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/MacOS/Updater/Adobe Acrobat Updater Helper.app/Contents/MacOS/Adobe Acrobat Updater Helper</string>
        <string>semi-auto</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>12600</integer>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.apple.FolderActions.folders.plist
        - mod date: Mar 14 11:25:54 2015
        - checksum: 2841064722
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.FolderActions.folders</string>
        <key>Program</key>
        <string>/usr/bin/osascript</string>
        <key>ProgramArguments</key>
        <array>
        <string>osascript</string>
        <string>-e</string>
        <string>tell application "Folder Actions Dispatcher" to tick</string>
        </array>
        <key>WatchPaths</key>
        <array>
        <string>/Users/USER/Desktop/CONVERT to B&amp;W</string>
        <string>/Users/USER/Desktop/Convert to B&amp;W</string>
        </array>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.facebook.videochat.NAME.plist
        - mod date: Dec  5 01:06:08 2014
        - checksum: 1998993382
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
          <key>Label</key>
          <string>com.facebook.videochat.NAME.updater</string>
          <key>ProgramArguments</key>
          <array>
            <string>/usr/bin/java</string>
            <string>-cp</string>
            <string>/Users/USER/Library/Application Support/Facebook/video/3.1.0.522/FacebookUpdate.jar</string>
            <string>FacebookUpdate</string>
            <string>com.facebook.peep</string>
            <string>3.1.0.522</string>
          </array>
          <key>RunAtLoad</key>
          <true/>
          <key>StartInterval</key>
          <integer>10800</integer>
          <key>StandardErrorPath</key>
          <string>/dev/null</string>
          <key>StandardOutPath</key>
          <string>/dev/null</string>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/net.tunnelblick.tunnelblick.LaunchAtLogin.plist
        - mod date: Jul 17 23:09:49 2014
        - checksum: 2295440304
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>net.tunnelblick.tunnelblick.LaunchAtLogin</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Tunnelblick.app/Contents/Resources/launchAtLogin.sh</stri ng>
        </array>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>RunAtLoad</key>
        <true/>
        <key>OnDemand</key>
        <true/>
        <key>ExitTimeOut</key>
        <integer>0</integer>
        <key>ProcessType</key>
        <string>Interactive</string>
        </dict>
        </plist>
    Extensions
        /Library/Extensions/SONY_PDW-U1.kext
        - com.sony.scsi.PDW-U1
        /Library/Extensions/com.equinux.VPNTracker7.kext
        - com.equinux.VPNTracker7
        /Library/Extensions/pdudf.kext
        - com.sony.filesystems.pdudf
        /Library/Extensions/pdudfr.kext
        - com.sony.filesystems.pdudfr
        /System/Library/Extensions/JMicronATA.kext
        - com.jmicron.JMicronATA
        /System/Library/Extensions/WD1394HPDriver.kext
        - com.wdc.driver.1394HP
        /System/Library/Extensions/WD1394_64HPDriver.kext
        - com.wdc.driver.1394_64HP
        /System/Library/Extensions/WDUSBHPDriver.kext
        - com.wdc.driver.USBHP
        /System/Library/Extensions/WDUSB_64HPDriver.kext
        - com.wdc.driver.USB_64HP
    Applications
        /Applications/Adobe After Effects CC 2014/Adobe After Effects CC 2014.app
        - N/A
        /Applications/Adobe After Effects CS6/Plug-ins/Effects/Synthetic Aperture/(CF3 Support)/SA Color Finesse 3 UI.app
        - com.synthetic-ap.SA Color Finesse 3 UI
        /Applications/Adobe After Effects CS6/Plug-ins/Effects/mochaAE/(Mocha Support)/mocha AE CS6.app
        - com.imagineersystems.mocha4ae_adobe
        /Applications/Adobe Flash Builder 4.6/eclipse/Eclipse.app
        - org.eclipse.eclipse
        /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/nai/lib/naib.app
        - APP_ID
        /Applications/Adobe Flash CS6/AIR3.2/lib/nai/lib/naib.app
        - APP_ID
        /Applications/Adobe Flash CS6/Common/Configuration/Simulator/SimController.app
        - SimController
        /Applications/Adobe/Adobe Help.app
        - chc.UUID.1
        /Applications/Adobe/Adobe Widget Browser.app
        - com.adobe.WidgetBrowser
        /Applications/AppCleaner.app
        - com.freemacsoft.AppCleaner
        /Applications/AppCleaner.app/Contents/Library/LoginItems/AppCleaner Helper.app
        - com.freemacsoft.AppCleaner-Helper
        /Applications/Blu-ray Player.app
        - com.macblurayplayer.MacBlurayPlayer
        /Applications/Data Rescue 3.app
        - com.prosofteng.DataRescue3
        /Applications/Deeper.app
        - com.titanium.Deeper
        /Applications/DivX/DivX Preferences.app
        - com.divx.divxprefs
        /Applications/DivX/Uninstall DivX for Mac.app
        - com.divxinc.uninstalldivxformac
        /Applications/Fidelia.app
        - com.audiofile.fidelia
        /Applications/LooksBuilderPL.app
        - com.RedGiantSoftware.LooksBuilderPL
        /Applications/Magic Bullet Grinder.app
        - com.RedGiant.Grinder
        /Applications/Magic Bullet Looks.app
        - com.RedGiantSoftware.LooksBuilder
        /Applications/Maintenance.app
        - com.titanium.Maintenance
        /Applications/Microsoft Communicator.app
        - com.microsoft.Communicator
        /Applications/Microsoft Messenger.app
        - com.microsoft.Messenger
        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
        - com.apple.ASApplication
        /Applications/Microsoft Office 2011/Office/Equation Editor.app
        - com.microsoft.EquationEditor
        /Applications/Microsoft Office 2011/Office/Microsoft Office Setup Assistant.app
        - com.microsoft.office.setupassistant
        /Applications/Microsoft Office 2011/Office/Microsoft Query.app
        - N/A
        /Applications/Need for Speed™ Most Wanted.app:™ Most Wanted:
        - N/A
        /Applications/OnyX.app
        - com.titanium.OnyX
        /Applications/Red Giant Link/Red Giant Link.app
        - org.pythonmac.unspecified.RedGiantLink
        /Applications/Remote Desktop Connection.app
        - com.microsoft.rdc
        /Applications/Utilities/Adobe AIR Application Installer.app
        - com.adobe.air.ApplicationInstaller
        /Applications/Utilities/Adobe AIR Uninstaller.app
        - com.adobe.air.Installer
        /Applications/VideoSpec.app
        - com.houdini.VideoSpec
        /Library/Application Support/Adobe/Installers/AdobeInDesign8AppBase/ExtraFiles/INSTALLDIR_EXE/Adobe InDesign CS6.app
        - N/A
        /Library/Application Support/Adobe/SwitchBoard/SwitchBoard.app
        - com.adobe.switchboard-2.0
        /Library/Application Support/DivX/DivXTransferWizard.app
        - com.divx.TransferWizard
        /Library/Application Support/DivX/DivXUpdate.app
        - com.divx.DivXUpdate
        /Library/Application Support/DivX/DivXUpdater.app
        - com.divx.DivXUpdater
        /Library/Application Support/Microsoft/MERP2.0/Microsoft Error Reporting.app
        - com.microsoft.error_reporting
        /Library/Application Support/Microsoft/MERP2.0/Microsoft Ship Asserts.app
        - com.microsoft.netlib.shipassertprocess
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app
        - com.adobe.air.ApplicationInstaller
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app
        - com.adobe.air.Installer
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Template.app
        - com.adobe.air.Template
        /Library/PDF Services/Save as Adobe PDF.app
        - com.apple.automator.SaveasAdobePDF
        /Library/StartupItems/MobileBrServ/Uninstall.app
        - N/A
        /Library/StartupItems/MobileBrServ/mbbserviceopen.app
        - com.yourcompany.mbbserviceopen
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Accessibility On-Screen Keyboard.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Activate Application.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Alarms.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Audio Control Panel.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Bing Travel.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/COM Surrogate.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Calculator.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Calendar.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Application

  • Query to add a column in between existing cols of a table?

    HI All,
    I have two questions.
    1. Query to add a column in between existing cols of a table? (not at the end. This is view of an order of output fields in a report)
    2. How do I swap the contents of two columns in a table. Suppose in a table tab there are 2 cols , col1,col2 populated with some data.
    I need a query(probably) to swap the col1 and col2 values . NOT AS A RESULT SET, BUT IT NEEDS TO GET CHANGED IN THE TABLE.
    Please help !

    > 1. Query to add a column in between existing cols of
    a table? (not at the end. This is view of an order of
    output fields in a report)
    Not really sensible ito DBMS - it does not care how you want to view the data. The sequence and formats of columns are what you/the application need to specify in the SQL's projection clause.
    Also keep in mind to achieve this, the DBMS will need to rewrite the entire table to fit this new column in-between existing columns. This is not the best of ideas.
    The projection of rows is dealt with SQL statements - not with the physical storage implementation.
    > 2. How do I swap the contents of two columns in a
    table. Suppose in a table tab there are 2 cols ,
    col1,col2 populated with some data.
    I need a query(probably) to swap the col1 and col2
    values . NOT AS A RESULT SET, BUT IT NEEDS TO GET
    CHANGED IN THE TABLE.
    This seems to work:
    SQL> create table foo_tab( c1 varchar2(10), c2 varchar2(10) );
    Table created.
    SQL> insert into foo_tab select TO_CHAR(rownum), TO_CHAR(object_id) from user_objects where rownum < 11;
    10 rows created.
    SQL> commit;
    Commit complete.
    SQL> select * from foo_tab;
    C1 C2
    1 55816
    2 55817
    3 55818
    4 55721
    5 105357
    6 105358
    7 105359
    8 105360
    9 105361
    10 60222
    10 rows selected.
    SQL> update foo_tab set c1=c2, c2=c1;
    10 rows updated.
    SQL> select * from foo_tab;
    C1 C2
    55816 1
    55817 2
    55818 3
    55721 4
    105357 5
    105358 6
    105359 7
    105360 8
    105361 9
    60222 10
    10 rows selected.
    SQL>

  • SQL Query - The number of columns specified in "SQL Query" does not match t

    I am creating new UDM for tablespace alert, below is my query,however its failing with error
    SQL Query - The number of columns specified in "SQL Query" does not match the value specified in "SQL Query Output"
    I selected Metric type is number
    SQL Query Format : Two columns
    Query:
    SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2)
    used_pct FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
    WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
    AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
    Any clues why i am getting error.

    SQL> SELECT d.tablespace_name,round(((a.bytes - NVL(f.bytes,0))*100/a.maxbytes),2) used_pct
    2 FROM sys.dba_tablespaces d,(select tablespace_name, sum(bytes) bytes, sum(greatest(maxbytes,bytes)) maxbytes from sys.dba_data_files group by tablespace_name) a,(select tablespace_name, sum(bytes) bytes from sys.dba_free_space group by tablespace_name) f
    3 WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+)
    4 AND NOT (d.extent_management = 'LOCAL' AND d.contents = 'TEMPORARY');
    TABLESPACE_NAME USED_PCT
    MGMT_TABLESPACE .82
    SYSAUX 1.52
    UNDOTBS1 .32
    RMAN .02
    CORRUPT_TS 10.63
    USERS 0
    SYSTEM 2.26
    MGMT_ECM_DEPOT_TS .04
    MGMT_AD4J_TS 0

  • IF NEW VARIABLE IN SQL QUERY, DISPLAYS AS LAST COLUMN + rpad not working

    Hello everybody and thank you in advance,
    1) if I add a new variable to my sql query to select a column which was already in the table, it shows it in the report table as the Last column to the right. That is, if I add "street" to
    something like city, postcode, street, store, manager, etc, instead of placing street between postcode and store, it places it as i said as the last column to the right.
    2) When values are entered into the cells of the tables, yes, they do expand it to their needed lenght, But, only if it is one word. If it is two, like when i enter the value "very good"
    then it takes two lines so as with a carriage return within the cell, thus, making it too high the row. I tried to padd spaces with rpad but it did not work. something like rpad(stock, 20,' ')
    I must say that the table is in the same page where there is a Form, so as the table grows in lenth it is actually squeezing the form located right on its left.
    3) rpad did not work with the most simple syntax, but less would with what i need because it turns out i am using DECODE in order to do a conversion between value displayed and
    value returned in my select list of values, something like : DECODE (TO_CHAR (stock),'1','Deficient','2','Average','3','Good','4','Very Good',null) AS stock,
    so, i have tried to put the rpad there in several places but either it gave parsing error or it left the column empty not picking any values.
    thank you very much
    Alvaro

    Alvaro
    1) That is standard behaviour of apex builder. You can change the display order with the arrows in the report attributes column report.
    2) You will have to play with the style attributes of the column to accomplice this. For instance style="white-space:pre;" in the Element Attributes of the column attributes. White-space:normal would thread several space (' ') as 1. So no matter how many you add with rpad they will be shown as 1.
    Or set a width either as attibute or in a style class for that column.
    Nicolette

  • How to get two empty columns in reporting?

    Hi Experts,
    How to get Two empty columns in  a report, i have taken a formula and i have given '=0' in the formula box after executing the query that two columns containing zero's, but i don't want zero's, i want to display empty columns.
    pl help to do this,
    thanks & regards
    venakt

    Hi
    In the Query designer go to Properties and Select Active n Zero Supression
    also select Supress Zeros from the drop down.
    Regards
    M.A

Maybe you are looking for

  • Experience: Lack of Proactive interest to sell, Streamlined Escalation procedure and training

    Sequence of events Obtained coupon code for back to school special. Placed Order online for an iPad Mini Retina 128 GB Received email from Bestbuy.com that order was canceled. Phoned Best Buy Customer Service-Customer Services rep could not find out

  • How to get notification that a mail has been read

    Is there any way to use Java mail to tell if a mail that you sent has been read?

  • 1231s Won't Boot

    I have 3 1231 APs.... one reloads continuously, and the other 2 sit at the ap: prompt but will not accept any keystrokes. I upgraded to 12.3(7)JA2 via the mode button as I have done many times on other APs, but these 3 are completely down.

  • Photoshop CS5 running VERY slow

    Hi, My Photoshop CS5 started running very slowly. I followed some suggestions and removed a bunch of programs and services from the start up menu. I also disabled Windows Search Host Protocol as I was getting frequent performance warnings from it whi

  • IMPORTING a transport to TEST system??

    Hi Experts, I imported successfully a trsnsport, say 123456 into TEST system. Bcoz of some reason, I want to again IMPORT the same transport 123456 into same TEST system. So, 1 - Is it possible? I mean, Is system allows to do so? 2 - If so, Is prog.