Slow query times with "contains" and "or"

We're running Oracle 9.2.0.4 on RHEL 3
I have a simple table - "docinfo". I've create a multicolumn Text index for docinfo called "repoidx". I have five cases below with the fourth one being the most difficult to understand. I have a primary key for "docinfo" but do nott have any additional indexes on "docinfo" right now because we're still testing the design. I'm curious about what is magical about using "or" plus "contains" in the same query (case 4).
[case 1 - simple like]
select count(docid)
from sa.docinfo
where
author like '%smith%'
Elapsed: 00:00:00.02
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=1468 Card=1 Bytes=15)
1 0 SORT (AGGREGATE)
2 1 TABLE ACCESS (FULL) OF 'DOCINFO' (Cost=1468 Card=12004 Bytes=180060)
[case 2 - simple contains]
select count(docid)
from sa.docinfo
where contains(repoidx,'facts')>0
Elapsed: 00:00:01.00
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=3905 Card=1 Bytes=12)
1 0 SORT (AGGREGATE)
2 1 TABLE ACCESS (BY INDEX ROWID) OF 'DOCINFO' (Cost=3905 Card=21278 Bytes=255336)
3 2 DOMAIN INDEX OF 'IDX_DOCINFO_REPOIDX' (Cost=3549)
[case 3 - simple like _and_ simple contains]
select count(docid)
from sa.docinfo
where
contains(repoidx,'facts')>0
and
author like '%smith%'
Elapsed: 00:00:00.02
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=3905 Card=1 Bytes= 23)
1 0 SORT (AGGREGATE)
2 1 TABLE ACCESS (BY INDEX ROWID) OF 'DOCINFO' (Cost=3905 Card=1064 Bytes=24472)
3 2 DOMAIN INDEX OF 'IDX_DOCINFO_REPOIDX' (Cost=3549)
[case 4 - simple like _or_ simple contains]
select count(docid)
from sa.docinfo
where
contains(repoidx,'facts')>0
or
author like '%smith%'
Elapsed: 00:01:37.02
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=1468 Card=1 Bytes= 23)
1 0 SORT (AGGREGATE)
2 1 TABLE ACCESS (FULL) OF 'DOCINFO' (Cost=1468 Card=32218 Bytes=741014)
[case 5 - simple like union simple contains]
select count(docid)
from sa.docinfo
where
contains(repoidx,'facts')>0
union
select count(docid)
from sa.docinfo
where
author like '%smith%'
Elapsed: 00:00:00.04
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=5581 Card=2 Bytes= 27)
1 0 SORT (UNIQUE) (Cost=5581 Card=2 Bytes=27)
2 1 UNION-ALL
3 2 SORT (AGGREGATE) (Cost=4021 Card=1 Bytes=12)
4 3 TABLE ACCESS (BY INDEX ROWID) OF 'DOCINFO' (Cost=3905 Card=21278 Bytes=255336)
5 4 DOMAIN INDEX OF 'IDX_DOCINFO_REPOIDX' (Cost=3549)
6 2 SORT (AGGREGATE) (Cost=1560 Card=1 Bytes=15)
7 6 TABLE ACCESS (FULL) OF 'DOCINFO' (Cost=1468 Card=12004 Bytes=180060)

Case 1:
There is no index on author and it would not be able to use one if there was, due to the leading %, so it does a full table scan, which is still quick, since that is all there is to the query.
Case 2:
It has an index on repoidx, so it uses it and it is quick.
Case 3:
It has an index on repoidx, so it uses it. Since "and" is used, both conditions must be met. It has quckly obtained the results that match the first condition using the index, so it only has to check those rows, not every row in the table, to see if they also match the second condition.
Case 4:
Either condition may be met. It does not have an index on author, so it cannot use an index for that conditiion. Either condition can be met and it cannot duplicate the rows where both conditions are met, so it cannot use the results of one condition to check the other. So, it has to do a full table scan, in order to check every row for either condition, so it is slow.
Case 5:
select count (docid)
from   docinfo
where  contains (repoidx, 'facts') > 0
union
select count (docid)
from   docinfo
where  author like '%smith%';is not the same as:
select count (docid)
from   (select docid
        from   docinfo
        where  contains (repoidx, 'facts') > 0
        union
        select docid
        from   docinfo
        where  author like '%smith%');which is the same as case 4 and therefore just as slow. Your case 5 is just taking the union of 2 numbers, which could result in one row or two rows, depending on whether the numbers happen to match or not. Consider the following:
scott@ORA92> SELECT job, empno
  2  FROM   emp
  3  /
JOB            EMPNO
CLERK           7369
SALESMAN        7499
SALESMAN        7521
MANAGER         7566
SALESMAN        7654
MANAGER         7698
MANAGER         7782
ANALYST         7788
PRESIDENT       7839
SALESMAN        7844
CLERK           7876
CLERK           7900
ANALYST         7902
CLERK           7934
14 rows selected.
scott@ORA92> SELECT job, COUNT (empno)
  2  FROM   emp
  3  GROUP  BY job
  4  /
JOB       COUNT(EMPNO)
ANALYST              2
CLERK                4
MANAGER              3
PRESIDENT            1
SALESMAN             4
scott@ORA92> SELECT COUNT (empno)
  2  FROM   emp
  3  WHERE  job = 'SALESMAN'
  4  /
COUNT(EMPNO)
           4
scott@ORA92> SELECT COUNT (empno)
  2  FROM   emp
  3  WHERE  job = 'CLERK'
  4  /
COUNT(EMPNO)
           4
scott@ORA92> SELECT COUNT (empno)
  2  FROM   emp
  3  WHERE  job = 'SALESMAN'
  4  UNION
  5  SELECT COUNT (empno)
  6  FROM   emp
  7  WHERE  job = 'CLERK'
  8  /
COUNT(EMPNO)
           4
scott@ORA92> -- the above is the same as:
scott@ORA92> SELECT 4 FROM DUAL
  2  UNION
  3  SELECT 4 FROM DUAL
  4  /
         4
         4
scott@ORA92> -- it is not the same as:
scott@ORA92> SELECT COUNT (empno)
  2  FROM   (SELECT empno
  3            FROM   emp
  4            WHERE  job = 'SALESMAN'
  5            UNION
  6            SELECT empno
  7            FROM   emp
  8            WHERE  job = 'CLERK')
  9  /
COUNT(EMPNO)
           8
scott@ORA92> -- if the numbers are different, you get 2 rows:
scott@ORA92> SELECT COUNT (empno)
  2  FROM   emp
  3  WHERE  job = 'ANALYST'
  4  UNION
  5  SELECT COUNT (empno)
  6  FROM   emp
  7  WHERE  job = 'MANAGER'
  8  /
COUNT(EMPNO)
           2
           3
scott@ORA92> -- the above is the same as:
scott@ORA92> SELECT 2 FROM DUAL
  2  UNION
  3  SELECT 3 FROM DUAL
  4  /
         2
         2
         3
scott@ORA92> -- it is not the same as:
scott@ORA92> SELECT COUNT (empno)
  2  FROM   (SELECT empno
  3            FROM   emp
  4            WHERE  job = 'ANALYST'
  5            UNION
  6            SELECT empno
  7            FROM   emp
  8            WHERE  job = 'MANAGER')
  9  /
COUNT(EMPNO)
           5

