Poor performance when Distinct and Order By Used

Hello,
I am getting an slow answer when I add Distinct and Order By to the query:
Without Distinct and Order By lasts 3.57 seconds; without Distinct and Order By lasts 28.15 seconds, which it's too much for our app.
The query is:
select distinct CC.acceso, CC.ext_acceso, TIT.TITULO_SALIDA
from (((Ocurrencias CT01 inner join
palabras p0 on (CT01.cod_palabra = p0.cod_palabra and p0.palabra like 'VENEZUELA%' AND p0.campo = 'AUTOR')) INNER JOIN
CENTRAL CC ON (CT01.ACCESO = CC.ACCESO AND CT01.EXT_ACCESO = CC.EXT_ACCESO))) inner join
codtit ctt on (CC.acceso = ctt.acceso and CC.ext_acceso = ctt.ext_acceso) inner join
titulos tit on (ctt.cod_titulo = tit.cod_titulo and ctt.portada = '1')
where CC.nivel_reg <> 's'
ORDER BY 3 ASC;
The query plan for the query WITH Distinct and Order By is:
Elapsed: 00:00:28.15
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=301 Card=47 Bytes=12220)
1 0 SORT (ORDER BY) (Cost=301 Card=47 Bytes=12220)
2 1 SORT (UNIQUE) (Cost=300 Card=47 Bytes=12220)
3 2 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
4 3 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
5 4 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
6 5 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
7 6 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
8 7 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
9 6 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
10 5 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
11 10 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
12 4 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
13 12 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
14 3 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
15 14 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
154 recursive calls
0 db block gets
32070 consistent gets
1622 physical reads
0 redo size
305785 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
212 SQL*Net roundtrips to/from client
10 sorts (memory)
0 sorts (disk)
3149 rows processed
The query plan for the query WITHOUT Distinct and Order By is:
Elapsed: 00:00:03.57
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=299 Card=47 Bytes=12220)
1 0 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
2 1 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
3 2 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
4 3 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
5 4 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
6 5 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
7 4 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
8 3 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
9 8 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
10 2 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
11 10 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
12 1 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
13 12 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
3376 recursive calls
0 db block gets
33443 consistent gets
1061 physical reads
0 redo size
313751 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
422 SQL*Net roundtrips to/from client
90 sorts (memory)
0 sorts (disk)
3149 rows processed
I would appreciate a lot if somebody can tell me how to improve the performance of the query with Distinct and Order By.
Thank you very much,
Icaro Alzuru C.

Hello,
I am getting an slow answer when I add Distinct and Order By to the query:
Without Distinct and Order By lasts 3.57 seconds; without Distinct and Order By lasts 28.15 seconds, which it's too much for our app.
The query is:
select distinct CC.acceso, CC.ext_acceso, TIT.TITULO_SALIDA
from (((Ocurrencias CT01 inner join
palabras p0 on (CT01.cod_palabra = p0.cod_palabra and p0.palabra like 'VENEZUELA%' AND p0.campo = 'AUTOR')) INNER JOIN
CENTRAL CC ON (CT01.ACCESO = CC.ACCESO AND CT01.EXT_ACCESO = CC.EXT_ACCESO))) inner join
codtit ctt on (CC.acceso = ctt.acceso and CC.ext_acceso = ctt.ext_acceso) inner join
titulos tit on (ctt.cod_titulo = tit.cod_titulo and ctt.portada = '1')
where CC.nivel_reg <> 's'
ORDER BY 3 ASC;
The query plan for the query WITH Distinct and Order By is:
Elapsed: 00:00:28.15
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=301 Card=47 Bytes=12220)
1 0 SORT (ORDER BY) (Cost=301 Card=47 Bytes=12220)
2 1 SORT (UNIQUE) (Cost=300 Card=47 Bytes=12220)
3 2 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
4 3 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
5 4 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
6 5 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
7 6 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
8 7 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
9 6 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
10 5 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
11 10 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
12 4 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
13 12 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
14 3 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
15 14 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
154 recursive calls
0 db block gets
32070 consistent gets
1622 physical reads
0 redo size
305785 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
212 SQL*Net roundtrips to/from client
10 sorts (memory)
0 sorts (disk)
3149 rows processed
The query plan for the query WITHOUT Distinct and Order By is:
Elapsed: 00:00:03.57
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=299 Card=47 Bytes=12220)
1 0 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
2 1 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
3 2 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
4 3 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
5 4 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
6 5 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
7 4 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
8 3 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
9 8 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
10 2 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
11 10 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
12 1 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
13 12 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
3376 recursive calls
0 db block gets
33443 consistent gets
1061 physical reads
0 redo size
313751 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
422 SQL*Net roundtrips to/from client
90 sorts (memory)
0 sorts (disk)
3149 rows processed
I would appreciate a lot if somebody can tell me how to improve the performance of the query with Distinct and Order By.
Thank you very much,
Icaro Alzuru C.

