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

Similar Messages

  • 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 track query variable input in FM

    Hi All,
    There are a MultiCube1 and a Query1 based on it.
    There is Virtual Infoprovider1 based on Query1.
    And finaly there is a Query2 based on Virtual Provider1.
    How to check inputed variables of Query2 in FM for Virtual Provider1.

    Hi,
    there is no way to read query variables in the is_protected method, since data slice run time and query run time are separated.
    Of course you can do the 'usual' trick by implementing an exit variable, export some variable values to memory and read it in the is_protected method.
    But is_overlapping is the correct method to read the used selection (of a query of planning function filter) to do some initializing work. This method is called when a function is processed or a query will be opened. Is_protetecd is called on a record basis, i.e. maybe very often.
    Regards,
    Gregor

  • 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

  • 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

  • HT1399 How can I stop my MacBook's iTunes from asking if I want to delete tracks each time I press to play one?

    How can I stop my MacBook's iTunes from asking if I want to delete tracks each time I press to play one? Is it a bug from iTunes's version 11.0.5?
    Since I dowloaded and installed iTunes' version 11.0.5 on my MacBook, it is behaving strangely:
    - displaying an alert message asing if I want to delete tracks each time I press to play one
    - not playing tracks in the order they're displayed in my library, sometimes jumping from one playlist to the other
    I did check my settings and preferences for playing tracks and tried changing some parameters in them, however it still doesn't help.
    It seems to be a bug in iTunes' version 11.0.5 — if you had a similar experience and found how to solve this discomfort, thanks for contacting me.

    Oui, je parle français. En fait, il semble qu'Apple ait résolu le problème auquel j'étais confronté car ce problème a disparu suite à la mise à jour logicielle d'après (désormais sous Mavericks).
    (It seems Apple solved the problem I was facing since this problem disappeared after I updated my software to/under Mavericks).

  • How to track signon in a query? XMLP-Doku?

    Hello,
    can anyone give me a brief example how to track signon in a query to limit data in the standalone version of XMLP? Unfortunatly the user manual (PDF) doesn't describe that. The threads in this forum which tell this quit short didn't work to me.
    Is there any other important manual or book about XMLP except the PDF user manual?
    Thanks in advance
    Ralf Kanis

    We wanted to trap the sign-on but oracle has the following response. I heard you can modify the xdo file but this solution is not a long term solution.
    Following is the reply from the development:
    There is a bug in XMLP 5.6.2 which prevents dynamically passing username in sql, and would be fixed in the next release. Also it req
    uires editing report file manually as the UI does not support this username bind
    ing in 5.6.2.

  • How to track the login time and logout times of clients

    hai
    please give me the solution
    suppose there are 5 systems connected in LAN.
    how to track the login time and logout times of clients
    for a given time(may be one day or 1 hour) using any programming language.
    please give me the solution

    When the client logs in you write the client's ID and the current time to a database. Likewise when the client logs out. Assuming of course that you have a program that knows when those events occur.

  • 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.

  • I got n-track long time ago with my apple id... how can transfer app from that apple id to the apple id im using now?

    i got n-track long time ago with my apple id... how can transfer app from that apple id to the apple id im using now?

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with one Apple ID with a new Apple ID.

  • How can you change track length times in itunes?

    I use itunes now for all music media, and have gone to the extraordinary pains of sorting and importing all of my music so that it is now all digitally stored...
    The curious thing is that in itunes, it reports some track lengths as being way longer than they actually are. It doesn't affect the playback, it just looks wrong in the listing in the library - for example - the U2 album, 18 singles, has some ridiculously long track lengths - like track 2 - Beautiful Day, which itunes says is 19:22 minutes. It plays normally, and ends after about 4 mins as it should, but is there a way to manually edit track length times?
    I've tried fiddling with the Get Info tab - "options" where you have the start and stop times, but this doesn't make any difference at all to the track lengths as listed in the main library. Any ideas?
    Compaq PIV 3GHZ HT   Windows XP Pro   3.5GB / 250GB / USB 2.0 / Firewire

    Most likely you converted these songs to MP3 VBR (Variable Bit Rate) using a program that does not properly set the VBR tags.
    Try this -> http://www.willwap.co.uk/Programs/vbrfix.php

  • How to make accurate time tracking in LabVIEW?

    I have developed a Program to accurately measure the time delay from the user. Here I am facing the difficulty of accurately tracking the time i.e., the program executes tor the time beyond the specified time delay (e.g., 5.55 sec). I have attached the developed code with this question. Please take a look and provide me the necessary solution.
    Thanks in advance.
    Ramkumar Damodaran
    Attachments:
    Time_Delay_Monitor.zip ‏60 KB

    Use "for loop" to solve the problem. see attach.
    When you feel sad, laugh
    Attachments:
    testssss.vi ‏75 KB

Maybe you are looking for