Cube Partition

Hi,
Can anbody please explain as to what criteria is used to specify the MAX. NO OF PARTITIONS when partitioning a Cube.

Hi
By using partitioning you can split up the whole dataset for an InfoCube into several, smaller, physically independent and redundancy-free units. Thanks to this separation, performance is increased when reporting, or also when deleting data from the InfoCube.
Only certain database providers support this function (for example, ORACLE, INFORMIX). If you use a database that does not support this function, then this function is not provided by the BW system.
Integration
Prerequisites
You can only partition a dataset using one of the two partitioning criteria u2018calendar monthu2019 (0CALMONTH) or u2018fiscal year/period (0FISCPER). At least one of the two InfoObjects must be contained in the InfoCube.
If you want to partition an InfoCube using the fiscal year/period (0FISCPER) characteristic, you have to set the fiscal year variant characteristic to constant.
See Partitioning InfoCubes using the Characteristic 0FISCPER
Functions
When activating the InfoCube, the fact table is created on the database with one of the number of partitions corresponding to the value range. You can set the value range yourself.
You choose the partitioning criterion 0CALMONTH and determine the value range
from      01.1998
to   12.2003
6 years * 12 months + 2 = 74 partitions are created (2 partitions for values that lay outside of the range, meaning < 01.1998 or >12.2003).
You can also determine how many partitions are created as a maximum on the database for the fact table of the InfoCube.
You choose the partitioning criterion 0CALMONTH and determine the value range
from        01.1998
to   12.2003
You choose 30 as the maximum number of partitions.
Resulting from the value range: 6 years * 12 calendar months + 2 marginal partitions (up to 01.1998, from 12.2003) = 74 single values.
The system groups three months at a time together in a partition (meaning that a partition corresponds to exactly one quarter); In this way, 6 years * 4 partitions/year + 2 marginal partitions = 26 partitions are created on the database.
The performance gain is only gained for the partitioned InfoCube if the time dimension of the InfoCube is consistent. This means that all values of the 0CAL* characteristics of a data record in the time dimension must fit each other with a partitioning via 0CALMONTH.
In the following example, only record 1 is consistent. Records 2 and 3 are not:
Activities
In the InfoCube maintenance choose Extras ® Partitioning, and specify the value range. Where necessary, limit the maximum number of partitions. Note: You can only change the value range when the InfoCube does not contain any data.

