How to correct Query time estimate?

In Discoverer Plus 10g,
The dialog box tells me this query will take 2 hours and 16 minutes and it completes in 15 seconds!!! I verified next day and it showed same time and completed in 15 seconds. This misleads users to take wrong action. I have deleted all the statistics data for this report from EUL5_QPP_STATS table but still no luck.
Does anyone know how we can fix this estimate time?
Thanks,
Jay

Puppethead - All the tables were analyzed last month
Chinmay - This is not related to query prediction performance
Michael- There are only 1083 records in EUL5_QPP_STATS table. Do you still think its best idea to rebuild all 3 indexes?
This is a strange behavior - Now reports shows estimate runtime more than 3 hrs and completes in 30 seconds with data. Same query when i ran in the TOAD it took 9 mins to complete it.
Plus shows data in 30 seconds and TOAD takes 9 mins for same query!
Any idea on this?
Thanks,
Jay

Similar Messages

  • How to correct system time

    Hi
    Can any one help me how to correct JVM time.. when we run interface at 14.00 hrs, file has been created with date and time stamp like 20090112-020012 this way.. however i would be expecting 20090112-140012 . here if you see the difference, 12 hrs time format has been set.. that's why system never shows more than 12 hours. Although it's a silly issue, but want to understand where we are missing.
    Thanks

    Hi Chinna,
    Check this links for changing the date in the UNIX OS
    http://www.ddms.com/Resources/Support/faq/unix/unixtime.pdf
    http://www.ehow.com/how_2029191_set-time-unix.html
    Regards
    Ramesh

  • How to track querying time in ASO

    Hi
    I am working on an ASO cube and have lot of member formulas in the outline.
    The formulas are really big and could be modified with some tweeks.
    Now i want to check, whether on changing formulas, my querying time is increasing or decreasing. Is there any way or log file to track, how much time did it take when i query for set of members from my spreadsheet.
    I want to compare how much seconds/min did a querying event took.

    Dude,
    I believe the best practice here is going to be to Enable Query Tracking in the Essbase Database (Right-Click database > Query Tracking > Enable).
    At this point we typically write several report scripts that simulate queries against HFR reports, etc. that the business would be pulling on a daily basis (or other frequency). You can even schedule the report scripts so that they execute at some intense frequency to check how the server handles concurrent requests, etc.
    The query tracking output should then provide you with most of the infromation you seek.
    Be sure to turn off query tracking for that database after you've completed your testing/exercise as it add additional processing to the database which will slow down a production server.
    Some References:
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/eas_help/frameset.htm?qrytrack.html
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/eas_help/frameset.htm?dbwzagg_3.html
    If this was helpful or the correct answer please award points.
    Cheer,
    Christian
    http://www.artofbi.com

  • "Determining Query Time Estimate" takes long time.

    Is there any way we can turn it off? Actually query takes few seconds but it takes almost five minutes to determining time estimate.
    Does anybody know why it happens?
    Thanks in advance
    Naveen

    edit preferences and set QPPEnable to zero.
    Then apply the preferences.
    This should turn off query prediction.

  • How to increase query time out

    I have a report which is generated using a huge SQL, it is erroring while displaying results, due to time out error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1013, message: ORA-01013: user requested cancel of current operation at OCI call OCIStmtExecute
    How to increase this time so that the connection persists for a longer duration?
    thanks
    Rishabh

    I looked in the NQSConfig.ini file for you. In here you find the following:
    [ CACHE ]
    ENABLE     =     YES;
    // A comma separated list of <directory maxSize> pair(s)
    // e.g. DATA_STORAGE_PATHS = "d:\OracleBIData\nQSCache" 500 MB;
    DATA_STORAGE_PATHS     =     "/oracle/oaobi01/data/ontwbif1013/OracleBIdata/cache" 500 MB;
    MAX_ROWS_PER_CACHE_ENTRY = 100000; // 0 is unlimited size
    MAX_CACHE_ENTRY_SIZE = 1 MB;
    MAX_CACHE_ENTRIES = 1000;
    I think you can do something with this...
    You can find the nqsconfig.ini in this directory:<Install Drive>\OracleBI\server\Config
    Otherwise have a look in the Server Administration Guide, chapter 11

  • How to limit Query Time?

    Hello -
    How can I limit a query to run for only 30 seconds? I created a profile named LIMIT_CPU. I then put a resource limit on this profile for the CPU/Call to have a value of 3000. I assigned my user to this profile, ran the query, and I never can limit the time to 30 seconds.
    Any help with this is greatly appreciated!
    Thanks,
    Mike

    You cannot do that at least using resource profiles. You can limit CPU time or I/O using resource profiles. Also remember that CPU_per_call and logical_reads_per_call means - if you get at least one row back in allowable limits Oracle resets the counter and starts again i.e. from Oracle docs: "CPU_PER_CALL Specify the CPU time limit for a call (a parse, execute, or fetch), expressed in hundredths of seconds". The same applies for logical_reads_per_call.
    I have succesfully used these limits setting some sensible value for one of our OLTP app. It mostly was necessary for searching - if a user gives some very bad criteria, then prevent him to slow down all other users. CPU_per_call and logical_reads_per_call together with maximum returned record count (tipically 100) for search works very well for us and the message we give to user in case he exceeds the limit is something very general - "your search query exceeded allowable resource limits".
    Gints Plivna
    http://www.gplivna.eu

  • How to correct the time on a bunch of photos?

    I have imported a bunch of photos, but the time of the camera was not correctly set.
    Now I have to change the time of each photo by adding 4h 45'.
    Is there an efficient way to do this?
    (There is Photos → Batch Change... but this offers to add x minutes between photos. I have no idea what this means).

    Photos -> Adjust Date and Time does the job.
    Regards
    TD

  • I've tried downloading iOS5 several times and after an hour each time I get a message that says my network connection has timed out.  But I can't find any information about "timing out" or how to correct the situation.  Any help?

    I've tried downloading iOS5 several times and after an hour each time I get a message that says my network connection has timed out.  But I can't find any information about "timing out" or how to correct the situation.  Any help?

    Disable your antivirus and firewall, and try again.

  • Every time I download a file to my macbook pro, it saves it to downloads but changes the name and inserts % sign.  Please advise how to correct the name that it is saved under.

    Every time I download a file to my macbook pro, it saves it to downloads but changes the name and inserts % sign.  Please advise how to correct the name that it is saved under.

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID.
    Apple ID FAQs
    http://support.apple.com/kb/HE37

  • I delete an individual message but the time I received the message is still showing next to the persons name in my inbox instead of going back into the correct date/time order. Anyone know how to fix this?

    I delete an individual message but the time I received the message is still showing next to the persons name in my inbox instead of going back into the correct date/time order. Anyone know how to fix this?

    SOLUTION
    Open "terminal" on your mac and type the following:
    defaults write com.apple.mail IgnoreSortOrderWhenSelectingAfterDelete 1
    (copy and past the whole line)
    This will stop that behaviour in mail. 
    It works on most opperating systems.
    mine is.
    Mac OSx 10.7.2 Lion
    Cheers

  • I am trying to upgrade from Tiger to Snow Leopard.  When I insert the disk and install starts, it states "This disk is used for Time Machine backups" and Mac OSX can't be installed.  Does anyone know how to correct this (since Tiger doesn't have Time Mach

    I am trying to upgrade from Tiger to Snow Leopard.  When I insert the disk and install starts, it states "This disk is used for Time Machine backups" and Mac OSX can't be installed.  Does anyone know how to correct this (since Tiger doesn't have Time Machine)?

    http://support.apple.com/kb/TS2986

  • How to measure query run time and mnitor performance

    Hai All,
                   A simple question. How to measure query run time and mnitor performance? I want to see the parameters like how long it took to execute, how much space it took etc.
    Thank you.

    hi,
    some ways
    1. use transaction st03, expert mode.
    2. tables rsddstat*
    3. install bw statistics (technical content)
    there are docs on this, also bi knowledge performance center.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
    BW Performance Tuning Knowledge Center - SAP Developer Network (SDN)
    Business Intelligence Performance Tuning [original link is broken]
    also take a look
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c8c4d794-0501-0010-a693-918a17e663cc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/31b6b490-0201-0010-e4b6-a1523327025e
    Prakash's weblog on this topic..
    /people/prakash.darji/blog/2006/01/27/query-creation-checklist
    /people/prakash.darji/blog/2006/01/26/query-optimization
    oss note
    557870 'FAQ BW Query Performance'
    and 567746 'Composite note BW 3.x performance Query and Web'.

  • How to get Query response Time?

    II am on BI 7.0. I ran some queries using RSRT command. I want to find how much time the queries took.
    I went to
    st03 -> expert mode -> BI system load-> select today / week/month according to the query runtime day
    I do not see any Info Providers. Query was on a cube so why no Info Providers.
    Does something have to turned on InfoPorvider to show.
    When I look  in RSDDSTAT_OLAP table, I do see many rows but cannot make any sense. Is there some documentation on how to get total  query time from this table?
    Is there any other way to get query response time?
    Thanks a lot.

    HI,
    why not use RSRT ? You can add database statistics option in "Execut & Debug" and you get all the runtime metrics of your query
    In transaction RSRT, enter the query name and press u2018Execute +Debugu2019.
    Selecting u2018Display Statistics Datau2019 .
    After executing the query will return a list of the measured metrics.
    The event id / text describes the steps  (duration in seconds):
    "OLAP: Read data" gives the SQL statements repsonse time (ok - because the SAP
    application server acts as an Oracle client a little network traffic from the db server is included,
    but as far as you not transferring zillions of rows it can be ignored)
    But it gives you much more (i.e. if the OLAP cache gets used or not )...
    In the "Aggreagate statistcs" you get all the infoproviders involved in that query.
    bye
    yk

  • How to get query execution time without running...?

    Hi ,
    I had one requirement .... as follows ......
    i had 3 sql statements . I need to execute only one sql which execution time is very less.
    Can any one help me , how to get query execution time without running that query and without using explain plan..?
    Thanks,
    Rajesh

    Kim Berg Hansen wrote:
    But you have ruled out explain plan for some reason, so I cannot help you.OP might get some answers if query was executed before - but since restart. Check V$SQL dynamic performance view for SQL_TEXT = your query. Then ROUND(ELAPSED_TIME / EXECUTIONS / 1000000) will give you average elapsed time.
    SY.
    Edited by: Solomon Yakobson on Apr 3, 2012 8:44 AM

  • How to analyse the time taken for a query

    Hey gurus ,
                          How to find the time taken for a query to execute .
    Regards,
    Venkatesh

    Hi,
    Time taken to execute a query = FRONT END TIME + OLAP TIME + DB TIME.
    front end time is time taken to do format in BEX.
    olap time is time taken to aggegate data in OLAP buffer.
    db time is tme taken to collect data at data target.
    to fine all these information
    goto RSRT -> give query name -> execute+debug -> it will display all the fields > check fields what ever u want.
    Regards,
    Haritha.

