Tracking queries using aggregates with BW Statistics queries

Hi,
I am trying to find out if I can run any reports against the BW Statistics cubes to figure out what aggregates are getting called from our queries. Any advise that you can provide is greatly appreciated.
Thanks,
Dinesh

Hi Dinesh,
  Check out this query
Aggregate Rollup
Query: 0TCT_MC11_Q0142
check here.........also............
http://help.sap.com/saphelp_nw70/helpdata/en/46/f9bd5b0d40537de10000000a1553f6/frameset.htm
Regards,
Vijay.

Similar Messages

  • Can we use aggregates with Virtual Characteristics?

    Hi,
      My question is "Can we use aggregates with Virtual Characteristics?"
    Is yes then how and if no then why not.
    Thanks for your contribution
    I have been researching the topic myself and I dont think its possible and even using OLAP cache is not possible.
    Message was edited by: BW Novice

    You can use aggregates with virtual characteristics. Just make sure that all the data you use for calculation is in the aggregate.
    Example:
    You have a query that shows MYVC (my virtual characteristic) in the rows and 0AMOUNT in the columns.
    MYVC calculates out of VCBASE1 and VCBASE2.
    An aggregate that consists of only MYVC doesn't work, an aggregate that consists of MYVC, VCBASE1 and VCBASE2 works.
    Best regards
    Dirk

  • Using Aggregates for OraBI Server Queries

    Hello!
    How to refine data in aggregates tables (created by "create aggregates ..." script) after the data in corresponding database tables was updated?
    Thanks

    Hi
    Aggregates will give a better performance for the BW queries.So you can use aggregates to increase the performance of the inout enabled queries also.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/70f4bb1ffb591ae10000000a1553f7/content.htm
    Please refer note: 1083175.May be it could be helpful.
    Regards, Hyma

  • How cn i found out the queries using aggregates..?

    Hi experts,
    I would like to know which specific queries are hitting the aggregates I have created. How can I achieve this?
    regards
    ankit

    Hi ankit,
    1) Go to RSRT transaction in BW.
    2) There, you select the query on a cube where you created an aggregate.
    3) Click the "Execute + Debug" button; you will be presented with checkboxes.
    4) Select "Show Aggregate Used." Also, check "No cache."
    5) Now click the tick mark.
    It will show you how many aggregates are there for the cube and how many aggregates are used for the particular query used.
    regards,
    Ani

  • 11g Database Adapter: How to make queries using LIKE with % (possible bug?)

    Hi there!
    Sorry if this has been answered before, but the forum search ignores '%' so I could not find anything relevant. I'm completely at a loss here guys so any help will be really appreciated.
    I've got a database adapter that executes a "pure SQL" query:
    select * from supplier t
    WHERE t.idsupplier = #idSupplierParam OR #idSupplierParam2 IS NULL
    AND t.name like '%' || #nameParam || '%' OR #nameParam2 IS NULL
    AND t.address like '%' || #addressParam || '%' OR #addressParam2 IS NULL
    AND t.description like '%' || #descParam || '%' OR #descParam2 IS NULL
    I've got a single record in my DB with name= 'supplier1'
    When I execute my bpel passing 'sup' as nameParam and nameParam2, everything is right and I get my supplier1 in the results.
    BUT if I pass 'asdfghj' as name, I still get my 'supplier1' in the results ¿¿¿???
    ¿Is this a bug? ¿Am I doing something wrong? Thanks in advance!!

    No, but thanks for trying. Iif you had read my post you'd had found that I wrote
    +When I execute my bpel passing 'sup' as nameParam and nameParam2+
    But I double checked against that just in case. I made a test query
    select * from supplier t WHERE t.name like '%' || #nameParam || '%'
    And no matter what I pass as nameParam, I always GET ALL THE RECORDS in my table. ¿Any idea what's going on? It's like param is being ignored and the query that is executed is select * from supplier t WHERE t.name like '%%' which would of course return everything in the DB. :(
    Help plz!!

  • Bw Statistics queries: (Runtime query)

    Hi,
    I works with BW statistics queries and need some details about Runtime query (0BWTC_C10_Q014).
    1) What is the key figure "Number Of Navigations" ?
    2) What is the key figure "Validity Period Cat." ?
    Thankfully,

    Number of navigations is the the nbr of times someone queries the cube, that is, they run the query - 1 navigation, the drill down on char A, that is 2 nav, they drill down on another, that is 3 navs.  Navigations get counted even if the data was retrieved from the OLAP Cache rather than having to go to the DB.
    THe online has help on the Chars and KFs of the BW stat cubes. I believe the Val per cat is a genral classification based on the how long the query took.  Can't remember the details, but I believe 1 is a very fast query, 2 is longer, 3 longer still, etc.  If you run the query looking at query times and the cat, you should be able to decipher to brackets for the values that go into each category.

  • Parallel Execution of  Sub Queries using WITH clause ?

    Hi ,
    For the below query is it that Oracle Optimizer executes "sum_data" and "avg_data" queries parallely ?
    WITH sum_data AS
    SELECT deptno, sum(sal) AS S FROM emp GROUP BY deptno ),
    avg_data AS
    SELECT deptno, avg(sal) AS A FROM emp GROUP BY deptno )
    SELECT sum_data.deptno, s, a, s / a FROM sum_data , avg_data
    WHERE sum_data.deptno = avg_data.deptno
    ORDER BY sum_data.deptno
    THANKS

    No, it doesn't.
    You can add the parallel hint to each query itsel to speed up the exuction of a given query. But the WITH clause has nothing to do with parallel, it only uses temp or memory to keep the data being processed and thus speeds up the performance.
    Edited by: DimaK on Feb 25, 2011 10:42 AM

  • Use dtd with multi queries in Reports9i

    Hi,
    How can i create a dtd file and an xml file for reports with multi queries i.e. join or seperate queries?
    thnx

    hello,
    not sure what you are asking for. do you want to know how to create such a file WITH or FOR reports ?
    the XML PDS can only consume rowset-row style XML data, so if you want to join XML data you will need multiple XML files or one file with associated XSLT to split it up at runtime and feed into different data sources.
    to generate XML, just use desformat=XML. we do not provide DTD generation though.
    thanks,
    ph.

  • Using Aggregate function in queries

    Hi all,
              Please take a look on this query and suggest me why i'm getting the error..
    This is my simple query using aggregate function in it..
    SELECT T1.NAME, T1.DESCRIPTION, SUM(T2.QUANTITY)
    FROM TABLE1 T1, TABLE2 T2
    WHERE T1.ID=T2.ID
    GROUP BY T1.NAME, T1.DESCRIPTION
    Above query added with a sub-query in the select segment..
    SELECT T1.NAME, T1.DESCRIPTION, SUM(T2.QUANTITY), (SELECT AVG(T3.PRICE) FROM TABLE1 TT1, TABLE3 T3 WHERE TT1.ID=T3.ID AND TT1.ID=T1.ID) AV_PRICE
    FROM TABLE1 T1, TABLE2 T2
    WHERE T1.ID=T2.ID
    GROUP BY T1.NAME, T1.DESCRIPTION
    When i add a sub-query which has aggregate function in it, i'm getting the 'ORA-00979: not a GROUP BY expression' error.

    What is your DB Version. Your query works without any issue in my DB. I used WITH clause to create the sample data. The query highlighted in BLUE is the actual query.
    SQL> select * from v$version where rownum = 1;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    SQL> with table1
      2  as
      3  (
      4    select 1 id, 'karthick' name, 'user name' description from dual
      5  ),
      6  table2
      7  as
      8  (
      9    select 1 id, 100 quantity from dual
    10  ),
    11  table3
    12  as
    13  (
    14    select 1 id, 10 price from dual
    15  )
    16  select t1.name
    17       , t1.description
    18       , sum(t2.quantity)
    19       , (
    20           select avg(t3.price)
    21             from table1 tt1
    22                , table3 t3
    23            where tt1.id = t3.id
    24              and tt1.id = t1.id
    25         ) av_price
    26    from table1 t1
    27       , table2 t2
    28   where t1.id = t2.id
    29   group
    30      by t1.name
    31       , t1.description;
    NAME     DESCRIPTI SUM(T2.QUANTITY)   AV_PRICE
    karthick user name              100         10
    SQL>

  • How to find out the top 20 queries used in a week

    Hi Guru's,
    I would like to know how to gather the information regarding the Top 20 queries used in the system per week, by a multicube.
    Note: I am using BI 7.0 and also Statistics are turned on.
    The aim is to pre-calculate these queries at night to help with the user experience.
    Thanks and regards,

    Hi
    U can check in RSZCOMPDIR if u did not find the info then go to se11 and give RSZ* and press F4 u will get all the tables which relates to reports
    Assign points if it helps
    Khaja

  • Currency Translation Type in queries using currency conversion

    I have a question on the Currency Translation Type (EUR_VAR) that is used in all of the queries using currency conversion on the fly. (currency is maintained automatically nor in table.)
    User wants to use 2 different exchange rates in a single query. The months in 2010 (Actuals) are to
    be converted using Xchangerate-type EURO and the months in 2011 (Planned) to use Xchangerate-type USD.
    But store different rates with different starting dates. This is however not possible because the Currency Translation
    Type is set-up (1) to work with Query Key date - rather than a characteristic in the data and (2) apparently these
    currency translation types only work with time characteristics like 0fiscyear
    My idea is therefor to:
    1. Create a new variable (similar to EXC_RATE) to prompt for a 2nd Exchange Rate type when query starts
    2. Create a new Currency Translation Type (next to EUR_VAR), referencing the new variable or sticking to fixed Xrate type, fixed to EUR
    Is this possible to create Idea (2)
    Many Thanks in Advance.

    The best way would be to create two curr conversion types , one converting to EUR and other to USD .Put them in properties of coressponding KFs in query.For timref in RSCUR , variable time ref can be used individually for two conv types.

  • Capture @@ROWCOUNT for all QUERIES using SQL AUDIT

    I have a requirement where the customer wants to audit all SELECT queries made to a specific table  and also capture
    "No of rows returned" for these queries made to the table. I was able to capture various SELECT queries happening in the database /Table using SQL AUDIT, Wondering if anybody can suggest how to capture no of rows affected along
    with it, Since we have numerous stored procedures in the system we wont be able to modify existing stored procedures.

    Good day Vish_SQL,
    There are several options that you can use, which fit different cases. for example:
    1. Using extended events (My prefered solution for most cases like this)
    2. Using profiler (older option)
    3. Using view (with the same name as the table, and rename the tables related to the issue) instead of the original table, adding to the view a simple function or SP (CLR for example). the function return the
    column value, but behind the  screen write information to another table. It is a very rare case that you need this option, and I can't recommend
    it.
    4. using applications like GREENSQL which give another level between the application and the SQL Server. The users connect to the server but the server do not listen to remote connection but the external app dose.
    In this case the app get the query and send it t the server (after security or monitoring if you need)
    * it was much simpler if you want to monitor delete, update, or insert for example, since in those cases you could work with AFTER trigger.
    ** I highly recommend you to monitor the application that connect to the SQL Server rather than the SQL Server. if you can.
    Check this:
    http://solutioncenter.apexsql.com/auditing-select-statements-on-sql-server/
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Spatial overlay queries involving tables with different spatial extents

    We are using GeoMedia Professional 6.1 with an Oracle 10g database. For validating geometry, we use a standard minimum bounding rectangle (MBR) that is fairly tight to our city boundary. Some city departments are requesting that we extend the spatial limits to create a larger MBR for some new features. This will involve using a new SDO_DIMINFO array in the MDSYS.SDO_GEOM_METADATA_TABLE and creating new spatial indexes. It is our intention to leave the existing features "as-is" with the original MBR and spatial indexes. I have done some preliminary testing in GeoMedia and have not run into any issues when doing spatial queries involving features with different MBRs. Spatial intersections, spatial differences and spatial filters seem to complete in a reasonable amount of time, even with large data sets. Does anyone have any experience using different MBRs with Oracle spatial overlay queries? Are there any other potential issues we should be aware of when working with tables that are created with different spatial extents such as performance?

    Luc ... Thank you for supplying the URL for Simon Greener’s website. This article supports information we already received from our GIS software provider.
    With regards to your questions: One of the checks carried out in our “ValidateGeometry” procedure is to ensure that a new or modified geometry is within the bounding rectangle defined by the SDO_DIMINFO. An error is raised if the user tries to add a polygon that is well beyond the city boundary rather than within the prescribed city area. Currently, we do not use different MBR’s as layer extents (there are only a couple of exceptions). We are in the process of conducting system and performance testing to identify potential issues that may be encountered when tables created with expanded upper and lower bounds are used in downstream applications such as intranet/internet web maps. We are still trying to identify any potential “hotspots”.

  • Poor performance of BLOB queries using ODBC

    I'm getting very poor performance when querying a BLOB column using ODBC. I'm using an Oracle 10g database and the Oracle 10g ODBC driver on Windows XP.
    I create two tables:
    create table t1 ( x int primary key, y raw(2000) );
    create table t2 ( x int primary key, y blob );
    Then I load both tables with the same data. Then I run the following queries using ODBC:
    SELECT x, y FROM t1;
    SELECT x, y FROM t2;
    I find that the BLOB query takes about 10 times longer than the RAW query to execute.
    However, if I execute the same queries in SQL*Plus, the BLOB query is roughly as fast as the RAW query. So the problem seems to be ODBC-related.
    Has anyone else come across this problem ?
    Thanks.

    Hi Biren,
    By GUID, are you referring to the Oracle Portal product?

  • Use of Variable - Refreshing the Queries in Workbook

    Hi All,
    I have a workbook which contains 5 Queries. All these queries uses the same variable. While I am refreshing all the  queries in the workbook, it pops-up the variable input screen 5 times.
    Here I just want the variable screen appear to be once and the same input be taken to all the queries.
    We are in 3.x.
    In 7.x Analyzer, I know that When you have multiple queries(with variables) embedded in a single workbook, we can use "Change Variables" icon to acheive the same.
    How can I achieve this in 3.5.
    Thanks in advance.
    Siva
    Edited by: Siva Reddy S on Jun 9, 2009 10:32 AM

    Hi Joke,
    Thanks for your reply.
    The option "save and reuse variable values" is something to do with the input values to save and reuse the same for the next time execution.
    Here I just wanted to input the variable at one query and the same value needs to be taken to all the queries. The Variable used in all the queries is the same one.
    Thanks again..
    Any body any inputs.
    Siva