Similar Messages

  • Get cube partition details

    I want cube partition detail by executing sql query or mdx ? Can some one give this answer ?

    What we do is to have a control table and store details of dimensions and measure group partitions inside it. Then we use a SSIS package which will have a for each loop to iterate through table records and process the dimension/ measure groups. We use
    Analysis Services Processing task for processing the partitions/ dimensions. The command would be a XMLA script which would be generated dynamically based on Partition/diemsnion ID. If its start of new period we would also have a step to add a new partition
    to cube using AS DDL task and also add details to the table.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • View Cube Partitioned Data...

    Hi
    I partitioned my Cube from Jan2010 to Dec2010. Now i want to see its data individually for each partition. Is it possible?
    Thanks...

    check the links in this post.
    Display of data after cube partition
    bottom line : partition are logical features of the cube, not physical. they are not new tables.
    M.

  • Cube partitioning

    Hi Gurus,
    I have more than 2 lakh record in my infocube , now to optimize the performance i read about cube partitioning, can anyone explain me how to do cube partitioning , steps and on what basic we do cube partitioning.
    Thanks & Regards,
    Lakshmi Rajkumar.

    Hi Lakshmi,
    You can only partition on 0FISCPER or 0CALMONTH InfoObject. For Partioning you need to maintain atleast one of the mentioned InfoObject in your InfoProvider.
    For more info. please check the below help file:
    http://help.sap.com/saphelp_nw70/helpdata/en/33/dc2038aa3bcd23e10000009b38f8cf/frameset.htm
    Hope it helps.
    Regards,
    Raghu

  • I see 'enq: JI - contention' when building multiple cubes/partitions

    Version 11.2.0.3
    I can successfully build multiple partitions of a cube simultaneously by supplying the degree of parallelism that I want. I can also build multiple cubes and multiple partitions of multiple cubes by submitting separate jobs (one per cube) with parallelism set in the job (for number of partitions per job/cube).
    My goal was to refresh 2 cubes simultaneously, 2 partitions in parallel each, so that 4 partitions total were refreshing simultaneously. There were sufficient hardware resources (memory and processes) to do this. I tried to submit 2 jobs, one for each cube, with parallel 2 on each.
    What happens is that 3 partitions start loading, not 4. The smaller of the 2 cubes loads 2 partitions at a time, but the larger of the cubes starts loading only 1 partition and the other partition process waits with JI - contention.
    I understand that JI contention is related one materialized view refresh blocking another refresh of the same MV. Yet simultaneous refresh of different partitions is supported for cube MVs.
    Because I see the large cube having the problem but not the smaller one, I wonder if adding more hash partitions to the AW$ (analytic workspace) table would allow more concurrent update processes. We have a high enough setting for processes and job_queue_processes, and enough available threads, etc.
    Will more hash subpartitions on the AW$ table allow for more concurrency for cube refreshes?

    It looks like the JI contention was coming from having multiple jobs submitted to update the SAME cube (albeit different partitions). Multiple jobs for different cubes (up to one job/cube each) seems to avoid this issue. I thought there was only one job per cube, but that was not true.
    Still, if someone has some insight into creating more AW hash subpartitions, I'd like to hear it. I know how to do it, but I am not sure what the impact will be on load or solve times. I have read a few sources online indicating that it is a good idea to have as many subpartitions as logical cube partitions, and that it is a good idea to set the subpartition number to a power of two to ensure good balance.

  • Allowing parallel processing of cube partitions using OWB mapping

    Hi All,
    Iam using an OWB mapping to load a MOLAP cube partitioned on TIME dimension. I configured the OWB mapping by checking the 'Allow parallel processing' option with the no.of parallel jobs to be 2. I then deployed the mapping.The data loaded using the mapping is spread across multiple partitions.
    The server has 4 CPU's and 6 GB RAM.
    But, when i kick off the mapping, i can see only one partition being processed at a time in the XML_LOAD_LOG.
    If i process the same cube in AWM, using parallel processing, i can see that multiple partitions are processed.
    Could you pls suggest if i missed any setting on OWB side.
    Thanks
    Chakri

    Hi,
    I have assigned the OLAP_DBA to the user under which the OWB map is running and the job started off.
    But, it failed soon with the below error:
    ***Error Occured in __XML_MAIN_LOADER: Failed to Build(Refresh) XPRO_OLAP_NON_AGG.OLAP_NON_AGG Analytic Workspace. In __XML_VAL_MEASMAPS: In __XML_VAL_MEASMAPS_VAR: Error Validating Measure Mappings. In __XML_FND_PRT_TO_LOAD: In __XML_SET_LOAD_STATUS: In ___XML_LOAD_TEMPPRG:
    Here is the log :
    Load ID     Record ID     AW     Date     Actual Time     Message Time     Message
    3973     13     SYS.AWXML     12/1/2008 8:26     8:12:51     8:26:51     ***Error Occured in __XML_MAIN_LOADER: Failed to Build(Refresh) XPRO_OLAP_NON_AGG.OLAP_NON_AGG Analytic Workspace. In __XML_VAL_MEASMAPS: In __XML_VAL_MEASMAPS_VAR: Error Validating Measure Mappings. In __XML_FND_PRT_TO_LOAD: In __XML_SET_LOAD_STATUS: In ___XML_LOAD_TEMPPRG:
    3973     12     XPRO_OLAP_NON_AGG.OLAP_NON_AGG     12/1/2008 8:19     8:12:57     8:19:57     Attached AW XPRO_OLAP_NON_AGG.OLAP_NON_AGG in RW Mode.
    3973     11     SYS.AWXML     12/1/2008 8:19     8:12:56     8:19:56     Started Build(Refresh) of XPRO_OLAP_NON_AGG.OLAP_NON_AGG Analytic Workspace.
    3973     1     XPRO_OLAP_NON_AGG.OLAP_NON_AGG     12/1/2008 8:19     8:12:55     8:19:55     Job# AWXML$_3973 to Build(Refresh) Analytic Workspace XPRO_OLAP_NON_AGG.OLAP_NON_AGG Submitted to the Queue.
    Iam using AWM (10.2.0.3 A with OLAP Patch A) and OWB (10.2.0.3).
    Can anyone suggest why the job failed this time ?
    Regards
    Chakri

  • Issue creating planning query on cube partitioned by fiscal period

    I have a cube that is partitioned by fiscal period (0FISCPER).  This requires that there is a constant value for fiscal year variant (0FISCVARNT).  When I try to create an agg level on this cube 0FISCVARNT is automatically pulled into the agg level.  However, because 0FISCVARNT is set to a constant value it is not available in query designer to add into a planning query...as such, I cannot create a planning query on this cube.
    I can repartition the cube (i.e. remove the partitioning), but does anyone know of any other work arounds?
    Thanks.

    We resolved this.

  • Benefits of Cube partitioning

    I am looking into the options of repartitioning a large cube (100M records in fact table).
    The partitioning will be based on 0CALMONTH, there is 8 years of history in the cube so I will end up with 96 partitions.
    I found several help documents, sdn posts and a helpful note (1008833) but still have some questions left.
    Can someone explain what the actual benefit is of having partitions?
    I can understand that it is quicker to search a smaller table than a bigger table, but there will also be some overhead in finding out which partition(s) should be accessed for a specific query.
    Or is the read access only quicker if calmonth is provided on the selection screen (or using a user exit)?
    Is SAP using more work processes so it can search several partitions at the same time? This would impact the number of available processes for other usage.
    Any help understanding the concept of partitioning better would be greatly appreciated.
    I think I have found all the relevant help documents how to implement repartitioning, so there is no need to reply with links to those.
    Thanks in advance,
    Jan.

    Hi,
    FAQ - The Future of SAP NetWeaver Business Intelligence in the Light of the NetWeaver BI&Business Objects Roadmap
    http://www.tdwi.org/Publications/BIJournal/display.aspx?ID=7891
    http://www.dmreview.com/issues/20051001/1038109-1.html
    http://www.sap.com/platform/netweaver/pdf/BWP_AR_IDC_BI_Accelerator.pdf
    BI Performance http://www.xtivia.com/downloads/Xtivia_BIT_Performance%20Audit.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10564d5c-cf00-2a10-7b87-c94e38267742
    check this links....

  • Cube Partition and Date

    Hi,
    I have a cube which has data from 2000 till now. The data from 2000-2007 is very less.
    But for 2008 and till may 2009 we have huge data
    So we decided to partition the cube on Fiscal Year/Period with 1252( 12 for 2008, 5 for Jan 2009 till may 2009 and 1 for 2007 and below and 1 for June 2009 onwards)
    Now My question is how would we give the data range?
    Can anyone please tell me?
    Regards

    Hi AS,
    Suggest you to partition until October/December 2009, so that you wont have to repartition again immediately(reduce administrative effort).
    For your partitioning request.
    Fiscal year/period - 001/2008 to 005/2009.
    Maximum number of partitionins - 19.
    Check Features subtopic in this link for further details
    [Partitioning exmaple|http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm]
    Hope it helps,
    Best regards,
    Sunmit.

  • What is the use of cube partition?

    Hi,
    What is the purpose of partioning the cube by 0calmonth, 0fiscper? Is creating aggregates on cube by 0calmonth, 0fiscper same?
    Thanks,
    Sammy

    hi sammy,
    Partition of the cube is done to improve the query performance.  If u dont do partition the data will get stored in the infocube randomly.  while reporting it will take more time to execute the report because it needs to search the records in the entire infocube.
    If u do partitions on a infocube while reporting the performance is improved because it will search records only in the relevant partitions not on the entire infocube and the response time of the query is improved.
    Partition allows you to organize your data in a proper manner so that it decreases the search time.
    In order to do partiton we should have 0calmonth,0fiscper infobjects in your infocube.
    If u are having more years of data in the data ware house do partition based on ofiscper otherwise some years of data i.e 3 years do using 0calmonth.
    Only oracle database supports partition.
    Aggregates can be done on any characteristics we can create a aggregate on region infoobject as well but partition is be done only on 0fiscper,0calmonth.
    Partition also improves load performance.
    Assign points if u found helpful
    Message was edited by:
            Shahid Syed

  • CUBE Partition Error

    Hi,
    I have partitioned my cube into 1252.
    While activating it gave me following error?
    RSDU_ADD_DDSTORAGE_TAB_PAR_MSS/MSSQL
    Has anyone come across this type of error ever?
    If yes, please share how you resolved it.
    Thanks

    Which version of BI are you on , SP Levels and the Db you are using ..?
    Note 694579 - RSDU_ADD_DDSTORAGE_TAB_PAR_MSS fails - but this is with respect to activating cube but not with regard to partitioning the cube.  If you are on SQL Server 2000 - you cannot do a partitioning since the Db does not support the same.
    Edited by: Arun Varadarajan on Jun 23, 2009 9:34 PM

  • Cube Partitions

    Hi
    I have a cube that has a dimension called suppliers.
    The Suppliers have 3 levels in the order of hierarchy
    1. Cost Centre
    2. Centre Head
    3. All Suppliers
    The All Suppliers level was created so that I could aggregate my measures to that level and hence the level has only one member.
    When I query my cube view I want my measures aggregated to the ALL Supplier level, I am not concerned about the individual level roll ups.
    One way of doing this would be to create a materialized view which has the results only at the ALL Supplier level.
    Can the same be achieved if I choose to partition the cube on teh All Supplier level in the supplier dimension ?

    I don't follow what you are asking, or what the goal is that you are trying to accomplish.
    Why would you want to partition on something that only has one member?

  • Cube partition question

    Dear All,
    I have tried to partition a cube in my dev system (deleted the data first) on 0CALMONTH. When I try to activate the cube, it is failing (telling me it cannot activate the cube as 0CALMONTH is included in other cubes which have data)
    I try to rollback my change (remove the parittion) - and guess what - I get the same errors --> I cannot activate my cube anymore!!!
    So, I have 2 questions:
    1 - I have understood that the cube can be partitioned if it has no data, but it should not be linked to other cubes
    2 - How can I rollback my change?
    Any help highly appreciated
    Thanks
    Ioan

    Not really. I get a R7757 (not all objects could be activated) and then a long list of Oracle logs (warnings and errors). The errors are ' ... table XXXX cannot be activated ...' (I will not include it here, it is too long)
    I didn't find anything on OSS, I already looked
    Thanks
    Ioan

  • PCA cube partitioning how to determine based on 0fiscper/0calmonth

    Dear Gurus,
         Can anyone give me information, how the partition criteria will be decided. What things need to consider to determine go for partition on 0calmonth or 0fiscper and how to determine no of partitions? And once we partitioned the cube, the data stores in different partitioned tables or its a single table where it maintains the different indicators as partitions.
    Thanks in advance,
    Ram

    Hi Ram,
    The partitioning is a process done internally in the Database. This creates partition areas for each of the fiscal periods/calendar months and stores the data. Which would help the SQL query to fetch the records pertaining to each of the periods.
    Since the cube which you are talking about is a PCA cube, its advisable to use 0fiscper as partitioning.
    Let me know if this helps.
    Regards,
    Avinash

  • Cube partitions not valid

    Please help!
    I have an SSAS cube which ran perfect. I saved it under a different name. Then changed back the name.
    Now when I try to deploy I get error that the partitions file is not valid and cannot be opened!!
    I read
    here that someone had to recreate the cube to overcome this. But my cube had a lot of work done so it will be a alot of work to recreate.
    How can I fix this????!!!
    Namnami

    Thanks, I read your link but don't undersatnd what ID I should look for, how, and what to change it to. In my case I changed the cube name, not the DB name. Then I renamed it as the original name. Then deployment failed.
    Help!
    Namnami
    When I open the cube file in BIDS and go to the Partition tabs, I get error that the partitions file already exists in this project. Maybe I should delete the partition file and perhaps it will remake it when deploying ???
    I checked the XML, the partions file ID equals the cube file cube NAME(which equals the original and current cube name).
    I compared the partition files before and after the rename. They are identical.
    I compared the cube files before and after rename, the one after the rename did not have <Partitions/> at all, while the original one had <Partitions/> between every </dimentions> and </measuregroup>. I added them but that did not
    help, same errors.

Maybe you are looking for