Maybe you are looking for

  • Problem in OPENING file saved as .bmp(JFilechooser)  in PAINTBRUSH / WIN98

    hello Using the JFileChooser I saved the contents of a canvas as " .bmp" file now when I try to open this ".bmp" file in the paintbbrush application in windows, I am not able to open.,...... can anyone pls explain me why ?? how ??? also the vice- ver

  • HTTP Proxy setting for SOA server

    Hi, my intention is to enable SOA Server to connect through HTTP Proxy to external services. This occurred when I am trying to connect to Yahoo Mail Server, via User Messaging Service but it keep throwing connection time out. One of the possible solu

  • BEx Analyzer vs Query

    What is the technical difference between placing a restriction on an attribute within the a query vs. within the workbook? If I place it in the workbook, is the restriction done after the query is run and before the results are presented to the user,

  • Can we create Multi Tabbed excel Sheet using Crystal Reports 2008

    Hi,   We want to create a Crystal Report which will export the output as multiple Tab's ( we can use sub reports).  Can we create a Multi Tabbed excel Sheet using Crystal Reports 2008 ( not  Crystal reports Basic 2008). Please share any information/l

  • Problem displaying

    Hi, I have this issue: In EP's Knowledge Management, when attempting to open OpenOffice documents with the extensions *.odt and *.swx files, I will get a pop-up message asking me "do you want to open or save this file". In ths window, the filename be