Maybe you are looking for

  • Ipod touch 1st generation won't play on ihome doc

    I have a 1st generation ipod touch, 32GB.  I received an iHome for Christmas last year that states it is compatible with the 1st generation ipod touch however when I put it in the cradle, it connects and disconnects over and over.  I looked and iTune

  • Videos Uploaded to Ipod  - But No Image

    Hi there, Another classic question. I have now managed to get my first video on my ipod, short video clip, and I hear the sound of the video perfectly, but there is no image of the video it wont play, it just shows the video title in the centre of th

  • Explain plan change after partitioning - Bitmap conversion to rowid

    hi gurus, before partitioning the table using range paritioning, for the query, SELECT MEDIUMID           FROM MEDIUM_TB           WHERE CMREFERENCEID =8            AND CONTENTTYPEID = 8            AND CMSTATUSID = 5            AND SUBTYPEID = 99 A.

  • Printer Adobe PDF (Acrobat X)

    Hi! I am having problem printing an Illustrator file or Excel file into the Adobe PDF (Acrobat X, from Design Standar CS5.5). I'm getting an error that says: Can't find Adobe PDF ressource files, C:\documents and settings\user\application Data\Adobe\

  • NWDS - Partition Editing Not Possible Exception - Mapping Function

    Hi Experts, I am developing a BPM process trough SAP NetWeaver Developer Studio 7.2 SP04 PAT0015 using a remote NWDI track to edit it. I need to modify a mapping function, but when I begin to do it, the NWDS shows this error: Error Thu Jun 02 13:47:5