Aggregates usage

gurus
i have to evaluate all my aggregates in production and get rid of few of them.
questions what i have is
when was the last time any query actually accessed my aggregate?
what are the queries which actually use this aggregate?
we do have statistics cubes active. i used the standard Aggregate usage query but i am not convienced with the data. it actually shows only one query has used my aggregate
i am trying to get information from RSDDSTAT and RSDDSTATAGGR tables but i am able to understand which of the available fields will answer my question
can anyone help me out please. would be great if you can be more specific
thanks

Are your queries on multiproviders?  I believe some of what gets captured for multiproviders has changed over versions and SPs, but not all aggregate usage gets logged in RSDDSTAT.  At one point MultiProvider queries that ran in parallel did not log the aggregate, and before that, a MP couldn't use an aggregate.  I'm not 100% certain what scenarios get logged, but if you think about it, a MP query could be hitting the multiple aggregates - both aggregates from the different underlying cubes and in some cases, different aggregates on the same cube for different Restricted KF.  Since BW is only logging to RSDDSTAT a single entry for that query navigation, it can't possibly reflect the use of multiple aggregates. I believe I saw a while back that indicated that in this case, no aggregate would be included on the record written to RSDDSTAT. 
An easy way to confirm this would be to look at the usage counts and last used date/time in the Maintenance for Aggregate window.  That will tell you how many times an aggregate has actually been used and the last time it was used.  These should give you a confirmation about which ones are being used the most.  This, unfortunately, is a total for the aggregate and is not at the query level.
You can compare the usage counts shown in the Maintenance of Aggregate screen (count is from the aggregate's creation/last change) with what you get from RSDDSTAT for the same timeframe.  I'll bet that for Multiproviders RSDDSTAT is too low.

Similar Messages

  • Does the Airport extreme provide any sort of usage reporting? Either per user or aggregate usage of the broadband port

    Does the Airport extreme provide any sort of usage reporting?  Either per user or aggregate usage of the broadband port

    No. You may be able to retrieve that information from your ISP.

  • Aggregate Usage Value

    Hi,
    Will the Aggregate Usage Value keep increasing as we use it in the query??I used it many times,it only shows the usage value as 1.

    RSRT is the best bet here. This will answer you following things:
    It allows to Execute & Trace queries in a debug mode with several   parameters -
    Don’t use Aggregates
    Don’t use buffer
    OLAP use
    Display SQL etc.
    Which Aggregates are being used?
    OLAP Cache usage?
    Which Statistics is generated?
    Hope this helps

  • Regarding Aggregates usage

    Hello experts
    I have created a aggregate on a infocube,(using proposal from query) but how do i check whether the
    aggregate is being used or not ??
    when i check the usage tab in the 'maintaince of aggregate ' it displays 0.
    Rgds
    Priyanka

    Hi
    If you have created an aggregate for an InfoCube, activated it and entered data for it, the OLAP processor can access these aggregates automatically when the query is being executed.
    If the aggregates are being used, you can see the Usage counter in aggregate maintenance incremented as and when the respective aggregate is used.
    Also check the Help link below for more details
    http://help.sap.com/saphelp_nw70/helpdata/EN/7d/eb683cc5e8ca68e10000000a114084/frameset.htm
    Hope this helps
    Regards
    Gaurav

  • Aggregate usage log

    Hi,
    i'm searching for the table with the information how often a aggregate of an cube is used, like it's displayed
    in the RSA1 -> Manage Infocube -> Rollup -> Aggregates.
    For all aggregates I get the information like "Last used"; "Usage".
    Is this information stored in a table?
    Kind regards
    Lars

    Hi,
    The stats table for aggregates are
    RSDDSTATAGGR
    RSDDSTATAGGRDEF
    You can also check them.
    Regards,
    Shyam.

  • Aggregate Usage

    Hi Guys,
    I had created an aggregate couple of days back.
    The roll up is happening every day. I can find also find when it was last used in the aggregate maintainence screen.
    However usage is displaying -ve. That means the aggregates is not effectively used. How can I use this effectively so that it will display the usage +ve.
    The aggregate and report granularity is exactly same then why the usage is not +ve.
    Please let me know.
    Regards

    Hi,
    Can you be more precise ?
    On what cube have you created your agregate ? Standard (business content) or custom one ?
    How the agrregate is built. What characteristics it contain ?
    Did you use expert mode while creating it ? If yes - it's possible that it works very fast despite low valuation. Some of my aggregates that are low valuated works very fast (I used expert mode while creating it).
    Regards, Leszek  

  • Aggregates Usage? How can we find out?

    Hi all,
    I would like to know which are all the cubes using the built aggregates.
    These should be seen in one place.
    At the same time, I would like to know whether the built aggregate is used by any cube or not.
    not in maintain aggregates. Other than that.
    not in RSRT also, there we can select Display aggregate found & can be checked whether the report is fetching the data from Aggr or Cube.
    Do we have any reports for this purpose or any Tcodes?

    Hi,
    If you want to check which all cubes have aggregates then go to RSDDAGGRDIR - Directory of Aggregates. The usage can be find for a particular aggregate can be find by going into that aggregate, there you will find a column Usage. You can check the usage there.
    Hope it helps you...
    Assign Points if it helps..
    Regards,
    Gattu

  • BW Statistics for aggregate usage

    Hello experts,
    can some one guide me on how the BW Statistics cube can be used to count
    1> the "No. of times an aggregate was used by the
    queries" .
    2> The % of the query users who hit a particular
    aggregate in a month
    A query on the cube '0BWTC_C02' with
    0TCTIFCUBE(InfoCube) in rows and
    0TCTSTAUIK(Frequency ) in coulumns doesn't yield the correct result for my aggregate.
    Is this the right way of getting the "No. of times an aggregate was used by the queries" or is there any other option.
    I'm aware that i can indirectly get these details from RSDDSTAT, but not sure how to use BW Statistics cube for getting this information.
    Please help
    Best Regards,
    Sanjay

    I don't see where the aggregate cube name is even captured in this cube. Personally, I think the whole BW Statistics thing comes up a little short of what it needs to be.
    RSDDSTAT is the only place I am aware of being able to get what you are looking for.  Haven't tried it, but you should be able to setup an Infoset on it for Bex reporting, or just download the data to Excel or Access as you probably have been doing. Or create your own statistics ODS/Cube that does capture what you need.
    Keep in mind, an InfoCube with multiple aggregates could have more than one aggregate used by a user query but only one aggregate will be captured in RSDDSTAT.
    Message was edited by: Pizzaman

  • With new Free Characeristics Aggregates are not being used

    Hi....i have a query from a multicube with two infocubes where i  have two aggregates one for each cube...in my query both aggregates are being used with no problems....when i add a new free characteristic that appers on aggregates something happens and the aggregates are not being used anymore...i dont understand why this happens because i know that ......free characteristics ....doesnt affects the aggregates usage....is this correct??? or not?
    Regards

    Since this is an open forum, not Adobe support... you need to contact Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • Inheritence / Aggregates / Class / Bean question

    Hi all, I'm wondering if anybody has tried/succeeded in the following:
    We have a User bean and a User class which we would like to map to one DB table with an aggregate. The user must be available un-aggregated in the mapping workbench for use by other classes which do not require the bean wrapper, so we created a ToplinkUser extending from User, which we turn on aggregation for. The bean then contains a value holder interface attribute dataObject, which we map TopLinkUser [using aggregation as said above].
    Potential issues:
    1) The plain User needs a PK mapping in the DB table, which then gets inherited by ToplinkUser, so the bean ends up with 2 writable PK mappings. The bean mapping must be writable to allow for sequencing.
    2) The User has a many to many Roles mapping which gets inherited by ToplinkUser and shows up on the list of fields that must be mapped in the aggregate usage inside the bean. Is it valid to point this back to the PK?
    Thanks in advance for any thoughts, tips, ideas, or someone who already knows it isn't possible.
    - Jesse

    1 - I'm not sure I follow the issue -- If you have inheritance setup on the descriptor, the mappings should not be duplicated in the subclass. You can override the super class mapping by right-clicking on the descriptor, and setting the visability on "Map inherited attributes".
    2 - It shouldn't have to be mapped, if there is a little "up arrow" on the mapping, that means it's inherited and mapped in the superclass.
    At runtime TopLink checks a descriptor for a mapping, and if it can't find it, if there is inheritance, it goes to the "super descriptor".
    - Don

  • Doubt regarding Aggregates

    Hello Experts
    I have created a aggregate in development enviornment on a infocube. When i execute the query and check the 'usage' tab in ' Maintainence of Aggregates '  it is non-zero, which means the aggregate is being used, but this usage counter is not getting incremented each time i execute the query...
    So my doubt is, is it that if a excute a given query let say 10 times...the corresponding aggregate usage counter should accordingly be increased to 10 ?
    Because in my case sometimes it gets incremented and some times not.
    Thanx and Regards
    Priyanka

    Hi Priyanka,
       Under the execute and Debug near the bottom is an option to not use cache. You should check that box, that way that test will not look in the cache for results. You can confirm that the cache was used or not becuase when the results were retrieved from OLAP cache, the DB Rows Selected and Rows Transferred counts in RSDDSTAT will be 0 but when it hits the aggregate or base cube, you'll have counts in those fields.
    If the query is able to retrieve results from the OLAP Cache, it will never actually go to the database (which is a good thing!)
    The pecking order a query uses is
    look in local cache for the results
    look in the Global OLAP cache
    look for an suitable aggregate
    go to the base cube
    Hope this will help you,
    Thanks,
    Ravindra.

  • Aggregate History

    Is the a place that store aggregate usage history?  I know you can get last used date in the aggregate maintenance screen.  The only problem is that the last used date gets reset when you do a roll-up. 
    Ultimately, what I trying to do is delete unused aggregates.  I want check if an aggregate has been used in the past 3 month.  If not I want to delete it.
    Thanks,
    Matt

    If you're on 3.x, the table RSDDSTAT should contain a row for each navigation of the query, and indicates if/which aggregate was used.  This does hold true for MultiProviders as only one row exists and a MultiProvider obviously could reference more than one aggregate, which is actually true as well for an InfoCube query that has multiple RKFs in it - each RKF could use a different aggregate depending on the RKF definition.
    Have to believe though this is captured somewhere else as well, because when you are in the Aggr Maint screen, it tells used the last date/time each aggregate of a cube was used.

  • Need help in SQL programming

    hi all ,
    we need a simple query which needed for avoiding the custom code in our Reporter Engine.
    Existing report :
    Aggregate Usage by Volume
    Tables involved:
    ent_host_disk_usage : (used mb of aggregate and volume mapped to the aggregate are in same table)
    netapp_volumes_to_aggregates_current : mapping between the aggregate and volume
    devices
    this should show the current and historical information based on the quick report selection .the existing report uses the
    current data for historical query also.
    solution we need:
    we need the template query to use the ent_host_disk_usage as the base table, so when the current option is selected it uses the ent_host_disk_usage_current table
    and when the summary options are selected it uses the ent_host_disk_usage table for both volume and aggregate.
    Who ever gives the best query will be greatly thanked
    Refer the below table for the example:
    disk_usage     table     
    filesystemid    usedmb    spType
    aggr     10000     aggregate
    /vol      100         FS
    c:        1000        FS
    aggr2   5000       aggregate
    d:        100         FS
    f:         200         FS
    e:        300         FS mapping     table
    aggregate name     filesystemid
    aggr1     /vol
    aggr1     c:
    aggr2     d:
    aggr2     f:
    aggr2     e:Report:
    name     used     vol     used
    aggr1     10000     /vol     100
    aggr1     10000     c:     1000
    aggr2     5000     d:     100
    aggr2     5000     e:     300
    aggr2     5000     f:     200Edited by: user11101052 on Apr 25, 2009 10:01 AM

    Hi, Thara,
    I see you added {code} tags to your original message. That's great! It's clearer now.
    It looks like you put {code} before and after every row of the table. That's not necessary. In the future, just type it once before the first row of a table, and then again after the last row. That will be a lot less work for you, and the message will be even easier to read.
    Sorry, I don't understand the problem:
    user11101052 wrote:
    The base table should be ent_host_disk_usage , so that it can be switched to current and history tables depending on the data that is being displayed.Are you saying that, for some rows, you'll want to join host_disk_usage to a table called "current", and for the other times you'll want to join to a table called "history"?
    There are a lot of ways to get those results. The simplest might be to always join ent_host_disk_usage to both tables (outer join, if necessary), and use a CASE statement to pick columns from either current or history.
    Another possible solution is to join ent_host_disk_usage to a UNION of current and history.
    Please post a little sample data and the results you would want if your tables contained only that data.
    Post just enough to show what the problem is: I'll bet 2 columns and 2 to 5 rows in each table could show what you want to do. Once you have an answer to the simplified problem, adding all the other columns that you really need will probably be trivial.

  • Once the aggregated cube how to run the query

    hai ,
    i had cube havind lot of data .
    so i was used aggregation .
    after that how to run  query from aggragated cube
    when ever i went to rrmx . but it has showing not aggregated cube.
    once aggregate the cube where is stored
    plz let me know

    InfoCube aggregates are <b>separate database tables</b>.
    Aggregates are more summarized versions of the base InfoCube.  There is an aggregate fact table, e.g.  /BIC/E1#####  ===>  /BIC/E100027.  If you don't automatically compress your aggregates, there would also be an F fact table /BIC/F100027,
    There are aggregate dimension tables that are also created, e.g. /BIC/D1000271.  If a dimension for the aggregate is the same as the base InfoCube, then there is no aggregate dimension table for that dimension and the queries will use that dimension table from the base cube.
    As long as the agggregate is active, the BW automatically will use it instead of the base cube as long as the aggregate contains all the characteristics necessary to satisfy the query. 
    You can verify the aggregate's usage by looking at info in table RSDDSTAT - it will show the Aggregate number if used (will not show aggregate usage for queries on a MultiProvider if you are on a more recent Svc Pack).
    You can also run the query thru RSRT, using the Exec & Debug option - check the "Display aggregate found" option and it will display what aggregate(s) it found and which one(s) it used.

  • BW Statistics queries Can any one help me

    Dear Gurus,
    I had Implemented BW statistics in my project.  Could u people send me any documents which contains some queries built on BW stats Info Cubes, and their uses(to analyze what they are used).  I am in urgent need of them So, Please help me out.  My mail ID is <b>[email protected]</b>
    Best Regards
    Mohan Kumar

    Hi ,
    Name of the workbook will be - BW Statistic 2.0 . And when u have installed Technical Content in the system it is always better to move all queries which is delivered as part of Technical Content .
    Then try to load some data to Statistics cubes in development and then execute the Workbook it will be give you idea of what does indivual Query does as workbook contains graphs showing Cube Usage, Aggregate Usage etc  . You can also go to each query change view and see how is it designed.
    Assign Points if it helps.....
    Regards,
    Vijay

Maybe you are looking for

  • Iphoto Slideshow Transfer to PC

    How do I transfer an Iphoto Slideshow Project, with edited photos in a preferred order, from my Ipad Air to my windows 7 PC?

  • MRP config for new Plant

    Hi, We have this plant which does not do any inhouse manufacturing. whta they do is inbound procurement against Sales orders or Forecast and Sell it to customers(trade). However they need MRP also for this senario to calculate the requirement dates n

  • I get a mesage when trying to download or update apps. "Unable to Download"

    I am trying to update and download new apps.  I get a error message - Unable to download Application -  "app name" could not be downloaded at this time. I went into my internet and added - http://www. apple.com certificate.  I also tried process agai

  • Call to mobile

    hi, i am new to java. i hav a task. i need to make a call from pc to mobile. is it possible to implement in java. is there any package available in java. please help me in doing this... tanx in advance... regards Rajan

  • Data Message

    What is going on with the data message that are sent from time to timefrom blackberry.  My experience is if a message is sent with a bad email address, I would receive the message until the server stops trying to deliver.  Thanks