Regarding Aggregates

Dear SDN's,
I have a Cube which regularly loading from R/3 every day with huge amount of data & cube has lot of aggregates.
Unfortunately Cube received lot of illlegal,bcoz of that we need to delete the whole data in the cube.
If we delete the data in the cube,what happens to the aggregates that are based on the cube?Is aggregates data also gets deleted ?
After deleting data from Cube,if we execute a report on cube whether it is going to receive data from aggregates ?
Thanks and Kind Regards,
Lakshman Kumar G

Hi Venkat,
Thanks for your valuable info..After deleting the data in Cube,if we make a report on the cube means the data i.e available in aggregates will come into picture ?
we have to delete the aggregates OR aggregates data also,as cube captured huge number of illlegal data ?
Thanks and Kind Regards,
Lakshman Kumar G

Similar Messages

  • Questions regarding aggregates on cubes

    Can someone please answer the following questions.
    1. How do I check whether someone is re-bilding aggregates on a cube?
    2. Does rebuilding an aggregate refer to the rollup process? Can it take a few hours?
    3. What does it mean when someone switches off an aggregate, basically what is the difference (conceptually/time consumption)between:
                            A. activating an aggregate?
                            B. switching off/on an aggregate?
                            C. rebuilding an aggregate?
    3. When a user complains that a query is running slow, do we build an aggregate based on the chars in rows & free chars in that query OR is there anything else we need to include?
    4. Does database statistics in the 'MANAGE' tab of a cube only show statistics or does it do anything to improve the load/query performance on the cube?
    Regards,
    Srinivas.

    1. How do I check whether someone is re-bilding aggregates on a cube?
    If your aggregate status is in red and you are filling up the aggregate - it is an initial fill of the aggregate and filling up would mean loading the data from the cube into the aggregate in full.
    2. Does rebuilding an aggregate refer to the rollup process? Can it take a few hours?
    Rebuilding of an aggregate is to reload the data into the aggregate from the cube once again.
    3. What does it mean when someone switches off an aggregate, basically what is the difference (conceptually/time consumption)between:
    A. activating an aggregate?
    this would mean recreating the data structures for the aggregate - this would mean dropping the data and reloading the data.
    B. switching off/on an aggregate?
    Switching off an aggregate means that it will not be used by the OLAp processor but would mean that the aggregate still gets rolled up. Rollup referring to loading changed data from the cube into the aggregate - this is done based n the requests that have not yet been rolled up into the cube.
    C. rebuilding an aggregate?
    Reloading data into the aggregate
    3. When a user complains that a query is running slow, do we build an aggregate based on the chars in rows & free chars in that query OR is there anything else we need to include?
    Run the query in RSRT and do an SQl view of the query and check the characteristics that are used in the query and then include the same into your aggregate.
    4. Does database statistics in the 'MANAGE' tab of a cube only show statistics or does it do anything to improve the load/query performance on the cube?
    Stats being updated will improve the execution plans on the database. Making sure that stats are up to date would lead to better execution plans and hence possibly better performance but it cannot eb taken for granted that refreshing stats is going to improve query performance.

  • 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

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

  • Regarding Aggregats Copy

    Hai,
    I want to copy the aggregates of one cube to another i know the programme name but i am executing that program it is asking for the technical name of the aggregate to be copied and it is asking <b>Aggregate(UID</b>).
    I am not undersatnding this <b>Aggregate(UID</b>).
    Can anybody help me ragrading this.
    Answers will be rewarded.
    Thanks in Advance.
    Regards.
    Vikram Singh.

    Hi Vikram,
    Check this post..
    How to create a New Aggreagte by copying old one
    Hope this helps...
    Award points if useful.
    Regards,
    Archna.

  • Creating aggregates in production !!!

    Hi,
    I have a quick question regarding aggregates. Can I create and fill data in production without affecting the original cube. how about the performance. if some users are running queries out of that cube is it going to affect them..
    thanks a lot. I will award points for the answers.
    AC..

    hi AC,
    as mentioned by Riccardo, suggested fill aggregate when
    no users access report from that cube.
    also take a look thread
    Initial filling of Aggregate
    mentioned program (by Ali) may useful
    SAP_AGGREGATES_DEACTIVATE: deactivate the aggregates of an infoCube
    SAP_AGGREGATES_ACTIVATE_FILL: activate and fill the aggregates of an infoCube
    hope this helps.

  • Reg Aggregate tables

    Hi Experts,
    I want small clarification regarding aggregate tables if i want to implement this which method i have i have to follow weather importing aggregate tables from DB to the physical layer or by using aggregate persistence wizard in RD itself.
    In which situations we have to go for importing and which situations we have to go for aggregate persistence wizard.
    Regards,

    You import the aggregated table's if you have them built already in the database and you use the wizard in order to create aggregate tables in the RPD that does not exist in the database. The utility automates the creation and initial population of aggregates, persists them in a back-end database and configures the BI Server metadata layer so that they’re used when appropriate. What’s particularly interesting about this feature is that you can create aggregates for, say, an Oracle database and store them in an SQL Server, DB2 or Teradata database

  • About xml and null values in 10g

    Hi, I have an UCM GetFile webservice component wich receives 4 arguments, two of them are null values (rendition and extraPops), and the xml request generated by obpm is:
    <GetFileByName xmlns="http://www.stellent.com/GetFile/">
      <dDocName>V_123410</dDocName>
      <revisionSelectionMethod>latestReleased</revisionSelectionMethod>
      <rendition/>
      <extraProps/>
    </GetFileByName>The problem is: On UCM web service, an empty tag like <rendition/> is treated like a "empty string" value, instead of a null value, and then the response i get isn't the expected.
    What I want do to is change this behavior, and when I put null values in requests, the obpm should not write those tags. Is that possible?
    Should be like that:
    <GetFileByName xmlns="http://www.stellent.com/GetFile/">
      <dDocName>V_123410</dDocName>
      <revisionSelectionMethod>latestReleased</revisionSelectionMethod>
    </GetFileByName>Thanks!

    Hi,
    I have question regarding aggregates. It's possible to read data from BW aggregates? We have webi reports on a SAP BW multi cube and we would like to optimize retriving query.
    >> Because you are using the BW Query as the source all the items that you have done so far in terms of aggregation, indexing, ... is all valid and there are no specific steps required to leverage it with Web Intelligence. Make sure the aggregates are "correct" meansing that they do reflect what you are asking for in the Web Intelligence query panel
    How can we filter in webi query null (#) values. If we create condition that some variabe is diffrent from # we still get null (#) values in report.
    >> You should be able to create a variable. in case you tried that already could you be more specific ?
    thanks
    Ingo

  • What are the ways to make Query run fast?

    Hi Experts,
    When a query runs slow, we generally go for creating an aggregate. My doubt is - what other things can be done to make a query run faster before creating an aggregate? What is the thumb rule to be carried out for creating an aggregate?
    Regards,
    Shreeem

    Hi Shreem,
    If you keep Query simple not complicate it with runtime calculations , it would be smooth. However as per business requirements we will have to go for it anyways mostly.
    regarding aggregates:
    Please do not use the standard proposal , it will give you hundreds based on std. rules , which consumes lots of space and adds up to load times. If you have users already using the Query and you are planning to tune it  then go for the statistics tables:
    1.RSDDSTAT_OLAP    find the query with long runtimes  get the Stepuid
    2. RSDDSTAT_DM
    3. RSDDSTATAGGRDEF  - use the stepuid above to see which aggregate is necessary for which cube.
    Another way to check ; check the users as in 1 to find the highest runtime users and find the last used bookmarks by user thru RSZWBOOKMARK for this query and check if the time matches and create the aggregates as in 3 above.
    You can also Use Transaction RSRT > execute & debug  (display stats ) - to create generic aggregates to support navigations for New queries and later refine as above.
    Hope it helps .
    Thnks
    Ram

  • Query execution not traced in ST03N

    Dear performance gurus,
    we want to perform some query performance checks in our BW 3.5 system. To measure the impact of aggregates and eliminate the OLAP cache effect on runtime we execute the queries from the query monitor (rsrt). With "execute and debug" we can decide for each execution if we want to use agrregates or not and we can switch of OLAP cache usage.
    For what ever reason these executions are not shown in ST03N (Expert mode). If we run the same queries from BEx Analyzer, runtime can be analyzed. But in BEx we don't have the necessary options regarding aggregates and OLAP cache.
    Are you aware of any settings in RSRT or ST03N to get the executions out of the query monitor also displayed in ST03N??
    Thanks in advance
    Thomas

    while running the report user is facing the below error.
    "query execution was not successful"This is a generic error which is reported in few docs.
    Discoverer Viewer fails Moving Pivot Table Columns: Query Execution was not Successful [ID 948027.1]
    Query Execution Not Successful Error In Viewer, Runs In Desktop And Plus [ID 404974.1]
    Discoverer 10g (10.1.2.3) Plus/Viewer Cumulative Patch 7 (9112482) Readme For Linux/Unix [ID 821844.1]
    Launching A Worksheet In Discoverer 10g / 11g Plus/Viewer On Linux Fails With 'Contact with backend server lost' [ID 871012.1]
    Discoverer 10g (10.1.2.3) Plus/Viewer Cumulative Patch 4 (7595032) Readme For Windows [ID 822183.1]
    Discoverer 10g (10.1.2.3) Plus/Viewer Cumulative Patch 3 (7319096) Readme For Linux/Unix [ID 761997.1]
    Running Some Reports In Discoverer Plus/Viewer 10.1.2.2 Are Failing With "An error occurred while attempting to perform the operation. The operation did not complete successfully." [ID 733603.1]
    Discoverer Viewer 10g (10.1.2.3) Passes A Blank Parameter As 'NULL' When Using A 'Drill to Link' [ID 820003.1]
    Query Execution was not Successful Error When Running a Workbook [ID 550684.1]
    -ORA-01722 Invalid number.Please check the data type of the column or the data type of the records in the table/view and make sure it match the data type of the column.
    Thanks,
    Hussein

  • Aggregates on Non-cumulative InfoCubes, stock key figures, stock, stocks,

    Hi..Guru's
    Please let me know if  anybody has created aggregates on Non-Cumulative Cubes or key figure (i.e. 0IC_C03 Inventory Management.)
    I am facing the problem of performance related at the time of execution of query in 0IC_C03.( runtime dump )
    I have tried lot on to create aggregate by using proposal from query and other options. But its not working or using that aggr by query.
    Can somebody tell me about any sample aggr. which they are using on 0ic_c03.
    Or any tool to get better performance to execute query of the said cube.
    One more clarification req that what is Move the Marker pointer for stock calculation. I have compressed only two inital data loading req. should I compress the all req in cube (Regularly)
    If so there would be any option to get req compress automatically after successfully load in data target.
    We are using all three data sources 2lis_03_bx,bf & um for the same.
    Regards,
    Navin

    Hi,
    Definately the compression has lot of effect on the quey execution time for Inventory cubes <b>than</b> other cumulated cubes.
    So Do compression reqularly, once you feel that the deletion of request is not needed any more.
    And ,If the query do not has calday characterstic and need only month characterstic ,use Snap shot Info cube(which is mentioned and procedure is given in How to paper) and divert the month wise(and higher granularity on time characterstic ,like quarter & year) queries to this cube.
    And, the percentage of improvement in qury execution time in case of aggregates is less for non cumulated cubes when compared to other normal(cumulated) cubes. But still there is improvement in using aggregates.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by: Anil Kumar Sharma

  • Re: How to Improve the performance on Rollup of Aggregates for PCA Infocube

    Hi BW Guru's,
    I have unresolved issue and our team is still working on it.
    I have already posted several questions on this but not clear on how to reduce the time on Rollup of Aggregates process.
    I have requested for OSS note and searching myself but still could not found.
    Finally i have executed one of the cube in RSRV with the database selection
    "Database indexes of an InfoCube and its aggregates"  and got warning messages i was tried to correct the error and executed once again but still i found warning message. and the error message are as follows: (this is only for one info cube we got 6 info cubes i am executing one by one).
    ORACLE: Index /BI0/IACCOUNT~0 has possibly degenerated
    ORACLE: Index /BI0/IPROFIT_CTR~0 has possibly degenerated     
    ORACLE: Index /BI0/SREQUID~0 has possibly degenerated
    ORACLE: Index /BIC/D1001072~010 has possibly degenerated
    ORACLE: Index /BIC/D1001132~010 has possibly degenerated
    ORACLE: Index /BIC/D1001212~010 has possibly degenerated
    ORACLE: Index /BIC/DGPCOGC062~01 has possibly degenerated
    ORACLE: Index /BIC/IGGRA_CODE~0 has possibly degenerated
    ORACLE: Index /BIC/QGMAPGP1~0 has possibly degenerated
    ORACLE: Index /BIC/QGMAPPC2~0 has possibly degenerated
    ORACLE: Index /BIC/SGMAPGP1~0 has possibly degenerated
    i don't know how to move further on this can any one tell me how to tackle this problem to increase the performance on Rollup of Aggregates (PCA Info cubes).
    every time i use to create index and statistics regularly to improve the performance it will work for couple of days and again the performance of the rollup of aggregates come down gradually.
    Thanks and Regards,
    Venkat

    hi,
    check in a sql client the sql created by Bi and the query that you use directy from your physical layer...
    The time between these 2 must be 2-3 seconds,otherwise you have problems.(these seconds are for scripts that needed by Bi)
    If you use "like" in your sql then forget indexes....
    For more informations about indexes check google or your Dba .
    Last, i mentioned that materialize view is not perfect,it help a lot..so why not try to split it to smaller ones....
    ex...
    logiacal dimensions
    year-half-day
    company-department
    fact
    quantity
    instead of making one...make 3,
    year - department - quantity
    half - department - quantity
    day - department - quantity
    and add them as datasource and assign them the appropriate logical level at bussiness layer in administrator...
    Do you use partioning functionality???
    i hope i helped....
    http://greekoraclebi.blogspot.com/
    ///////////////////////////////////////

  • Aggregate build suggestions

    Hello Experts,
    We are trying to do performance tuning on a BW3.5 setup ... Currently, we are focusing on queries and looking at the feasibility of building aggregates for performance improvement. We find that most queries see data at the very granular level as follows:
    Rows
    Profit centre group -> Profit Centre-> Product hierarchy level 1
    Columns
    Actual , Planed, difference.
    Now the proposal generated for the queries do not give profit centre group but only profit centre in the first dimension. Please note that profit centre group is a navigational attribute of profit centre( There is a message that says profit centre cannot be in aggregate because of presence of profit centre group)
    Now my question is , in order for these queries to hit the aggregate, should I introduce both Profit centre group and Profit centre in the aggregate? In doing so, will I risk creating a bigger aggregate?
    I am not sure if I am making sense. But please feel free to ask questions I will explain more if needed. My question to be precise is, whether all the characteristics required to view the data in a query needs to be present in the aggregate?
    Many thanks in advance for all your inputs..
    Regards,
    Solomon

    Hi Solomon,
    If your query has to hit the aggregate, then all the characteristics in the selection, filter, default values, rows, columns, used in RKFs, used in exceptional aggregation should be present in the aggregate.
    You can execute the query in RSRT ->Execute+Debug-> with Display aggregate found option.
    This will tell you exactly what are the characteristics those should be present so that your default view hits the aggregate.
    Needless to say, if you are planning to drilldown the report with any characteristic from the free characteristics, even that should be present in the aggregate.
    Now coming to your confusion on Profit centre and Profit Centre Group, Since profit centre group is already navigational attribute of profit centre you need not ( can not ) place that in the aggregate, when profit centre is already present.
    However, if the query is executed with this nav attribute, it will certainly hit the aggregate ( Can be checked in RSRT ).
    Thanks,
    Krishnan

  • Selective Deletion from Infocube Only (Not from Aggregates)

    Hi,
    For the Selective Deletion, i used the FM 'RSDRD_SEL_DELETION' in program. But this FM deletes the data first from Infocube then from aggregate.Because of this, deletion took more time to delete and adjust the Aggregate.
    I need an way in which i can delete the data from Infocube only and after i reach to my reconcile period then i will deactivate and actiavted the aggregate, so the data will be consistent in Infocube and aggregate.
    is there any to Delete(Selective Deletion) the data only from the Infocube not from its aggregate (for the Performance Point of View)?
    Thanks in Advance.
    Regards,
    Himanshu.

    Hi
    You can try manual selective deletion which will delete data from cube only. check out the below thread.
    steps fro selective deletion for cubes and ODS
    If you want to delete data from FM only, then try to deactivate your aggregates before you start your selective deletion.
    Once deletion is done, you can reload the aggregates
    Regards,
    Venkatesh

  • Report using aggregates or not

    Dear All,
    how to identilfy my report is using aggregates or directly getting data from cube .
    regards,
    Anil

    Hi,
    Go to rsrt>execute and debug>check display statistics data>execute query>go back.
    In infoprovider shows a number, it means it hits the aggregate.
    You can also chheck this in table RSDDSTAT_DM.
    -Mayuri

Maybe you are looking for

  • Disk Utility:  Backup to partition on external drive?

    Hi people. Would be glad of an answer and any comments on this. I have 3 Macs at home, a new G5 dual core and 2 G4 imacs, networked wirelessly. At this point I only backup my G5 to a second internal HD, by using Disk Utility's 'Restore' function. My

  • Refusing to trash events and error codes

    Trying to move an event to trash and got this message: This file could not be moved: /Users/johngraham/Movies/iMovie Events.localized/THE SABINA REPORT* ( Error code: -43 ) Any ideas? What is error code -43? Is there a composite list of errors?

  • Problems with 5800 software

    I bought my cell phone about three months ago, and everything has been working perfectly by now. However, about 4 days ago, I started having problems with software: every time I try to access messaging from the main menu, nothing happens; and this sa

  • Dynamic sel. screen

    Hi   I want to display 2 parameters(not radio buttons )on selection screen lets say F1 ,F2.   Now If I selct F1 then F2 must b invisible and viceversa. I need with code bcos i tried with SCREEN table and INVISIBLE  field in it.

  • Does Apple provide employee benefits such as educational allowances for their professionals' children?

    Do Apple employees receive benefits such as educational allowances?