Similar Messages

  • Poor performance with WebI and BW hierarchy drill-down...

    Hi
    We are currently implementing a large HR solution with BW as backend
    and WebI and Xcelcius as frontend. As part of this we are experiencing
    very poor performance when doing drill-down in WebI on a BW hierarchy.
    In general we are experiencing ok performance during selection of data
    and traditional WebI filtering - however when using the BW hierarchy
    for navigation within WebI, response times are significantly increasing.
    The general solution setup are as follows:
    1) Business Content version of the personnel administration
    infoprovider - 0PA_C01. The Infoprovider contains 30.000 records
    2) Multiprovider to act as semantic Data Mart layer in BW.
    3) Bex Query to act as Data Mart Query and metadata exchange for BOE.
    All key figure restrictions and calculations are done in this Data Mart
    Query.
    4) Traditionel BO OLAP universe 1:1 mapped to Bex Data Mart query. No
    calculations etc. are done in the universe.
    5) WebI report with limited objects included in the WebI query.
    As we are aware that performance is an very subjective issues we have
    created several case scenarios with different dataset sizes, various
    filter criteria's and modeling techniques in BW.
    Furthermore we have tried to apply various traditional BW performance
    tuning techniques including aggregates, physical partitioning and pre-
    calculation - all without any luck (pre-calculation doesn't seem to
    work at all as WebI apparently isn't using the BW OLAP cache).
    In general the best result we can get is with a completely stripped WebI report without any variables etc.
    and a total dataset of 1000 records transferred to WebI. Even in this scenario we can't get
    each navigational step (when using drill-down on Organizational Unit
    hierarchy - 0ORGUNIT) to perform faster than minimum 15-20 seconds per.
    navigational step.
    That is each navigational step takes 15-20 seconds
    with only 1000 records in the WebI cache when using drill-down on org.
    unit hierachy !!.
    Running the same Bex query from Bex Analyzer with a full dataset of
    30.000 records on lowest level of detail returns a threshold of 1-2
    seconds pr. navigational step thus eliminating that this should be a BW
    modeling issue.
    As our productive scenario obviously involves a far larger dataset as
    well as separate data from CATS and PT infoproviders we are very
    worried if we will ever be able to utilize hierarchy drill-down from
    WebI ?.
    The question is as such if there are any known performance issues
    related to the use of BW hierarchy drill-down from WebI and if so are
    there any ways to get around them ?.
    As an alternative we are currently considering changing our reporting
    strategy by creating several higher aggregated reports to avoid
    hierarchy navigation at all. However we still need to support specific
    division and their need to navigate the WebI dataset without
    limitations which makes this issue critical.
    Hope that you are able to help.
    Thanks in advance
    /Frank
    Edited by: Mads Frank on Feb 1, 2010 9:41 PM

    Hi Henry, thank you for your suggestions although i´m not agree with you that 20 seconds is pretty good for that navigation step. The same query executed with BEx Analyzer takes only 1-2 seconds to do the drill down.
    Actions
    suppress unassigned nodes in RSH1: Magic!! This was the main problem!!
    tick use structure elements in RSRT: Done it.
    enable query stripping in WebI: Done it.
    upgrade your BW to SP09: Has the SP09 some inprovements in relation to this point ?
    use more runtime query filters. : Not possible. Very simple query.
    Others:
    RSRT combination H-1-3-3-1 (Expand nodes/Permanent Cache BLOB)
    Uncheck prelimirary Hierarchy presentation in Query. only selected.
    Check "Use query drill" in webi properties.
    Sorry for this mixed message but when i was answering i tryied what you suggest in relation with supress unassigned nodes and it works perfectly. This is what is cusing the bottleneck!! incredible...
    Thanks a lot
    J.Casas

  • DOI - I_OI_SPREADSHEET, poor performance when reading more than 9999 record

    Hi,
    Please read this message in the [ABAP Performance and Tuning|DOI - I_OI_SPREADSHEET, poor performance when reading more than 9999 record; section and see if you have any advise.
    Best Regards,
    Marjo

    Hi,
    I met this issue when I tried to write vaule to massive fields of excel range.
    And I solve this issue by using CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_EXPORT.
    So, I think you may fix it in the same way.
    1. Select range in by the I_OI_SPREADSHEET
    2. Call method I_OI_DOCUMENT_PROXY->COPY_SELECTION
    3. Call method CL_GUI_FRONTEND_SERVICES=>CLIPBOARD_IMPORT
    Cheers,

  • Answers Select clauses:  DISTINCT and ORDER BY

    When I run an Answers query two things automatically happend:
    (1) The DISTINCT clause is added to the Select statement
    (2) An ORDER BY is aded to the end.
    The DISTINCT appears to be inclusive of all of the columns selected as are all of the columns included in the ORDER BY.
    Is there a way that I can setup ANSWERS so that it:
    (1) Does not default to add the DISTINCT?
    (2) Does not by default include an ORDER BY?
    (3) Limit the columsn that the DISTINCT is applied to?
    (4) Limit the number of columns in the ORDER BY to only those that I want to sort on?
    (5) Is there a way to specify in the OBIEE specific columns that should excluded from the DISTINCT and ORDERE BY?
    Thanks...

    I wrote a long explanation for this query and the oracle forum preview window decided to eat it, so I'm just posting the query, which might help some people looking for a SELECT DISTINCT approach that retains a sort order and takes the first value for the various grouping columns. In this case, my goal is to get a distinct list of agencies (agname):
    select distinct
          first_value(program_category_desc) over (partition by agname
            order by program_category_desc, program_subcategory_desc, progtypename, agname) cat,
          first_value(program_subcategory_desc) over (partition by agname
            order by program_category_desc, program_subcategory_desc, progtypename, agname) sub,
          first_value(progtypename) over (partition by agname
            order by program_category_desc, program_subcategory_desc, progtypename, agname) ptype,
          first_value(agname) over (partition by agname
            order by program_category_desc, program_subcategory_desc, progtypename, agname) ag
        from R_CONCERTS_REPORT
        order by first_value(program_category_desc) over (partition by agname
            order by program_category_desc, program_subcategory_desc, progtypename, agname),
          first_value(program_subcategory_desc) over (partition by agname
            order by program_category_desc, program_subcategory_desc, progtypename, agname),
          first_value(progtypename) over (partition by agname
            order by program_category_desc, program_subcategory_desc, progtypename, agname),
          first_value(agname) over (partition by agname
            order by program_category_desc, program_subcategory_desc, progtypename, agname);

  • DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file

    Hi
    DAQ vi to perform digital write and read measurements using 32 bits binary data saved in a file
    Two main
    sections:
    1)     
    Perform
    write and read operations to and fro different spread sheet files, such that
    each file have a single row of 32bits different binary data (analogous to 1D
    array) where the left most bit is the MSB. I don’t want to manually enter the
    32 bits binary data, I want the data written or read just by opening a file
    name saves with the intended data.
          2)     
    And
    by using test patterns implemented using the digital pattern generator or  build digital data functions or otherwise, I need to
    ensure that the     
                binary data written to a spreadsheet file or any supported file type
    then through the NI-USB 6509 is same as the data read.
    I’m aware I can’t use the simulated
    device to read data written to any port but if the write part of the vi works I
    ‘m sure the read part will work on the physical device which I’ll buy later.
    My Plan
    of action
    I’ve
    created a basic write/read file task and a write/read DAQ task for NI USB 6509
    and both combine in a while loop to form a progress VI which I’m confuse of how
    to proceed with the implementation.
    My
    greatest problem is to link both together with the correct functions or operators
    such that there are no syntax/execution errors and thus achieve my intended
    result.
    This
    project is one of my many assignments for my master thesis, so please i’ll
    appreciate every help as I’m not really efficient with LabVIEW programming but
    I prefer it because is fun and interesting if I get to know it.
    Currently I’m
    practicing with LabVIEW 8.6/NI DAQmx 8.8 Demo versions and NI USB 6509
    simulated device.
    Please see
    the attached file for my novice progress, thanks in
    advance for the support
    Rgds
    Paul
    Attachments:
    DIO_write_read DAQ from file.vi ‏17 KB

    What does your file look like?  The DAQmx write is expecting a single U32 value, not an array of I64. 
    Message Edited by vt92 on 09-16-2009 02:42 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal

  • Poor performance when using kde desktop effect

    Hey,
    I'm having trouble when using kde effet (system settings -> desktop -> desktop effects).
    I have a dual core E5200 3 ghz, 2 GB memory pc8500 and an HD4850 using fglrx driver, but I got incredible bad performance when using desktop effect and watching video, I can barely watch a 800x600 video in full screen mode without having bad performance, X getting up to 40% cpu usage.
    Its really like my graphic card isnt handling the rendering stuff but 3D acceleration is working, I can play 3D game without problem so far (as long as the deskstop effect arent enabled cause the cpu have like a hard time handling both for recent game)
    So I guess its some trouble with 2D acceleration or something like that, I read that some people had such issue, but I didnt figure a way to fix it.
    Here is my xorg.conf, in case something is wrong with it :
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "aticonfig-Screen[0]-0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "dri2"
    Load "extmod"
    Load "dbe"
    Load "record"
    Load "glx"
    Load "dri"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection
    Section "Monitor"
    Identifier "aticonfig-Monitor[0]-0"
    Option "VendorName" "ATI Proprietary Driver"
    Option "ModelName" "Generic Autodetecting Monitor"
    Option "DPMS" "true"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "ShadowFB" # [<bool>]
    #Option "DefaultRefresh" # [<bool>]
    #Option "ModeSetClearScreen" # [<bool>]
    Identifier "Card0"
    Driver "vesa"
    VendorName "ATI Technologies Inc"
    BoardName "RV770 [Radeon HD 4850]"
    BusID "PCI:8:0:0"
    EndSection
    Section "Device"
    Identifier "aticonfig-Device[0]-0"
    Driver "fglrx"
    BusID "PCI:8:0:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device "aticonfig-Device[0]-0"
    Monitor "aticonfig-Monitor[0]-0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Thank you for any help.

    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "ShadowFB" # [<bool>]
    #Option "DefaultRefresh" # [<bool>]
    #Option "ModeSetClearScreen" # [<bool>]
    Identifier "Card0"
    Driver "vesa"
    VendorName "ATI Technologies Inc"
    BoardName "RV770 [Radeon HD 4850]"
    BusID "PCI:8:0:0"
    EndSection
    and
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection
    I see no reason for those to be there.
    make a backup of your xorg.conf and remove / comment those lines.

  • Poor Performance when using Question Pooling

    I'm wondering if anyone else out there is experiencing
    Captivate running very slow when using question pooling. We have
    about 195 questions with some using screenshots in jpeg format.
    By viewing the Windows Task Manager, CP is using anywhere
    between 130 to 160 K worth of memory. What is going on here? It's
    hammering the system pretty hard. It takes a large effort just to
    reposition the screenshot or even move a distractor.
    I'm running this on a 3.20GHz machine with 3GB of RAM.
    Any Captivate Gurus out there care to tackle this one?
    Help.

    MtnBiker1966,
    I have noticed the same problem. I only have 60 slides with
    43 questions and the Question Pool appears to be a big drain on
    performance. Changing the buttons from Continue to Go to next slide
    helped a little, but performance still drags compared to not using
    a question pool. I even tried reducing the number of question
    pools, but that did not affect the performance any. The search
    continues.
    Darin

  • Poor performance when dragging item within a list loaded with images - Flex 4

    Hi,
    I have a custom built List component that is using a TileLayout. I am using a custom itemRenderer to load images into this list from our server (in this test, 44 images rae loaded). I have enabled dragEnabled and dragMove so that I can move items around within the list. The problem comes when I start dragging an item. The dragging operation is very slow and clunky.
    When I move the mouse to drag the item, the dropIndicator does not get refreshed for a few seconds and the movement feels like my PC is lagging pretty badly. I've also noticed that during this time my CPU usage is spiking up to around 25-40%. The funny part is I can scroll the list just fine without any lag at all, but the minute I drag the application starts to lag really bad. I do have some custom dragOver code that I used to override the dragOverHandler of the list control, but the problem persists even if I take that code out. I've tried with useVirtualLayout set to both true and false and neither setting made a difference. 
    Any ideas as to what could be causing the poor performance and/or how I can go abouts fixing it?
    Thanks a lot in advance!

    Ahh, good call about the Performance profiler. I'm pretty new to the profiling thing with Flex (haven't used Builder Pro before
    the Flex 4 beta) so please forgive me
    I found some interesting things running the performance profiler but I'm not sure I understand what to make of it all. I cleared the Performance Profile data when right before I loaded the images into the list. I then moved some images around and then captured the Profiling Data (If I understand Adobe correctly, this is the correct way to capture performance information for a set of actions).
    What I found is there is a [mouseEvent] item that took 3101ms with 1 "Calls" (!!!!). When I drill down into that item to see the Method Statistics, I actually see three different Callees and no callers. The sum of the time it took the Callees to execute does not even come close to adding up to the 3101 ms (about 40ms). I'm not sure what I can make of those numbers, or if they are even meaningful. Any insight into these?
    The only other items that stand out to me are [pre-render] which has 863ms (Cumulative Time) / 639ms (Self Time), [enterFrameEvent] which has 746ms / 6ms (?!), and [tincan] (what the heck is tincan?) which has times of 521ms for both Cumulative and Self.
    Can anyone offer some insight into these numbers and maybe make some more suggestions for me? I apologize for my ignorance on these numbers - as I said, I'm new to the whole Flex profiling thing.
    Many thanks in advance!
    Edit: I just did another check, this time profiling only from the start of my drag to the end of my drop, and I still see [mouseEvent] taking almost 1000ms of Cumulative Time. However, when I double click that item to see the Method Statistics, no Callers or Callees are listed. What's causing this [mouseEvent] and how come it's taking so long?

  • Poor performance - QT Player and Safari

    Ok, so I've been ignoring this issue on my computer for the longest time and I think it's time I got to the bottom of it.
    I'm using a Quicksilver G4, 733MHz, with 896MB RAM.
    Now, previously, prior to upgrading to Tiger, using Panther and QT 6.5 something, Quicktime worked pretty much flawlessly. I was so happy with it. After upgrading to Tiger such a long time ago, I noticed QT 7 wasn't nearly up to par and its performance was very bad.
    The real issue here is this: Whenever I watch a streaming movie downloaded from the internet, in Safari, it runs choppy. Choppy as in the framerate stutters considerably, the video will pause while the audio still plays, and it basically renders the video unwatchable. The workaround I've been doing all this time, is: downloading the video onto my desktop and playing it through VLC. (Which it does absolutely flawlessly, mind you.)
    Oh but it gets better - when I play these EXACT same video files in Quicktime Player - I get "improved" performance, but it still does the same thing: choppy video playback. Now, when I play these same streaming files in Firefox - they work, smooth as a baby's bottom. Quicktime's streaming plug-in works great. Doesn't make sense...
    On top of ALL that: After this problem was already engraved in my head after trying numerous troubleshooting (reinstalling latest versions of Quicktime, clearing caches, making a test user account, A&I, etc....) I eventually upgraded my computer, and put another internal 250GB HD in it. So I was basically starting from scratch - a complete erase and install of the HD.
    Lo and behold, Quicktime STILL did it. - same exact problem. So I gave up for a while and have been using VLC ever since. Or Firefox.
    So that's my problem guys - any suggestions would be nice, or if you'd like, just tell me to keep using VLC and/or Firefox as workarounds and don't even try to fix it. ¬_¬
    Quicksilver Powermac G4 733Mhz   Mac OS X (10.4.8)   894MB RAM, 250GB & 40GB HDs
    Quicksilver Powermac G4 733Mhz   Mac OS X (10.4.8)   896 MB RAM, 250GB & 40GB HD

    I do not use Safari. However, I found this troubleshooting technique in the MacAddict Magazine December 06 issue:
    To fix a QT related problem w/Safari, quit Safari & look in the /Library/Internet Plug-Ins folder (this is the Library folder at the root level of your HD, not the one inside your Users/user name folder).
    Try removing the VLC Plugin.plugin (if you have it) & QT Plugin.plugin files from this folder, & then relaunch Safari. If the problem isn’t fixed, a different plug-in may be to blame. Keep removing files from this folder (start with any third-party plug-ins that are present) until the problem disappears.
    Replace the plug-ins that don’t cause any problems.

  • Poor performance when accessing a MSAS 2008 cube via BI Server

    I am having an issue with performance when accessing a MSAS 2008 cube via the BI Server.
    I think it has to do with the way that the MDX is being generated.
    Please could someone advise on any settings I could try or any known issues with the integration?
    Thanks,
    Kim Sarkin
    [email protected]

    Hi Kim,
    Sorry I can't help out, but, I'm curious how you got the AS 2008 drivers installed for use with OBIEE? I have an AS2008 environment, but, my OBIEE version only supports 2000 and 2005.
    Thanks,
    Mark

  • [SOLVED] Older NVIDIAs - (quite poor) performance when watching movies

    I'd like to ask what packages and configuration you use to achieve the best performance for NVIDIA GeForce FX 5200, mainly for watching movies. I've come to this observation:
    Global parameters
    NVIDIA GeForce FX 5200 (AGP 4x, 128 MB)
    1680x1050, 60 Hz
    Pentium 4 2.4 GHz, 1 GB RAM
    SMPlayer 0.6.9 (SVN r3447)
    Used video: 1280 x 720, 23.976 FPS, fullscreen
    Windows XP (SP2):
    Driver: 16. 5. 2008 (version 6.14.11.7519)
    MPlayer SVN r30369
    Output method: directx(fast)
    Video: fluent
    Ubuntu 11.04:
    Driver: nvidia-173 (probably, Ubuntu is so confusing)
    MPlayer 1.0rc4-4.5.2
    Output method: xv
    Video: fluent but often with a diagonal break
    Arch Linux:
    Driver: nouveau
    MPlayer SVN r34426
    Output method: xv
    Video: goes to few FPS after a minute
    Last edited by nemamradfazole (2011-12-26 00:02:23)

    I'm not an A/v guy, but I think you can encode stuff in different ways and that might make a difference, so just because I haven't had any problems with 720p doesn't mean you're doing something wrong, maybe you're viewing higher-quality material.
    I don't get choppy video even when I'm maxing-out the cpu.
    mplayer --framedrop -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all
    is the magic incantation I use to view some 720p stuff on my other PC which has just and old, unsupported integrated Intel card. I get "almost-fluent but often with a diagonal break" video.
    Yes, this not 30fps 720p anymore, so I'm cheating ;P
    nemamradfazole wrote:I am curious, can you watch 1080p as well?
    Not really.

  • Error when ECO and BOM creation using IDoc

    Hi experts,
    now i am doing an interface about ECO/BOM creation and changing using IDoc.The idoc type is ECMMAS02 ans BOMMAT04.
    since i know a little about ECO/BOM, can anyone provide some good materials for me?
    and i don't know which fields are mandatory in idoc segment, so i go to tansaction BD30 to run a BOM changing. i input a change number but the idoc log shows that change number does not exist. what is the change number using? where i can implement the changes, e.g, change the quantity? should the change number be used when creation and changing? how can i get this change number?
    thanks a lot in advance!

    Hi experts,
    now i am doing an interface about ECO/BOM creation and changing using IDoc.The idoc type is ECMMAS02 ans BOMMAT04.
    since i know a little about ECO/BOM, can anyone provide some good materials for me?
    and i don't know which fields are mandatory in idoc segment, so i go to tansaction BD30 to run a BOM changing. i input a change number but the idoc log shows that change number does not exist. what is the change number using? where i can implement the changes, e.g, change the quantity? should the change number be used when creation and changing? how can i get this change number?
    thanks a lot in advance!

  • Ipad was erased. Now apps won't reload from backup, but show in the app window. They do't sync even when drag and drop is used.

    The iPad was lost but returned. In the interim, I sent an "erase" command to the iPad. When I got it back , all info was erased when turned on. I used my backup and restored it, but the applications will not install. I have tried clicking "install". I subsequently tried the drag and drop method. Each time I "apply" the changes, It will sync, but nothing happens as far as applications being installed.
    thanks.

    Having the same issue.  I got the iPad air and loaded apps from my phone but netflix didn't show up and won't open from the App Store

  • BIBean poor performance when using Query.setSuppressRows()

    Does anyone have experience in suppressing N/A cell values using BIBean? I was experimenting the use of Query.setSuppressRows(DataDirector.NA_SUPPRESSION). It does hide the rows that contains N/A values in a crosstab.
    The problem is that the performance degrades significantly when I started drilling down the hierarchy. Without calling the method, I was able to drill into the pre-aggregated hierarchy in a few seconds. But with setSuppressRows(), it took almost 15 minutes to do the same drill.
    Just for a comparison, I used DML to report on the same data that I wanted to drill into. With either 'zerorow' to yes or no, the data was fetched less than a second.
    Thanks for any help.
    - Wei

    At the moment we are hoping this will be fixed in a 10g database patch which is due early 2005. However, if you are using an Analytic Workspace then you could use OLAP DML to filter the zero and NA rows before they are returned to the query. I think this involves modifying the OLAP views that return the AW objects via SQL commands.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Is anyone able to explain really poor performance when using 'If Exists'?

    Hello all.  We've recently had a performance spike when using the 'if exists' construct, which is a construct that we use through much of our code.  The problem is, it appears illogical since if can be removed via a tiny modification that does
    not change the core code.
    I can demonstrate  
    This is the (simplified) format of the base original code.  It's purpose is to identify when a column value has changed comparing to a main table and a complex view
    select 1 from MainTable m
    inner join ComplexView v on m.col2 = v.col2
    where m.col3 <> v.col3
    This is doing a table scan, however the table only has 17000 rows while the view only has 7000 rows.  The sql executes in approximately 3 seconds.
    However if we add the 'If Exists' construct around the original query, like such:
    if exists (
    select 1 from MainTable m
    inner join ComplexView v on m.col2 = v.col2
    where m.col3 <> v.col3
    print 1
    The sql now takes over 2 minutes to run.  Note that the core sql is unchanged.  All I have done is wrap it with 'If Exists'
    I can't fathom why the if exists construct is taking so much longer, especially since the code code is unchanged, however more importantly I would like to understand why since we commonly use this type of syntax.
    Any advice would be greatly appreciated

    OK, that's interesting.  Adding the top 1 clause greatly affects the performance (in a bad way).
    The original query (as below) still runs in a few seconds.
    select 1 from MainTable m
    inner join ComplexView v on m.col2 = v.col2
    where m.col3 <> v.col3
    The 'Top 1' query (as below) takes almost 2 minutes however.  It's exactly the same query, but with 'top 1' added to it.
    select top 1 1 from MainTable m
    inner join ComplexView v on m.col2 = v.col2
    where m.col3 <> v.col3
    I suspect that the top 1 is performing a very similar operation to the exists, in that it is 'supposed' to exit as soon as it finds a single row that satisfies it's results.
    It's still not really any closer to making me understand what is causing the issue however.

Maybe you are looking for

  • Outputlen is not working in OO ALV

    HI, I need to optimize the alv grid column. But it displays the data element length. Kindly find below the code.                 ls_fieldcat-fieldname = 'MAKTX' .                 ls_fieldcat-scrtext_l = 'Material Description'.                 ls_fiel

  • Cloud Licensing - Can Adobe Acrobat 9.0.0 Standard / Professional both be used on Windows RDS 2012 R2?

    We have users that share a remote desktop server, Windows 2012 R2.   We use Adobe Acrobat 9.0.0 standard and professional.  Is there a conflict in software or legality for allowing our users both these programs simultaneously on the remote Cloud serv

  • Safari download speeds terrible compared to chrome

    Downloading anything in Safari is SO much slower compared to chrome. With safari, the max speed I'll get on any download of anything, from anywhere, is about 100kb/s. Switching to chrome straight after gives me my max speed of around 10mb/s.  Is ther

  • Does the adapter use power when there's no phone connected?

    Hi all, I was wondering: Does the Apple poweradapter consume electricity, when there's no iPhone (or iPad etc.) connected to it? I leave my adapters and cables in a poweroutlet all the time, which I can turn off but I was just curious about this. I r

  • Premiere Pro optimisation (hardware) questions

    Hello everyone. I have some questions regarding the optimisation of Adobe Premiere Pro with hardware. 1. what is more important for better PP performance - CPU or GPU? 2. what is better for PP performance - Intel i7 CPU with 2 cores and hyper-treadin