Aggregates for Cubes in Production

Hi,
My client has a few cubes in the production system that they would like to improve performance in. I was planing to build aggregates for them. Is it okay to build aggregates for Cubes already in the Production System, do i have to do anything before i transport the aggregates in the Production system (such as delete all data from Production)?
Thanks

Hi Dave,
Dependant on your Prod rights, you should be able to do it directly on the PROD box.
In most cases you would start of with looking at aggregate proposals from the system. With DEV data this would most likely never apply to PROD as well, as the one is test and the other live data.
Most clients always apply directly in PROD. You don`t need to reload or delete data. Just fill the created aggregates manually before the batch runs at night for safety sake...
And don`t collapse as yet! You could always delete the aggregates...but having the collapse set on as well, compressed data can not be altered or reverted on if required after wards.
Martin

Similar Messages

  • Help!Create Aggregates For Cube 0C_C03 Ocurs Eror

    When I create a aggregate for cube 0ic_c03, and fixed value to characteristic '0PLANT', Error occurs as following: ,how can I do?
    'acna': InfoCube '0IC_C03 contains non-cumulatives: Ref. char. 0PLANT not summarized
    Message no. RSDD430
    Diagnosis
    InfoCube 0IC_C03 contains key figures that display non-cumulative values. The non-cumulative values, however, can only be correctly calculated, if the aggregate contains all characteristic values of the reference characteristics (the characteristics for the time slice).
    System response
    The aggregation level was set to 'not aggregated' for the reference characteristics.

    Hi Shangfu,
    Info cube 0IC_C03 consists of non-cumulative key figures which means breifly the values are aggregated in run-time based on Time characteristics.
    Include time characteristics "0CALDAY" as part of the aggregate in addition to "0PLANT" object to avoid this problem.
    There are many OSS Notes explaining the purpose and usage of Non-cumulative key figures.
    Cheers
    Bala Koppuravuri

  • Aggregates for cube

    HI,
    How can we goahead for creating Aggregates for cube.
    IF large amount of data in cube or any other cases.
    Reg,
    Paiva

    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.
    Advantages: It speeds up the query performance because the query when executed first looks at the aggregate for data. If the data is not found it is then that the data from cube is fetched.
    Disadvantage:We need to maintain the aggregates each time a data load is done. The aggregate occupies space on the database.
    To go or not to go for aggregates primarily depends on the query performance. If the query performance is good and the response time is goodthen the aggregates are not needed.
    For more info refer:
    http://help.sap.com/saphelp_nw04/helpdata/EN/7d/eb683cc5e8ca68e10000000a114084/frameset.htm
    check this links u will get idea abt aggregates
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e55aaca6-0301-0010-928e-af44060bda32
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cbd2d390-0201-0010-8eab-a8a9269a23c2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2299d290-0201-0010-1a8e-880c6d3d0ade
    and check
    Refer this thread for for info:
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/topusers.jspa%3FforumID%3D132
    Re: Performance ....InfoCube and Aggregates
    -Shreya

  • No records for cube in production!

    Hi,
    we have a strange ituation where in i am finding records for a cube in dev but not in production!
    i had transported right from infoobjects ( which i had added in dev for cube enhancements ) to update rules to production but still i did not find any records in production!
    can u pls tell me what could be the problem? or i had missed something in transportaion?
    Thanks,
    Ravi

    Hi,
    I don't understand.... Do you expect to see the same records in your cube in your prod sys than in your deve sys just by transporting the change?
    No: you have to load your cube with data in prod!
    or do you think that when adding a new IObj in a cube and transport the changes then the new IObj will be populated?
    No either, you'll have to reload your data.
    please describe in detail your issue
    hope this helps...
    Olivier.

  • How to enhace business content extractor for cube in production

    Hi All,
    I want to run report based on 0MATERIAL on two cubes 0PCA_C01 and ZCOPC_C08. I dont have 0MATERIAL in cube 0PCA_C01.
    Both of the cubes are in production. I am trying to enhance the data source 0EC_PCA_1 (for cube 0PCA_C01) to bring in 0MATERIAL.
    > Is this the right way to do it?
    If it is then, do i need to write the code in funciton module after appending the 0MATERIAL fields to the
    data source. does any body have the code or plz help me step by step to write the code in CMOD....which tables should i go to get the 0MATERIAL.
    > Most importantly, does enhancing the datasource 0EC_PCA_1 with omaterial affect the omaterial in the datasource for my second cube (can the same infoobject be in two data sources..bcoz master data is common for all cubes)....
    I want to do this right....as both the cubes are in production.....plz help me..
    Plz address any issues like data loss bcoz of enhancing datasource in production or something like that
    thanks in advance,
    > useful inputs will be rewarded

    Hi Aravind,
    You need to have a foreign key relationship with the base data to material to bring material no as a transaction data. There has to be a link from where you can extract the data. FIrst you see if this link is available in any other ods in BW itself. For example, if you have the vendor details in your cube, see if you can get the material from the AP ods. this depends on your implementation.
    If you do not drop the cube load, how will this value be updated to the old data. Assuming you are doing deltas, the new records coming in will have this data filled but the data that already sxisted will not have this data. So, I think you will need to drop the load.
    I know the amount of data could be huge but if you have to get the data from R/3 (this is if the data/link i mentioned above is not available in BW), you have to enhance the data source. In this case, you can not avoid datasource enhancement.
    You can create a Zmaterial and load it from 0material. This will not help you. By doing this, you will be creating another master data. Even if you include this master data zmaterial in your cube, since you can not map it in the update rules, it will not help you. See if you can lookup this value from some other ODS.
    Hope this helps.
    Thanks and Regards
    Subray Hegde

  • Aggregates for inventory cube

    hello
    Can I use aggreagates for inventory cube (non-cumulative)?
    thanks

    Hi,
    yes, you can suggest the aggregate for non cumulative (inventory cube) but with special care of time char.  You need to include all time char in aggregates.
    also see the help doc for details on how to use aggregates with non cumulative data model.
    Dev

  • Problems of using of Aggregates for Transactional Cube

    Hi,
    <b>Are there problems or disadvantages of using of Aggregates for Transactional Cube?</b>
    Tx.
    AndyML

    Hi,
    have a look at SAP's docu: http://help.sap.com/saphelp_nw04/helpdata/en/c0/99663b3e916a78e10000000a11402f/frameset.htm
    /manfred

  • How to create suitable aggregates for queries on multiprovider ?

    hi all,
    goal reduce db time of query and improve performance
    i have queries on a multicube. I have 5 cubes under the multiprovider. I having performance issue with one of the cubes.  it  had
    high slection/transfer ratio. The same cube had high 94% DB TIme. All the BW and DB indexes and stats are green. I chose
    the path of aggregates. when i tried suggest from proposal it is giving me query time and date range and i gave last
    3 days and  query time 150 sec. it is suggesting huge number of aggregates like 150 of them and not getting reduced much
    when i tried optimize funcitonality.
    The faulty cube had nearly 9 million records and 4 years of data
    1. generally how many aggregates do we need to create on a cube?
    2. how do i use propose from last navigation? it is not creating any aggregates
    3. is there a way for system to propose less number of aggregates?
    4. if nothing works i want to cut the volume of the aggregates base on years or quarters. how do i do that?
    i created with time charactersitic 0calquarter and dragged in ocal day and 0calmonth. activated and filled in ..but
    query is not hitting it when i do a monthly selection. i tried bringing in all the other dimensions...except line item
    dimenisons....no use ...it  is not hitting the manual aggregates in RSRT.the slection on 0calquarter is * .
    5. should i change it to fixed value and bring in the line items too and create it?
    6. I wanted to try propose aggregate from query option..but  my query is on multiprovider...and not able to copy it to cube..
    plz help me how to find the suitable aggregates for query on multiprovider
    7. should i create any new indexes on the cube using the chractrestics in the where condiotion of select statment...but in
    that case, select statement changes with drill down.......how do i handle it ?
    8. how will i make sure the aggregates work for all queries run time imporvement?
    9. plz suggest other approaches if any with procedures
    this is a urgent problem plz help...
    <b>thanks in advance
    points will be assigned for inputs</b>

    1. generally how many aggregates do we need to create on a cube?
    it depends on your specific needs, you can need none or several.
    2. how do i use propose from last navigation? it is not creating any aggregates
    Can you elaborate?
    3. is there a way for system to propose less number of aggregates?
    In any of the menus of screen for creating aggregates you have an option for sytem propose aggregates for one specific queries i am not sure it worked with multicubes.
    4. if nothing works i want to cut the volume of the aggregates base on years or quarters. how do i do that?
    You should delete 0calday from aggregates in order to accumulate data for any greater time unit. Other solution for times is to study try to do a partition in cube.
    5. should i change it to fixed value and bring in the line items too and create it?
    Can you elaborate?
    6. I wanted to try propose aggregate from query option..but my query is on multiprovider...and not able to copy it to cube..
    Answered before, maybe you can create a query only with data on that cube that appears in multicube query in order to proposal any aggregate in thath cube.
    7. should i create any new indexes on the cube using the chractrestics in the where condiotion of select statment...but in
    that case, select statement changes with drill down.......how do i handle it ?
    is not recomendable create new indexes in multidemensional structures. Try avoid selections for navigational attributes, if necesary add navigate attributte as dimension attributes, put filters in filter section in BEX.
    8. how will i make sure the aggregates work for all queries run time imporvement?
    try transaction st03
    9. plz suggest other approaches if any with procedures
    Some other approches yet answering
    Good luck

  • How to populate data in TargetCube from SourceCube for a particular product/currency dimension selected in form1.

    Hi,
    Need help regarding Business rule scenario "How to populate data in "Target Form (plantype2)" from "Source Form(plantype1)" for a particular product/currency dimension combination selected in form1"
    Scenario 1) :  I have data for Product(Computer)/Currency(USD) dimension combination in Source Form
                        When i open Target Form and then select a Product(Computer)/Currency(USD) combination and then right click on form to invoke a Business rule to get data for this same                     product/currency combination from Source Form.
    Scenario 2) : If there isnt any data in Source Form for product(Computer)/Currency(USD) combination, then the data for product(computer)/Currency(Default Currency) to be populated into Target                     Form.
    The members in Currency Dimension (Shared Dimension) are USD & Default Currency.
    Can anyone please help.
    Thanks,
    Rajkumar

    Adding to what Celvin Kattookaran has said
    You can either write a Business Rule / Calculation script with @XREF function and also you can check condition if there is data in USD then populate USD else "Default currency"
    If you want that data in source to be available in target, then you can use @XWRITE in a rule from source cube to push the data to Target.
    Amarnath
    ORACLE | Essbase

  • How to know  Whether Partition is done for Cube or not

    Hi All,
    I need information regarding Partition of a cube.
    a)How do i know the Partition is done or not for Cube
    b)On what basis we should make parttion of Cube.
    Thanks and Regards,
    C.V.

    There are several threads on partitioning, so it would be a good start for this question (as with any question) to search the BI forums on "Partitioning" and review thsoe first.
    Some basic considerations on partitioning -
    - Your DB must support Range partitioning to permit partitioning your InfoCube. The option will be greyed out if it is not available.
    - InfoCube must be empty to be partitioned.
    - InfoCube can only be partitioned on 0FISCPER or 0CALMONTH.  You can define it so that you have a partition for each month/fiscper, or so that each partition will hold a few or several months of data.
    - Generally, you would not partition small cubes.
    - Thru BW 3.5 Aggregates automatically get partitioned the sme way the InfoCube is partitioned as long as the partitioning characteristic is in the aggregate.  In 2004s, I believe you have options as to whether an aggregate gets partitioned or not.
    - Partitioning may be done for query performance reasons and data administration.  If the queries on the InfoCube regularly run with restrictions/filters on the partitioning characteristic (FISCPER or CALMONTH), the database will "prune" any partitions that do not contain the FISCPER/CALMONTH value(s), so that it does not need to consider them , e.g. most of your users only run a sales query for the current and previous month, but your cube contains 3 years of data.  By partitioning on CALMONTH (we'll assume 1 partition / month), the database will exclude all but the two partitions from consideration.  This could help query performance a lot. or maybe only a little, depending on a variety of other factors.
    Again - it is important that the queries restrict onthe partitioning characteristic to be of any value on query performance.  So don't partition on FISCPER if all the queries use CALMONTH for restrictions.
    The data adminsitration reason you might partition is to improve selective deletion or archiving time.  These processes are capable of using a DB function to Drop the partition, which quickly removes the data from the cube, rather than having to run a resource intensive Delete query.  This only happens if you deletion/archiving criteria is set to remove an entire partition of data.
    Again - review the other threads on the BI forums on Partitioning.  Most questions you have will already have been asked and answered before, and post again on SDN if there is something you still have a question about.

  • BI beans does not use QUERY RERWITE for cube

    Hello!
    First of all I would like to say big thanks to Keith for help on dimension rollup. It works now.
    I am creating a pilot environment with
    Oracle      10.2.0.3
    OWB 10.2.0.3
    SS Add-in 10.1.2.2
    and one cube ST_R and three dims
    DIM_R_NOMA for products
    DIM_R_CIDI for stores
    DIM_R_TIME for time
    Now I have deployed dimensions and cube to CWM2. Dimensions are working quite well. I would say even better than in MOLAP. About 1 second for rollup on 2000 members in level.
    Now I am facing second problem. I can not force BI beans (which is used in SS Add-in and Disco and OWB browser) to use summaries prepared by DBMS_ODM package.
    1/ I have prepared MV LOGS for dimension and fact tables
    2/ I have prepared MV for dimensions using DBMS_ODM
    3/ I've prepared materialized view for cube aggs. with
    DBMS_ODM.CREATESTDFACTMV('WWHH','ST_R','ST_R.sql','C:\TEMP',true,'FULL');
    CWM2_OLAP_CUBE.set_mv_summary_code('WWHH','ST_R','GROUPINGSET');
    as described in OLAP REFERENCE on DBMS_ODM page.
    I explained all my MVs - they seem to be OK. They support
    REWRITE_GENERAL,
    REWRITE_FULL_TEXT,
    REWRITE_PART_TEXT
    There are no support for PCT rewrite etc.
    My user 'WWHH' has a privileges:
    ANALYSE_ANY
    QWERY_REWRITE
    GLOBAL_QWERY_REWRITE
    My database has setting
    QUERY_REWRITE_ENABLED=true
    Stale_tolerated=enforced
    all MVs and tables are analyzed.
    I do not use parallel settings on tables,MVs.
    to do some further analisys I've enabled olapcontinuous_trace_file. It generates some useful SQL statements from BI BEANS in UDUMP. These statements DO NOT resolve in MAT VIEW in explain plan
    Questions:
    Are there any settings for BI BEANS to turn on/off?
    Are there any other packages to create MVs?
    How to explain WHY MVs are not used?
    THanks everybody for cooperation.
    Regards,
    Kirill Boyko

    Keith,
    Thank you for response.
    I refreshed metadata, but no result. Again, dimensions are OK, but not cube. I am attaching explanation why it did no rewrite. This explanation is coming from
    dbms_mview.Explain_Rewrite
    QSM-01150: query did not rewrite
    QSM-01263: query rewrite not possible when query references a dictionary table or view
    QSM-01284: materialized view MV1125 has an anchor table DIM_R_TIME_V not found in query
    QSM-01102: materialized view, MV1125, requires join back to table, DIM_R_CIDI_V, on column, REGION_ID
    QSM-01219: no suitable materialized view found to rewrite this query
    QSM-01284: - is wrong. I have DIM_R_TIME_V in MView.
    Here is my MVIEW script from database:
    SELECT
    FROM
    WWHH.CAWHTB2 a,
    WWHH.DIM_R_CIDI_V b,
    WWHH.DIM_R_NOMA_V c,
    WWHH.DIM_R_TIME_V d
    WHERE
    b.STORE_ID = a.CIIDCA AND
    c.ARTICLE_ID = a.NMIDCA AND
    d.DAY_ID = a.CLIDCA
    GROUP BY GROUPING SETS ( ...)
    Could you tell me where to check in metadata that MVIEW is correctly setup?

  • Aggregates for master data & Line item Dimension

    Hi i have question
    1     Can we create Aggregate for Master Data?
    2     Can we create Aggregate with Navigational Attributes?
    3     Can we create Aggregate with Line Item Dimension?
    4     How many dimension we can add with how many characteristics in it if we create a new Aggregate

    1 Can we create Aggregate for Master Data? - <b>No</b>
    2 Can we create Aggregate with Navigational Attributes? - <b>No</b>
    3 Can we create Aggregate with Line Item Dimension? - <b>No</b>
    4 How many dimension we can add with how many characteristics in it if we create a new Aggregate - <b>You can create a maximum of 13 dimensions in the cube.You can add as many characteristics for an aggregate,adding many characteristics in the aggregate is as good as having the query fetch data from the Cube instead of the aggregates.</b>
    Aggregates are subsets infocubes derived from the main InfoCube to increase the query performance.You can create as many aggregates you want in an InfoCube.
    For each aggregate,internally dimensions are created based on the selected characteristics.
    Take a look at this link for detail information...
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/eb683cc5e8ca68e10000000a114084/content.htm

  • Problem: Aggregates for repository by scheduling an aggregate creation job

    Hi dear OBIEE Gurus,
    I‘m trying to create my Aggregates for my repository by scheduling an aggregate creation job as shown in
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/aggpersist/aggpersist.htm
    env:
    1-     Oracle Business Intelligence Product Version 10.1.3.4.1 (Build 090414.1900)
    2-     Windows XP
    3-     Three separate repositories (OE, SH, & Sample Sales) running in parallel each on its own analytics deployment on one OC4J server
    +++++++++++++++++
    What is the problem:
    When I try to start the scheduled job I get following message:
    +++++++++++++++++
    Oracle BI Server
    Copyright (c) 1997-2009 Oracle Corporation, All rights reserved
    delete aggregates
    delete aggregates
    Statement execute succeeded
    create aggregates
    "ag_Salesfacts"
    for "SH"."Salesfacts"("Amount Sold")
    at levels ("SH"."ProductsDim"."Category", "SH"."TimesDim"."Times Detail", "SH"."CustomersDim"."State Province")
    using connection pool "orcl SH"."Connection Pool"
    in "orcl SH".."SH"
    create aggregates
    "ag_Salesfacts"
    for "SH"."Salesfacts"("Amount Sold")
    at levels ("SH"."ProductsDim"."Category", "SH"."TimesDim"."Times Detail", "SH"."CustomersDim"."State Province")
    using connection pool "orcl SH"."Connection Pool"
    in "orcl SH".."SH"
    Processed: 2 queries
    Encountered 1 errors
    [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
    [nQSError: 46036] Internal Assertion: Condition !m_factTable.IsNull(), file .\Src\SAAPAggrCube.cpp, line 46.
    Statement preparation failed
    ++++++++++++++++++++
    What have I done so far?
    ++++++++++++++++++++
    -     I went through all steps in the aforementioned tutorial, up to the point where it says “6. Verify that the job completes successfully in the Job Manager.”
    -     I set up the job in the scheduler
    -     I let run the job in the job manager, Which is where I get the error.
    -     I tried different combinations of fields, aggregations and levels, all with the same result.
    -     Manually starting the job has the same result: >D:\programs\oracle\obiee\server\Bin\NQCmd.exe -u Administrator -p Administrator -d AnalyticsWebSH -s D:\programs\oracle\obiee\server\Repository\create_aggregated_table_rk.SQL
    -     I tried to create aggregates in my other repositories, and found OTHER errors, but at least the aggregates were created there (to some extent)
    -     I looked in OTN for the error, found nothing
    -     Google does not know a thing about this
    Any ideas?

    Hi John,
    there is an OSS Note 453026 'No aggregate proposals for MultiCubes after query' that seems explaining your situation, but I think you aren't on the old 2.0/2.1 versions...
    John, I don't know how could I help you...
    If I find more, I'll write you at once !
    Bye,
    Roberto

  • Extraction for Cube 0PM_C05 requires customizing of table T_PMC05

    Hi can any body tell how to solve this error.
    Extraction for Cube 0PM_C05 requires customizing of table T_PMC05.
    Iam loading data to 0PM_C05 CUBE which has a datasource 0PM_PRM_PLCS_1 which is displaying as errors in source systems.
    This is a plant maintenence cube and ia replicated the datasource agian in BI Production and it is active.
    Edited by: manukonda anil kumar on Feb 17, 2011 5:45 AM

    Hi syed
                 Take the help of an ABAP person.
                 There will be same table resembling the name .
    So the data needs to be updated in the corresponding table .
    When the core people are updating data from different palnts and sites accross.
    In my case i haven't moved further.
    This is a configuration change form R/3 side where the data had to be fetched in the orrect table .
    Regards
    Anil .

  • Aggregates in CUBES

    Hi,
    Im trying to create aggregates in Cubes. I right click and go under "Maintain aggregates" . I choose the option for the system to generate them for me, when i do that a window pops up " SPECIFY STATISTICS DATA EVALUATION" what dates am i supposed to put in there for "FROM" im putting todays date, and for  "TO" do i put 12/31/9999 ? What is this for?
    Also what can i do to improve a DSO's performance?
    Thanks

    Hi............
    Do you have secondary indexes on your ODS?
    As mentioned above.........that will be the best way............
    I think you want to improve DSO performance to improve query performance...........if so......its a good way to proceed would be to have your reporting based on the InfoCube, or MultiProviders based on these InfoCubes .
    But this will be a bit of development work, and you will have to move the queries from the ODS to Cubes, deal with workbooks etc.
    Then you can also create aggregates..........because you cannot create aggregates on ODS........
    Check OSS Note 444287
    Using ODS will be performance hit in terms of Activation Time , Report Excution Time ( Tabular Reporting ) . Better to load the data from these ODS to Indiviual Cubes .......and then create a multiprovider of them and then report out from multiprovider . Since reporting from Multi-dimensional Structure is faster than Flat table reporting...
    Also check this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    Regards,
    Debjani.......
    Edited by: Debjani  Mukherjee on Sep 26, 2008 8:07 AM

Maybe you are looking for

  • Multiple crashes of latest iTunes

    My iTunes completly froze my machine 4 times in a short period of time today. I was doing some work and listing to music. Each time it froze it was while I was browsing albums in the cover flow. What was so annoying about it is that in every case it

  • I have updated iphone 4 to iOS 6 now itunes 10.7 on windows 7 does not recognize it

    Hi I have updated iphone 4 to iOS 6 and also updated itunes to 10.7, now when I connect my device via usb it does not appear in itunes. I have followed all the advice in troubleshooter including uninstalling and reinstalling itunes but it still doesn

  • XI- web Scenario

    Hello..    In SAP->XI->Webservice scenario..... I have a function module in SAP which will give XML as out put...i have to take that XML and send it to URL... Can any body help me what are the possibilities to configure this scenario in XI.. thanks..

  • Nokia 5800 gallery

    Is there any way of telling my Nokia 5800 to exclude certain areas or folders of the either the phone memory and/or memory card? Basically I use a program called MapNav.  It builds up a cache of map tiles which are PNG files.  Now when I use the Gall

  • Photo books - unplaced photos

    Hi. I just created a photo book with 100 pages, but I have still have several hundred unplaced photos in my book.  I want to create another book using only the unplaced photos from the first book.  Does anyone know how to do this?  Thanks.