Aggregate Roll Up and Compression

HI,
I am familiar with the basics of Aggregate Roll Up and Compression.
What I need to know is which one should follow the Other. I mean, should Aggregate Roll Up done before Compression or Vice-Versa ? What r the advantages of doing it in a particular order ?
Regards
Arjun

Hi Arjun,
Aggregate rollup must be performed befor the compression, it should not be vice versa.
The reason is, aggregate rollup is performed on a request basis, it needs request ID to rollup the data. Compression of the request in cube leads to loss of request ID as the data is compressed. Then the rollup is not possiable.
Please let me know if you need any more information.
Regards,
Pankaj

Similar Messages

  • Aggregation,Roll up and Compression

    please answer me the following question 
               what are the functions of aggregation,roll up aggregation and compression in an infocube....what is the relevance of zero factcount?

    Hi Manoj kumar,
    Aggregates.
    Aggregates are for performance purposes. when u cretae an aggregate based on certain charecteristics u have some indices generated based on this set of charecteristics,
    when u query based on this these set of charecteristics, the data retrival will be fast.  mostly aggregates are created for set of charecteristics that would be often used for querying.
    u can find out which are most used charecteristics from the transaction RSRD. this would suggest you on which charecters u can create aggregates.
    if u unnecessarily create aggregates on less frequently used aggregates its gonna consume disk and unnecessary time.
    Rollup.
    Rollup is for filling the aggregates. its basically to recreate the indices for the aggregates after each time u load data to an infoobject.
    rollup should be done after each time u load a target which has aggregates.
    Compression
    Compression is a process in which the data which is arranged on the basis of request number gets arranged on tha basis of keys.
    its mainly to save disk space.
    when u compress the requests , the records will  be unlinked from their request numbers and and u can never delete any data based on request number.
    Hope this helps you.
    Regards,
    Ranjith

  • Roll up and compression

    Hi friends,
    i have a scenerio like that i am extracting load from r/3  to bw i follow thes activites manually
    write now i am doing manually .  steps as follow
    1. execute the infopackage ( 2lis_03_bf to zic_c03)
    2. roll up request 2lis_o3_bf in cube zic_c03
    3.trigger the data load 8zic_c03 to zpur_c01
    4.compress request of 2lis_03_bf in cube zic_c03
    how can i automated in process chain
    can any suggested me these issue

    Hi Siva,
    you can use t-code RSPC.
    I think the following link's should help you with the procedure. Let us know if u have a specific question.
    process chains
    process chains
    Process chains
    http://help.sap.com/saphelp_bw30b/helpdata/en/ad/6b023b6069d22ee10000000a11402f/frameset.htm
    Re: Ho to make a variable mandatory or optional?
    Check these docs
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
    ****Assign Points If Helpful****
    Regards,
    Ravikanth

  • Roll up and Aggreagaes and Compression on transactional Infocubes

    Hi Frineds,
    I want to know about like whether Roll up and Compression is possible or not on Transactional Infocubes?
    Please confirm the correct one.
    I know this is very basic one but i want exact answer.
    Will assign the points.
    Thanks in advance.
    Regards
    SAPSEM

    Hi,
    of course u can build aggregates, can do compression on transactional info cubes because transactional info cube is also a basic cube with planning allowed.
    as we can do loading for transactional cube we can build indices, we can maintain aggregates do compression to improve query performance.
    go into manage of the transactional cube u can find everything same as basic cube.
    same performance tab,same rollup tab, same collapse tab.
    assign points if it helps.
    thanks,
    pavan.

  • Deleting Infocube request (already rolledup and compressed in aggregate)

    Dear All,
    I found that there is one request which has incorrect data. This request was updated in cube and rolled up and compressed in aggregates. Now I changed request status to red and deleted it. This deletion request is running from last 20 hours. I checked the job log and found that it has dropped all the aggregate tables and refilling them. Since this cube has around 12 crore records its taking too much time to complete. Can i load further data while this deletion is happening? What will be best strategy to handle this situation?
    regards:
    Jitendra

    Hi
    If your data is not compressed in your cube then the best way is
    1) deactivate the aggregates
    2)delete the request from CUBE
    3) reload the data to cube
    4) fill the aggregates again
    If data is compressed in CUBE, then you can not do the request based deletion. the only way to do is selective deletion.
    When the deletion is work in progress, you can not load the data to the same target. target will be locked.
    Regards,
    Venkatesh

  • Difference Between Aggregates and Compression

    Hi,
    Can you tell me what is the difference between Aggregates and Compression?
    I know ,once compressed data is not available for deletion in request wise
    and it moves from  F table to E table .
    Aggregates means ,data will move from cube to aggreagates(Baby cubes).
    But my query is ,As both of them aggregates the data.which of them should be used. at what situation?
    I hope you understood my Query.
    Regards.
    Naresh.

    Hi,
    An aggregate is a materialized, aggregated view of the data in an InfoCube. In an aggregate, the dataset of an InfoCube is saved redundantly and persistently in a consolidated form into the database.
    Aggregates make it possible to access InfoCube data quickly in Reporting. Aggregates serve, in a similar way to database indexes, to improve performance.
    especially in the following cases we create aggregates:
    The execution and navigation of query data leads to delays with a group of queries.
    You want to speed up the execution and navigation of a specific query.
    You often use attributes in queries.
    You want to speed up reporting with characteristic hierarchies by aggregating specific hierarchy levels.
    For more info on aggregates go though the link below
    https://help.sap.com/saphelp_sem320bw/helpdata/en/c5/40813b680c250fe10000000a114084/frameset.htm
    Compression creates a new cube that has consolidated and summed duplicate information.
    2. When you compress, BW does a group by on dimensions and a sum on measures... this eliminates redundent
    information.
    3. Compressed infocubes require less storage space and are faster for retrieval of information.
    4. Once a cube is compressed, you cannot alter the information in it. This can be a big problem if there
    is an error in some of the data that has been compressed.
    For more info go though the below link
    http://www.sap-img.com/business/infocube-compression.htm
    Regards,
    Marasa.

  • Problem in Process chain due to Aggregate Roll-up

    Hi,
    I have a Infocube with Aggregates built on it.  I have loaded data in the Infocube from 2000 to 2008, Rolled up & Compressed the aggregates for this.
    I have also loaded the 2009 data in the same Infocube using Prior Month & Current Month Infopackage for which i am only Rolling up the aggregate and no Compression of aggregates is done.  The Current & Prior month load runs through Process chain on a daily basis at 4 times per day.  The Process chain is built in such a way that it deletes the overlapping requests when it is loading for the second/third/fourth time on a day.
    The problem here is, when the overlapping requests are deleted, the Process Chain is also taking the Aggregates compressed requests (2000 to 2008 Data), de-compressing it, De-activating the aggregates, Activating the Aggregates again, Re-filling & compressing the aggregates again.  This nearly takes 1 hour of time for the Process Chain to run which should take not more than 3 minutes.
    So, what could be done to tackle this problem?  Any help would be highly appreciated.
    Thanks,
    Murali

    Hi all,
    Thanks for your reply.
    Arun: The problem with the solution you gave is "Untill i roll-up the aggregates for the Current & Prior Month Infopackage the Ready for Reporting symbol is not appearing for the particular request".
    Thanks,
    Murali

  • BW : Question what is rollup and compress

    Hiii Guys ,
    I wanted to ask that what do you mean by Rolllup the cube and compress the cube..Why do u need it?what is its significance and how it is done?
    Plz let me know.
    Thanks & Regards
    MAdhavi S Bichakal

    Hi Madhavi,
    Roll Up :
    It is done if our cube has Aggregates. When you update your Cube with fresh data it must reflect in aggregates of that with that fresh data so for this we do Roll Up.
    If you do not perform rollup regularly, your report will show old data.
    Lets say that you have aggregates on your cube and all requests have been rolled up as of now. Lets say the latest request is 34256...All data is available for reporting now upto request 34256.
    Say you loaded your InfoCube again 4 times. These 4 requests are NOT available for reporting if they are not rolled up, even if the query uses aggregate OR NOT. So, if you run a query you will only get data upto request 34256, which was the last rolled up request.
    So, if you have aggregates, its a best practice to rollup into the aggregates at the earliest for your reports to show latest data, usually as a last step in the same process chain that you use to load your InfoCube.
    Compression:
    InfoCube has 2 fact tables: E and F.  F table has request number associated with each data load. When you compress the cube; data from F table is moved to E table. But request id is deleted from the data loads. Hence the data is stored in a compressed form.
    Advantage of cmpression is better query performance.
    Disadvantage: Once you move the data from F to E table; you cannot delete the data depending on the request number, you will have to use Selective deletion
    Hope it helps.
    Regards
    Hemant Khemani

  • Relation between Rollup and compression.

    Hi All,
    Is there a relation between rollup and compression ? i.e if i compress the cube, will the rollup job be faster ?

    Hi,
    Thanks for all your replies. Now the picture is crystal clear.
    1. A compression job moves data from F table to E table. This is also applicable for aggregates. If you schedule a compression job for a cube, the aggregates are automatically compressed( You can also compress aggregates of a cube without compressing the cube. There are programs avalibale for the same).
    2. Assume that you have not done compression . If you load the data to base cube ,it takes more time to create the indexes after loading.
    3) Assume that you have done compression . If you load the data to base cube ,it takes less time than 2 point to create the indexes after loading.
    On similar lines, if aggregates of a cube  are compressed before rollup, then rollup will be faster. This is what exactly I have experienced. I had a cube which had 1000 request. It was never compressed. The rollup job for the cube used to take around 60,000 seconds. I compressed 900 requests. Now the rollup job gets over in 2400 seconds.So the conclusion is the following:
    <b>When aggregates of a cube are compressed, the rollup job runs faster.</b>
    Message was edited by: Tej Trivedi

  • Aggregate switched off and deactivate

    hi guys,
    1. what is the difference between the aggregate switch off and aggrgate deactivate?.
    2. If I have more than one aggrgate and one of them is switched off what happens when roll up is done?
    3. for the same scenario what happens to roll up if i have one deactivated aggregate.
    4. Is reporting possible for switched off aggrates.
    Thanks in advance
    Ramesh

    Hi
    1. what is the difference between the aggregate switch off and aggrgate deactivate?.
    If u switch off the aggregates it wont be identified by the OLAP processor. report will fetch the data directly from the cube. And the aggregates and the data remain the same.
    If u deactivate the aggregates the data will be deleted from the aggregates and the aggregate structure will remain the same.
    2. If I have more than one aggrgate and one of them is switched off what happens when roll up is done?
    The data will be loaded to switched off aggregates also.
    3. for the same scenario what happens to roll up if i have one deactivated aggregate.
    The data will not be loaded to the aggregates. you have to do the initial fill by activcating the aggregates. Its like a init load.
    4. Is reporting possible for switched off aggrates.
    No reporting is not possible on swtiched off aggregates.
    Assign points if it helps
    Khaja

  • Aggregation, archiving and compression

    Hello,
    How important is it to begin the aggregation, archiving and compression setup before go-live of a BW-environment?
    Is it possible to do this after the cubes have been filled?
    We are going live after the weekend and haven't given this much consideration... The plan is to start thinking about this now, just after the go-live...
    Need I worry?
    Best regards,
    Fredrik

    hi Fredrik,
    aggregate, compression and archiving are done to improve performance.
    yes, we can do compression and rollup(after aggregate created) after cubes have been filled, and normally we will include this process in process chain, there are process type for this. compression and rollup are done after daily data filled in infocube.
    normally you can set cube for compression.
    aggregate is created based on query run examination.
    check the aggregate on query performance doc.
    Business Intelligence Performance Tuning [original link is broken]
    archiving, after go live we won't need archiving so soon,
    archiving is done to historical data that not used.
    you can start include the compression in process chain,
    and evaluate you most used queries and see if aggregate needed.
    hope this helps.

  • Aggregate roll up

    Hi Guys
    I created an aggreagate for a info cube(which had data) which already has a couple of aggregates built on to it.I activated and filled my particular aggregate.My question now is my aggreagate ready for the query to use,or do i have to run "aggregate roll up".
    Thanks in advance
    Raju

    You probably don't want to set the Automatic aggregate rollp on an InfoCube if you have Requests daily that perform a full load, automatically deleting an idnetical Rques previously loaded earlier (e.g. day before), as this causes the aggregate to have to be refilled completely, and while that should happen automatically, it seems to be problem prone and can take a long time if the base InfoCube is large.
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • What is a Aggregate rollup monitor and a Dependancy rollup monitor

    Hi All,
    Can any one explain in simple what is a Aggregate rollup monitor and a Dependency roll up monitor in SCOM ?

    Aggregate rollup - Sums up all the monitors below it in some way. (you can report the status as best health
    state of any member or % of members in warning/error ie 50% so if there are 4 members below it 2 of them have to be in error for the parent monitor to be error)
    Dependency - The health is this depends on that status of everything below it.
    Cheers,
    Martin
    Blog:
    http://sustaslog.wordpress.com 
    LinkedIn:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Hello All... Back after a brief absence, things look a little bit different. I'm trying to take a 16 minute mini dv video and compress it for use on the web. I'm interested in any suggestions you may have on settings for the video and audio tracks. I'v

    Hello All...
    Back after a brief absence, things look a little bit different.
    I'm trying to take a 16 minute mini dv video and compress it for use on the web. I'm interested in any suggestions you may have on settings for the video and audio tracks. I've tried using Sorenson 3 (15 frames, key frames set to automatic, 320 x 240) for video and IMA 4:1 (mono) for audio. The resulting video looked great but the file size came in at about 255 Mb.
    Thanks!
    PowerMac G5 1.8 Dual   Mac OS X (10.4.3)  
    Message was edited by: Dan Foley

    Thank you for the replies.  Everyone was correct about the jack, interface, and phasing problems.  I have been unplugging my motu audio interface and then using headphones at work.  I have not changed any detailed audio output settings in logic.  When I read that the jack might be a problem I tried switching headphones.  This actually helped.  I am using dre-beats headphones and they seem to be having issues with the mac/jack-(the phasing/panning problems.  I can use these headphones with other devices but not the mac.  I have to use ipod ear buds and the phasing seems fixed.  Hopefully this information is helpful to someone else. 
    If anyone knows how to correct this issue please let me know its difficult to know what my final mixes are going to sound like and I have had to keep bouncing everything into i-tunes- sync to ipod and then listen in my car radio. 

  • Can't access photos in camera roll - camera and  photo app crashes

    Have iphone 4 with iOS 5.0. Took pictures but now I can't access any photo in the Camera Roll. When I now try to take a picture, Camera app crashes. If I try to access the Camera Roll via Photo App, it too crashes. Can't see the photos from iTunes either. Shows it as unknown data. Is there anyway to rebuild the photo library or remove a corrupted photo since I think that is the problem. Any help would be appreciated.

    Thanks to Steve Kehlet who posted the solution that helped me and saved my day, https://discussions.apple.com/message/16405821#16405821
    Follow the link:
    http://www.iphoneincanada.ca/how-to/how-to-fix-iphone-camera-roll-crash-and-phot os-turned-to-other-in-itunes/
    You will need to download PhoneView, but the free 7 day demo does the job - and my camera and photo app are up and running again!

Maybe you are looking for

  • Yellow Battery Heating up

    Has anyone run into the Pearl battery heating up? My has done it a couple of times where the whole device is heated up because of the battery, I take out the battery, put it back in a minute later, it cools down, but the charge has completely drained

  • Print thru Airport Express under Fusion/Windows XP

    I have a MacBook Pro (10.5.2), Airport Extreme Base Station, and a new Airport Express with an attached HP color laserjet. No problem printing wirelessly from OS-X. However, also running Fusion with WinXP and have been printing from there for months

  • SAP R/3  Mapping

    Hi, I need to find the below field from R/3,but no idea how each means in SAP Field. I am not sure if we find this data in VBAK and VBAP .Could you please advise. Thanks for your help Field Name     Name of element      tax_auth_poo       Tax Authori

  • Why not build same function in Itunes as Spotify offers ..? I Would definitely buy me access on site.. :-)

    why not build same function in Itunes as Spotify offers ..? I Would definitely buy me access on site.. :-)

  • Employment Opportunity

    I am the Interactive Multimedia Instruction Section Manager for a DOD contractor in Huntsville Alabama, looking for an experienced multimedia developer. We develop computer and web-based training applications for the US military, and DOD. The company