Similar Messages

  • Slow loop times with 6024E and LV2009

    Hello all,
    I have searched the forums back and forth, in addtion to the knowledge base, but I am still confused as to the slow loop times I am experiencing.  I have a 6024e PCMCIA DAQ card with a very simple VI created in LV 2009.  I am using the DAQ Assistant to collect 1 thermocouple channel on a SCXI Chassis 32 channel thermocouple module.
    The problem is that the loop times in labview is about 3 seconds.  The DAQ Assistant acquisition mode is set to "on demand".  The target sample rate is about 1 to 2 samples per second.  I have read in previous posts that the repeated creation of the task using the DAQ Assistant with the acquisition mode set to "on-demand" can slow things down.
    What really has me confused is that using this exact same method of setting the DAQ Assistant acquisition mode to "on-demand" has worked fine on the same hardware when using one of the earlier v8 versions of LabView.  I don't understand what has changed and why the loop times are so much slower.  I planned to pull the newest LV2009 off the computer and put a previous v8 version on just to confirm my observations.  In addition, I pulled up a copy of the VI that was written in one of the v8.x versions and it used the DAQ Assitants with the acquisition mode set to "on-demand" and had a loop time of 0.100 seconds.
    Any help would be appreciated.  I have been working on this all day today with no sucess.
    Thanks in advance,
    Steve

    H_baker,
    I did have the patch applied at the time I was experiencing the problems.  The DAQmx driver version was the version that was supplied on the DVD that we received for LV2009.  I believe the actual version number was something like 8.9.5.
    The loop time was determined as follows:
    A simple vi I was written in a while loop.  The data acquisition was conducted using the DAQ assistant sampling 1 channel on the SCXI thermocouple module in a SCXI 1000 chassis.  Inside the loop of the vi the getdatetime function was placed and wired to an indicator on the screen.  The vi was then ran.  Observation showed that the loop time was typically 3 seconds and sometimes 6 seconds by keeping track of the datetime indicator on the front panel.
    The problem appears to be resolved now.  I had pulled off the LV2009 installation and put back on the 8.6 installation.  Recreated the vi and everything worked fine. As a sanity check I went ahead and reinstalled LV2009.  Recreated the vi again and everything works fine now.  The only real difference between the two installations is that I am using the latest NIDAQmx drives (I believe version 9.0.5).  It could have been just some sort of transient issue that resolved itself either by reinstallation or by rebooting.   Not sure.  I was just initially very concerned given that another posting had mentioned loop times of 3 seconds just like I was experiencing.
    Thanks,
    Steve

  • Slow Query time with Function in Group By

    I have a PL/SQL function that computes status based on several inputs. When the function is run in a standard query without a group by, it is very fast. When i try to count or sum other columns in the select (thus requiring the Group By), my query response time explodes exponentially.
    My query:
    SELECT
    ben.atm_class( 'DBT', 'CLA' , 6 , 1245 ),
    count (distinct ax.HOUSEHOLD_KEY)
    FROM
    ADM.PRODUCT p,
    ADM.ACCOUNT_CROSS_FUNCTIONAL ax
    WHERE
    ax.month_key = 1245
    AND ( ax.PRODUCT_KEY=ADM.P.PRODUCT_KEY )
    AND ( ax.HOUSEHOLD_KEY ) IN (6)
    group by
    p.ptype, p.stype,
    ben.atm_class( 'DBT', 'CLA' , 6 , 1245 )
    My explain plan for the query with the Group By:
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE          3           10                     
    SORT GROUP BY          3      60      10                     
    NESTED LOOPS          3      60      6                     
    TABLE ACCESS BY LOCAL INDEX ROWID     ACCOUNT_CROSS_FUNCTIONAL     3      33      3                23     23
    INDEX RANGE SCAN     NXIF312ACCOUNT_CROSS_FUNCTION     3           2                23     23
    TABLE ACCESS BY INDEX ROWID     PRODUCT     867      7 K     1                     
    INDEX UNIQUE SCAN     PK_PRODUCT_PRODUCTKEY     867                               
    This executes in over 9 minutes.
    My query w/o Group by
    SELECT
    ben.atm_class( 'DBT', 'CLA' , 6 , 1245 ),
    ax.HOUSEHOLD_KEY
    FROM
    ADM.PRODUCT p,
    ADM.ACCOUNT_CROSS_FUNCTIONAL ax
    WHERE
    ax.month_key = 1245
    AND ( ax.PRODUCT_KEY=ADM.P.PRODUCT_KEY )
    AND ( ax.HOUSEHOLD_KEY ) IN (6)
    My explain plan without the Group By:
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE          3           3                     
    NESTED LOOPS          3      42      3                     
    TABLE ACCESS BY LOCAL INDEX ROWID     ACCOUNT_CROSS_FUNCTIONAL     3      33      3                23     23
    INDEX RANGE SCAN     NXIF312ACCOUNT_CROSS_FUNCTION     3           2                23     23
    INDEX UNIQUE SCAN     PK_PRODUCT_PRODUCTKEY     867      2 K                         
    This executes in 6 seconds
    Any thoughts on why it takes 90 times longer to perform the Group By sort?

    The plan didn't paste:
    no group by:
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE          3           6                     
    NESTED LOOPS          3      60      6                     
    TABLE ACCESS BY LOCAL INDEX ROWID     ACCOUNT_CROSS_FUNCTIONAL     3      33      3                23     23
    INDEX RANGE SCAN     NXIF312ACCOUNT_CROSS_FUNCTION     3           2                23     23
    TABLE ACCESS BY INDEX ROWID     PRODUCT     867      7 K     1                     
    INDEX UNIQUE SCAN     PK_PRODUCT_PRODUCTKEY     867                               
    group by:
    Operation     Object Name     Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE          3           10                     
    SORT GROUP BY          3      60      10                     
    NESTED LOOPS          3      60      6                     
    TABLE ACCESS BY LOCAL INDEX ROWID     ACCOUNT_CROSS_FUNCTIONAL     3      33      3                23     23
    INDEX RANGE SCAN     NXIF312ACCOUNT_CROSS_FUNCTION     3           2                23     23
    TABLE ACCESS BY INDEX ROWID     PRODUCT     867      7 K     1                     
    INDEX UNIQUE SCAN     PK_PRODUCT_PRODUCTKEY     867                               

  • PAINFULLY SLOW launch times with MS Office 2004 Apps?

    Anyone else noticing painfully slow launch times with their MS Office 2004 Apps? It seems that each time I restart my machine and try to open any kind of office document the Word icon will bounce at least 15 times and then it takes forever for the application to actually launch. Once launched it seems fast and works fine, but not on initial launch after restart.
    Is this a Rosetta issue? Should I reinstall the MS Office apps?
    -JB

    Seems ok to me. Did you download the latest update which finally allows spotlight to search in Entourage and provide other improvements?
    http://www.microsoft.com/mac/downloads.aspx?pid=download&location=/mac/download/ office2004/Office2004_11.2.3.xml&secid=4&ssid=29&flgnosysreq=True
    "Microsoft Office 2004 for Mac 11.2.3 Update
    After you install this update, you can use Mac OS X Sync Services and Spotlight searches to sync and find Entourage items, use smart cards with Entourage 2004, and enjoy improved overall security and stability when using Microsoft Word 2004, Excel 2004, PowerPoint 2004, and Entourage 2004. This update also includes all of the improvements released in all previous Office 2004 updates.
    Applies to: Microsoft Office 2004 Standard Edition, Office 2004 Student and Teacher Edition, Office 2004 Professional Edition, Entourage 2004.
    Released: March 14, 2006"

  • Weird Slow motion effect with Motion4 and FCP7.

    Hi everyone,
    I was testing a simple slow motion clip when I encountered a weird issue with it.
    Basically the clip of a person running in a room where there is a bookshelf and the weird effect is that it looks like there is an "halo" around the person and within such "overlap" everything on that path looks "melted/vibrant" distorted.
    To better clarify the issue I uploaded a sample clip here:
    http://www.vimeo.com/5891093
    After doing some tests I've found a workaround to this. So the sample clip shows the problem and the portion without any problem.
    The clip was shot in XDCAM EX 720p 25fps.
    After ingesting and importing the MOV file into Motion I had exported the slowed clip out of Motion using the same codec XDCAM EX 720p VBR.
    When I imported that MOV into FCP I got that weird effect on both canvas and final export to H.264.
    As second test, instead of using the export from Motion, I decided to use the Motion project in the FCP timeline. Once rendered (as the motn clip was in the Motion Codec Decompression) as XDCAM the same issue appeared on both the canvas and final export to H.264.
    At this point the strange thing was that if I opened the Motion project in the viewer it was working perfectly fine.
    I then decided to export within FCP the Motion project to XDCAM 720p before instantiating it in the timeline.
    So did that and I got a 720p clip that I imported in the timeline without any rendering needs.
    With that clip the canvas was playing ok and so was the final export to H.264.
    As the initial work in Motion 4 was ok and I didn't see any issue, I thought this might be some sort of FCP 7 issue (or some bad settings that I have on my system).
    Anyway I've found my work around and just decided to share here just in case someone else could understand the behind the scene of this.
    During these tests I have tried to place the Motion project on different timelines (in ProRes 422, ProRes 444) just to see whether the issue was due to a combination of factors including the XDCAM codec, but didn't fix the problem.
    Cheers,
    Armando.

    Just for the record, I made another test with a different material and now I start thinking it could be a Motion4 weird behavior than an FCP7 issue.
    I have shot another clip this time with an in camera slow motion (shot @60fps in XDCAM EX 720p 25pfs format), then applied to Motion4 for another 50% optical flow time remapping.
    This time after checking well at Motion results, I can see the issue in the bookshelf area with vibrant/melting spots.
    After importing the Motion project into FCP and then exported as self contained MOV in XDCAM EX 720p, the issue is gone as in the other tests.
    I went back to the previous tests I made and checked better in Motion; the problem was slightly noticeable even there in one test.
    So I guess it is Motion producing that weird output and not FCP, which seems btw fixing the issue.
    Regards,
    Armando.

  • Help - Getting slower render times with AE CS6

    Hi everyone
    Wonder if anyone else is getting as described?
    I have a 3m37s project which is predomnantly motion graphics using live shot footage (.MXF files), Illustrator and a few JPGs.
    In CS5 AE I get render times which average around 45mins, so I thought I'd see how quickly CS6 could crank it out by - as you can see I'm getting times which are in excess of 2 almost 3hours!
    The project contains a few 2.5D moves as well as tiny bit of Trapcode 3D Stroke
    I have mentioned on this forum that I'm having the Error 5070 problems with start up and Ray Trace is unavailable but these times seem seriously wrong to me.
    Mac Pro 3,1 (2x 2.8GHZ)
    20GB RAM
    OS 10.7.4
    NVIDIA GeForce GT8800
    NVIDIA Quadro 4000 both on GPU Driver 207.00.00.f06
    CUDA Driver 4.2.10
    All files are on a 2TB drive (7200rpm)
    Rendering to a 1TB drive (7200rpm)
    Corsair SSD 60gb Cache drive
    As an observation when I watch the frames counter ticking over, CS5 seems to steadily work it's way through the render at around less than a frame a second, CS6 seems to crank out 2-6 frames then hold for 30secs before working on another batch. It crawls to a halt near the end.
    Can anyone offer any help or advice?
    So far I'm not having a great time with my CS6 transition
    Thanks
    Rob
    Message was edited by: Bokeh Creative Ltd
    because of a Typo

    Thanks Rick - Yes what confused me was that it only took 45mins in CS5 even with MP 'on'
    Still having no joy with Ray Tracing though, even though I have a Quadro 4000 card, I get the 5070 error on start up. Any ideas?

  • Random, excruciatingly slow load time with 7900 Elite small form factor desktops

    Hi all, I have approx 300 HP 7900 Elite small form factor machines in my environment that were deployed just over two years ago. from the time of deployment we have experienced on about 50 occasions a random, excruciatingly slow load time that take about one hour for the user to login and open their programs. there has been no rhyme or reason for it, different floors, areas of the building, etc. I searched the forum for similar probs and didn't see one like this, I hope I'm not duplicating efforts from someone else's question... One thing we have noticed is that if we re-boot while it is going through the start-up process, it seems to "make it angry" and will lengthen the overall load time. We use the 32-bit Vista Enterprise OS. This is with a "stock" build, that is to say, our standard corporate build. our security policy does not allow users to install software, by the way. Thanks so much if you can help!

    Hi,
    How is the issue going? Usually, this error can be caused by missing third-party NIC driver. To solve the issue, we can download the missing network
    driver and update the WDS boot image to include it.
    In addition to the article provided by Chris, the following blog can also be referred to as reference.
    http://askmetricks.blogspot.in/2013/03/solvedwdsclient-error-occurred-while.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this
    information.
    Best regards,
    Frank Shen

  • Slow render times with latest update

    Since updating to Premiere CC 7.1 I am experiencing extremly slow render speed with Magic Bullet Looks and .Filmconvert pro 2. When hitting enter to render it hangs for aout 10 seconds before starting. Then after each shot has been rendered it hangs again before continuing, What used to take around 20 minutes now takes 2 hours 34 minutes.
    Adobe, please can you show me how to roll back to version 7.0.1 as i don't have time to mess about with this.
    OS: Windows 7
    GTX 570 with latest driver (331.65)

    Hi captain,
    Check out the plug-ins manufacturer's web page and see if there are any updates for your plug-ins.
    Thanks,
    Kevin

  • Problems in query result with infoset and timedep infoobject

    Hi,
    I have the following situation:
    infoobject ZEMPLOYEE timedep
    Infocube 0C0_CCA_C11 (standard cost center/cost element postings)
    -> infoset with infoobject and infocube linked with outer join
    My query should show all active employees in one month without any posting in the infocube.
    My testdata looks like this:
    pernr date from    date to         cost center
    4711  01.01.1000 31.12.2002
    4711  01.01.2003 31.01.2009   400000
    4711  01.02.2009 31.12.9999
    That means the employee is only active between 01.01.2003 and 31.01.2009.
    I expect the following result in the query with key-date 31.01.2009:
    4711  01.01.2003 31.01.2009   400000
    I expect the following result in the query with key-date 01.02.2009:
    no result
    -> because the employee is not active anymore, I don't want to see him in the query.
    My query delivers the following result:
    4711  01.02.2009 31.12.9999
    The first and the last entry in master data is automatically created by the system.
    I tried to exclude the not active employees by selection over cost center in the filter (like cost center between 1 and 9999999, or exclude cost center #). But unfortunately the filter selection does not work, because obviously the attributes are not filled in the last entry.
    Is there anyone who can tell me how I can exclude the last entry in the master data in the query?
    Any help is much appreciated! Points will be assigned!
    best regards
    Chris

    HI,
    problem is that I can't use employe status in this case, beacuse for any reason the people don't use it.
    I have also tried with exceptions and conditions, but the attributes ar enot filled, so it seems that nothing works.
    Do you have any other suggestions?
    Thanks!
    best tregards
    Chris

  • Quality Center 11 (ALM) Query - Integration with Subversion and Jenkins

    Hi OHPCPaT Forum,
    Are there any restrictions to enabling the QC integration with Subversion and Jenkins when the QC server is a SaaS cloud instance? Is there any additional config I should be aware of?
    Thanks in anticipation

    Hi,
    Yes all the users are facing the issue. Please find more details for the issue.
    Currently we are upgrading Quality Center 10.0 to 11.0 with HP Enterprise Integration module for SAP applications. The project successfully upgraded from QC 10.0 to 11.0 but there are some error popup for the project for which Application Module and Enterprise Integration for SAP applications Version 2.6 was enabled
    Quality Center Details:
    HP Application Lifecycle Management 11.00
    ALM patch level: 07
    Quality Center 11.00 Enterprise Edition
    Component     Build
    OTA Client     11.0.0.6051
    User Interface     11.0.0.6051
    WebGate Client     11.0.0.6051
    Test Run Scheduler     11.0.0.6051
    Execution Flow     11.0.0.6051
    Site Administration Client     11.0.0.6051
    Extension Version     
    Enterprise Integration for SAP applications     2.6.0.3232
    Sprinter     11.0.0.6051
    Application Model     2.6.0.917
    Installation Steps followed:-
    1.Installed HP ALM
    2.Installed Patch Service Pack 2 (Patch 2,3,4)
    3.Installed Patch 6
    4.Installed Patch 7
    5.Installed the Extensions HP Enterprise Integration module for SAP applications using Extension Deployment Tool by following the steps provided in the Addin Page
    6.Created new project in HP ALM
    7.Login to the project (no issue)
    8.Enabled the Project Extensions
    9.Login to the project (able to access the project but error message is popup when we access Test plan and Defect module)
    Note: There is no error when we access the project for which the HP Enterprise Integration module for SAP applications EI not enabled. QC 11.0 is not integrated with any tools.
    Let me know is there any step we missed or we need to do any manual steps we need to do before enabling EI

  • Slow Query only with some values??????

    I have this tables:
    Vehicles: id_vehicle, id_customer, registration_number, model, ... (2.000.000 of records) (1.500.000 distinct id_customer)
    Insurance-Customers-Vehicles: id_insurance, id_customer, id_vehicle ... (4.500.000 of records)
    Insurance: id_insurance, date_insurance, ...
    Customers: id_customer, name, surname, ..
    QUERY:
    select
    vh.id_vehicle,
    vh.id_customer,
    vd.model,
    vd.registration_number
    from Insurance-Customers-Vehicles vh
    left join Vehicles v on (vh.id_vehicle = v.id_vehicle and vh.id_customer = v.id_customer)
    inner join Vehicles vd on (vh.cod_vehiculo = vd.cod_vehiculo)
    where vh.id_customer = 123456
    and vh.id_vehicle is null
    I execute this query because I want to obtain Vehicles that have been associated with a customer but I don’t want to obtain the vehicle-customer on Insurance-Customers-Vehicles table if it’s now associated to the vehicle-customer on vehicles table.
    This query is very fast at 99% of the time (less than 1 second), but when a client has many vehicles associated (more than 50) on Insurance-Customers-Vehicles table the query is very slow and takes between 10 and 20 seconds ...
    Insurance-Customers-Vehicles
    Please, How can I improve it?????
    Thanks in advance!!!!!
    Operation     Object Name                              Rows     Bytes     Cost     Object Node     In/Out     PStart     PStop
    SELECT STATEMENT Optimizer Mode=CHOOSE                         3             12                                          
      NESTED LOOPS                                        3       498       12                                          
        FILTER                                                                
          NESTED LOOPS OUTER                                                                
            TABLE ACCESS BY INDEX ROWID     Insurance-Customers-Vehicles     3       408       6                                          
              INDEX RANGE SCAN     IND_INSCUVEH_ID_CUSTOMER          3             3                                          
            TABLE ACCESS BY INDEX ROWID     VEHICLES               1       13       2                                          
              INDEX UNIQUE SCAN     PK_VEHICLES                    1             1                                          
        TABLE ACCESS BY INDEX ROWID     VEHICLES                    1       17                                                
          INDEX UNIQUE SCAN     PK_VEHICLES                         1             1                  

    I think there is something logically wrong with this query.
    You left join the vehicle table, however you already know that id_vehicle is NULL.
    I'm not sure what it should achieve, maybe you should replace this join with an EXISTS sub select, maybe you can remove this join completely.
    Try to find an example where your query gives a different result than this one. And explain me why the result is different.
    select vh.id_vehicle,
          vh.id_customer,
          vd.model,
          vd.registration_number
    from Insurance-Customers-Vehicles vh
    inner join Vehicles vd on (vh.cod_vehiculo = vd.cod_vehiculo)
    where vh.id_customer = 123456
    and vh.id_vehicle is null;Message was edited by:
    Sven W.

  • Slow render times with large jpegs - complete system lag

    In a project i'm working on I have two large jpegs with a small zoom scaling effect. Going from 100 to 103 percent.
    I've noticed that both Adobe Media Encoder and Premiere Pro experience a heavy slow down in render time as soon as the jpegs have to be rendered.
    Not only does the render speed almost come to a halt, the complete system lags very heavy, even the mouse cursor won't respond well.
    This happens when i have GPU acceleration enabled and when i do a 2 pass H264 encoding.
    When I have the GPU acceleration disabled the render goes very smooth, and doesn't seem to slow down...
    The jpeg is 4023  x 2677, and 6,97 MB large.
    Scaling the jpeg down to about 1920x1080 in Photoshop and put that one in the timeline made the render go a lot faster.
    I understand that a large picture takes a bit more time to be rendered, but we're talking about a 10minute render whit the large jpeg file and  a 2 minute render with the jpeg resized.
    The total time of the two jpegs in the video is 5 seconds in a 3 minutes video.
    So, that made me think that the render times are exponentially long.
    In the timeline everything runs really smooth.
    Is this considered normal, I can't remember having such big differences in CS5. It's not a major thing, but I wanted to share anyway.
    My system:
    Premiere Pro CC (latest)
    i7 4930K
    32 GB RAM
    2xGTX480
    Footage and project on a Raid0 disk
    Previews/Cache on a Raid0 disk
    System and Premiere on SSD
    Render to a single 7200 rpm drive.

    >wanted to share
    Yes... known issue... I think some of the below is about P-Elements, but the same ideas
    Photo Scaling for Video http://forums.adobe.com/thread/450798
    -HiRes Pictures to DVD http://forums.adobe.com/thread/1187937?tstart=0
    -PPro Crash http://forums.adobe.com/thread/879967

  • Slow calc time with SET CREATEBLOCKONEQ OFF for block creation

    Hello everyone,
    I have a problem with the slow execution of one of my calc scripts:
    A simplified version of my calc script to calculate 6 accounts looks like this:
    SET UPDATECALC OFF;
    SET FRMLBOTTOMUP ON;
    SET CREATEBLOCKONEQ ON;
    SET CREATENONMISSINGBLK ON;
    FIX (
    FY12,
    "Forecast",
    "Final",
    @LEVMBRS("Cost Centre",0),
    @LEVMBRS("Products",0),
    @LEVMBRS("Entities",0)
    SET CREATEBLOCKONEQ OFF;
    "10000";"20000";"30000";"40000";"50000";"60000";
    SET CREATEBLOCKONEQ ON;
    ENDFIX
    The member formula for each of the accounts is realtively complex. One of the changes recently implemented for the FIX was openin up the cost center dimension. Since then the calculation runs much slower (>1h). If I change the setting to SET CREATEBLOCKONEQ ON, the calculation is very fast (1 min). However, no blocks are created. I am looking for a way to create the required blocks, calculate the member formulas but to decrease calc time. Does anybody have any idea what to improve?
    Thanks for your input
    p.s. DataStorage in the member properties for the above accounts is Never Share

    MattRollings wrote:
    If the formula is too complex it tends not to aggregate properly, especially when using ratios in calculations. Using stored members with member formulas I have found is much faster, efficient, and less prone to agg issues - especially in Workforce type apps.We were experiencing that exact problem, hence stored members^^^So why not break it up into steps? Step 1, force the calculation of the lower level member formulas, whatever they are. Make sure that that works. Then take the upper level members (whatever they are) and make them dynamic. There's nothing that says that you must make them all stored. I try, wherever possible, to make as much dynamic as possible. As I wrote, sometimes I can't for calc order reasons, but as soon as I get past that I let the "free" dense dynamic calcs happen wherever I can. Yes, the number of blocks touched is the same (maybe), but it is still worth a shot.
    Also, you mentioned in your original post that the introduction of the FIX slowed things down. That seems counter-intuitive from a block count perspective. Does your FIX really select all level zero members in all dimensions?
    Last thought on this somewhat overactive thread (you are getting a lot of advice, who knows, maybe some of it is good ;) ) -- have you tried flipping the member calcs on their heads, i.e., take what is an Accounts calc and make it a Forecast calc with cross-dims to match? You would have different, but maybe more managable block creation issues at that point.
    Regards,
    Cameron Lackpour

  • Slow response time with terminal emulator

    We are using Oracle Financials pkg. 10.7 Character mode using Oracle DB 7.3.3 on a IBM (sequent) S5000 running at DYNIX/ptx 4.2.3 (soon to be 4.2.4). On the end user side, the accounting dept. is connecting to the server using EXTRA Personal Client. During the course of the day, the response time of the emulator slows down. I can count to 25 sometimes b/4 the emulator responds (catches up with the key strokes). Some days it does not happen until the end of the work day and other times it can happen after just a few hours. After checking the network, application and server, we can find nothing wrong. If we have the user reboot their p.c., this seems to clear up the problem. Has anyone else seen or heard of this problem??? If so, does anyone know how to correct it??? We have installed and tried a different emulator that seems to be doing the samething, but only not as bad (slow).
    Thanks,
    Tony Dopkins
    UNIX System Administrator
    Andersen Windows

    Never heard of this problem or this emulator product.
    Oracle did/does have their own emulator that sort of similuates a GUI environment.
    It is called OADM (Oracle Display Manager).
    If you call support, they may be able to send it to you. However, it's no longer supported, and is a little buggy. But it has no performance problems.
    If it straight character feel the users need, Kea TERM works 4 me.
    Or, possibly call the your emulators support line.. it could be a known issue with their product..
    Most likely it has nothing to do with Oracle products.

  • Web pages slow to load with IE11 and the cursor/mouse is very slow to work until after page loads

    Web pages are very slow to load, I hve run Norton Eraser and found no issues that would cause this

    New HP Pavilion three weeks ago.  After several attempts by the 'experts' I finally got a straight answer from a tech in the Philipines yesterday, 01-29-2015.  HP and Microsoft are working to resolve the issue of slow pages and a dead cursor until the next page finally loads.  You may have discovered that Google Chrome DOES NOT have this issue.  Comments about HP would not be allowed here so I will just say, use Chrome until the issue with IE 11 is resolved.

Maybe you are looking for

  • Why can I no longer capture DV clips?

    I can no longer capture DV clips that are useable. Is it a wrong setting or maybe bad hardware? I'm logging and capturing clips as DV anamorphic (downconverted by my deck from HDV), and when I play back the captured clip, the image in the viewer isn'

  • My composition widget is not working after the November Update

    Since i republished said site, my composition widget doesn't change when targets are hovered over, containers are not matched up with the right targets and the text is missing off the targets on a couple as well. http://www.stuttgartcountryclub.com A

  • Recovery Media Fails To Complete - in infinite boot loop

    We have an older laptop that got so little use it looks almost like it was just out of the box. The owner wanted to have it set back to factory default. It came with Windows 7 Pro 64-bit. The laptop was a fully functioning laptop, with no issues. The

  • Do I need an account with Microsoft (or AOL, etc.) if I use Firefox??

    Must I have an account with Microsoft (or AOL or whoever) if I use Firefox? Why am I making a monthly payment to Microsoft if all I use for internet action is Firefox?? I would rather pay Firefox! I use Windows Vista. I have IE8 installed and use it

  • Safari application missing

    My darling son went to visit some not so proper sites and now the safari application is missing. There is a question mark on the icon and when I ttry to find safari.app it says no records found. Is this the only way we can get online? Can anyone help