Creating Custom Partitions on Cube

Hi all
We are running BW7 (2004s) over Oracle.
We are contemplating creating our own partitions on the EFact table of a cube.  The reason for this is that currently the partitioning of cubes is only possible using time characteristics (0FICPER and 0CALMONTH).
We have a need to partition by a characteristic that is an 8 digit number.
Hence, we are proposing to create our own range partitions on this Characteristic.
My questions are as follows:
1. If we do this, we would be creating them directly at the Oracle level.  To do so, we would have to first create a copy of the Fact table definin then partitions.  We would then drop the orginal fact table, and rename the copied table back to the original efact table name. 
2. Are there any issues with us doing this?  i.e. if for some reason the table is dropped in the future (for some unknown internal BW database process), would we lose the partitions?
3. We are keen to do this so that queries which are keyed by this 8 digit number are much more efficient.  Also, when deleting data, we would delete by a partition (i.e. much faster to delete).
Has anyone else done this sort of thing?  Any issues encountered?  Any advice?
Thanks
Adam

I face the opposite problem, nobody wants to get rid of anything, so we jump thru hoops trying to figure out how to keep the data in BW and still maintain query performance. I'd love a few clients that want to get rid of stuff, perhaps we can trade a few folks for a couple of months.
You didn't say if this 8 digit char is a line item dimension, or if there are other chars in the dimension.  That has query and deletion performance implications.
You can partition your ODSs on the 8 digit char.
On the cube side side, I have never explored it further, but wondered if I wasn't using 0FISCPER, (or it could be 0CALMONTH) could I populate it in an update rule with some date values that could serve as the proxy for the characteristic ( or ranges of values in your case ) I really wanted to partition on, e.g.
8 digit char
00000001 - 00999999 = 0FISCPER 1000/000
01000000 - 01999999 = 0FISCPER 1000/001
etc.
I think you can probably get the idea. I think this would support the goal of the faster Selective Deletion, but obviously doesn't help you on the query side - although you might be able to have your user exit translate the 8 digit char to the corresponding 0FISCPER proxy.  Seems kind of goofy, but I think it could work, but ultimately might cause more confusion than it's worth. 
Query performance would only benefit from partitioning, of course, if the queries would restrict based on the partitioning characteristic to make Oracle prune the unneeded partitions from the query.
<u>Selective Deletion</u>
As I mentioned in my first post, Selective Deletion does have some performance tweaks built into the process besides dropping the partition.  If the deletion was going to delete more than 10% (the deletion process figures this out) of the rows (I don't remember if you can control that % by an RSADMIN parameter or not - although you could probably modify the program or create a Z version to use some lower %) it will create new E and F Fact tables, copying the data to the new tables, omitting the rows that meet your deletion criteria, and allows you to specify how many parallel processes to launch. Once it's done, it deletes the original Fact tables and renames the new ones.  You do need to have enough disk space to hold the original cube and the new, smaller cube, since they both exist for a period of time. This is much faster than the heavy lifting of Delete query, and could be run off hours and wouldn't require any special DDL or customization of the fact tables, or prevent use of aggregates, etc.
Or you could go the other route of running a daily deletion process to keep the deletion shorter.  If the number of rows to be deleted on any one day is small and there is an index on the 8 digit Char, it might be fast enough to suit your purposes.
I'll ponder on this a while and see if anything else comes to mind.  Some time back, I thought I had read a post that mentioned a custom partioning that had been developed for a DB2 customer.  I followed it up with a Custosmer Msg to SAP recently to see if there were any other partitioning options besides the two dates for Oracle.  I got a "not at this time" answer.  If you haven't contacted SAP about this issue already, perhaps if you post a msg, they'll get a better sense of the level of interest.
If you're attending Tech Ed (SDN Day?) in Vegas in Sept, we could explore this further. 
Pizzaman
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!

Similar Messages

  • Logical Partition of Cube

    Hi BW experts,
    Can anyone explain the steps to create logical partitioning of Cube data?
    I want to do it per fiscal year. If we create 05 cubes(Same structure) each for say fiscal year 04' 05'...08'
    now how will the data flow into respective cubes.
    Kindly explain the steps.
    thanks,
    Nipun Sharma
    P.S. points will be rewarded.

    Hi Nipun,
    1.Partitioning the cube in both physical and logical way helps you to increase its performance on Queriying.
    Partitioning InfoCubes Using the Characteristic 0FISCPER (At Infocube maintainance)
    Prerequisites
    When partitioning using 0FISCPER values, values are calculated within the partitioning interval that you specified in the InfoCube maintenance. To do this, the value for 0FISCVARNT must be known at the time of partitioning; it must be set to constant.
    Procedure
    1. The InfoCube maintenance is displayed. Set the value for the 0FISCVARNT characteristic to constant. Carry out the following steps:
    a. Choose the Time Characteristics tab page.
    b. In the context menu of the dimension folder, choose Object specific InfoObject properties.
    c. Specify a constant for the characteristic 0FISCVARNT. Choose Continue.
    2. Choose Extras -->DB Performance --> Partitioning. The Determine Partitioning Conditions dialog box appears. You can now select the 0FISCPER characteristic under Slctn. Choose Continue.
    3. The Value Range (Partitioning Condition) dialog box appears. Enter the required data.
    Pls chk the below link for partioning..
    http://help.sap.com/saphelp_bw33/helpdata/en/33/dc2038aa3bcd23e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0a/cd6e3a30aac013e10000000a114084/frameset.htm
    Re: logical Vs physical partitions ?
    Regarding Partitioning
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    /message/4204952#4204952 [original link is broken]
    How i can partioning the  BW?
    Partioning and ETable
    What is the use of cube partition?
    *pls assign points,if info is useful*
    Regards
    CSM reddy

  • I am planning to create custom defined  DSO Object & Info cube

    Hi ,
                     i am planning to create custom defined  DSO Object & Info cube.what ratio i can calculate what is the keyfields & what are the data fields in DSO.How can i calculate.
                     2. how can i create  suitable dimensions, suitable characterstics  for dimensions.what ratio i can decide.
    Thanks,
    chandu.

    Hi Diego Garu,
                               Thanks for your fast response.i
    VBELN     VBAP     2LIS_11_VAITM                                              0DOC_NUMBER
    POSNR     VBAP     2LIS_11_VAITM                                                0S_ORD_ITEM
    KUNNR     VBAK     2LIS_11_VAHDR                                                 0SOLD_TO
    VBELN     VBRP     2LIS_13_VDITM                                                    0BILL_NUM
    FKDAT     VBRK     2LIS_13_VDHDR                                                 0BILL_DATE
    INCO1     VBRK     2LIS_13_VDHDR(INCO1FieldNot Available in Data Source)     0INCOTERMS
    ZTERM     VBRK     2LIS_13_VDHDR(Payment terms field Not Available in Data Source)                                                                                0UCPYTERMS
    NETWR     VBRP     2LIS_13_VDITM                                                           0NETVAL_INV.
                                           here data is coming from the multible tables.that why i am planning to create custom defined data source based on view. here how can i calucate dso is suitable or cube is suitable.
    suppose dso is suitable how can i decide which on is the data field and which one is the key field.
                                        how can i decide how many dimensions are needed here.and which chara are suitable for that dimensions.
    Thanks ,
    chandu.

  • Need Help while Creating Customized Cubes

    while creating customized cubes i have some problem. please clarify this.
    i have 10 Characteristics and 5 KF's.
    while creating IC assign the characteristics to the dimension.
    is there any proposed rule for assinging the char to dimension or i can assign randomly.
    regards
    magesh

    Hi magesh,
    You should assign related characteristics to the same dimension.
    Ex: salesregion, sales off and sales rep to the same dimension say " sales".
    I.e., when the characteristics have some relationship like <b>one to many</b> you should assign them in the same dimension.
    Take an ex of customerid and prodid..they have many to many relationship.In such case go for separate dimensions.
    And if the characteristic is of type salesorder which has many distinct entries in fact table, go for line item dimensions.
    <b>Note:</b> In line item dimension, you can include only one characteristic.
    Hope its helpful
    Shylaja.

  • MDS artefacts into newly created Custom MDS partition.

    Hi All,
    Hope you all doing good.
    I have a issue which is not getting solved from many a days now.
    Hope some of you may help me in resolving that.
    I am using soa suite 11.1.1.5.
    I have created a MDS partition in mds-soa repository.
    I want to add some of the common artefacts into that.
    But I am not able to do that as Jdeveloper, ANT, WLST all are deploying them on soa-infra partition instead of my custom partition.
    I searched a lot to provide the partition name while deploying the artefacts, but no luck.
    So.. If u guys can provide me some solution/suggestion/idea to do that, then it will be a great boost for me to carry forward.
    Thanks in advacne.
    Thanks & Regards
    Chandru

    Hi All,
    On emore thing to ad.
    soa-infra application is by default associated with soa-infra partition.
    Is it possibel to change the association with a custom partition?
    If so how can I do that?
    Are there any implications if I change the soa-infra application MDS partition to customed partition?
    Hoping to get some clue from you guys.
    Thanks & Regards
    Chandru

  • How to create GPT Partition for onekey recovery windows8

    Plz any one can help me.....
    i have purchased laptop last week with following configurations:
    Lenovo  G510 i5 2.5ghz with windows 8 and OneKey recovery feature.
    My laptop was with windows 8 but i upgrade my hard drive 500 GB to 1 TB.
    But now i am unable to recover my windows8 image by using OneKeyrecovery (novo).
    So plz help me how to craete GPT partition style that will support for onekey recovery and recover Windows 8 image that is in my external hard drive.
    Please send me the complete procedure to create GPT partition style supported for onekey recovery.
    Also solve the following questions plz.
    1. How to create GPT partition style supported for onekey recovery?
    2. Total Number of partitions and their actual sizes.
    3. Size of C:
    4. Size of D:
    5. Size of recovery partition
    6.Size of all partitions
    Plz reply me at: ********@yahoo.com
    Regards: Aamir
    Moderator note: email address removed to keep away from the spambots.
    Solved!
    Go to Solution.

    Dear Customer
    Welcome in lenovo community
    Please use the below link to download and install the Lenovo Recovery application so that you can do what you looking for 
    Link : http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS035708
    Thanks
    Alaa
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How to create customized F4 Help of InfoObject in BW

    Hi, buddies
    Does anyone know how to create customized F4 help for an InfoObject?
    What I need to do is when user clicks F4 help on the variable screen of query, only certain master data values should be displayed, not all of them.
    Currently, I can only make setting in InfoObject to restrict the F4 value either in master data or in Cube. I couldn't create a customized F4 value list.
    Thanks,
    Wei

    Hi,
    i have H4 Help problem.
    how can i restrict an attributes of infoobject in H4 Help value.
    Please help me
    Madhu

  • Where are partitioning a cube based on calmonth & fiscper

    Q1.where are partitioning a cube based on calmonth & fiscper ok In partitioning cube there are two types 1.physical partition & 2.logical partition so i want to know the both things and diferrences.

    Hi Kishore,
    Logical Partitioning means dividing the data into two or more cubes. The cubes will have the same structure, but will store mutually exclusive data sets. For eg. storing data from Calendar year 2000 to 2005 in one cube, 2006 to 2008 in another cube and 2009 to 2011 in another cube. As these three cubes will have the same structure, we can create a multiprovider to combine these cubes for comprehensive reporting. This can be done any characteristic....like company code, controlling area, sales organization, distribution channels or any time characteristics. This is more of data model designing option.
    Physical Partitioning is done on one cube. This is based on the Calender Month or the Fiscal period. This physically partitions the Fact table of the cube. For eg. you want to partition a cube that stores 2 years of data. The maximum no. of partitions allowed here are 26... (24 for each of the 24 months and two for data not belonging to these 24 months - these two partitions are system defaults and we have not control over). However, we can define any number  less that 26 and the system calculates the maximum number to be utilized. Supposing we specify, a maximum of 18 partitions to be used, the system will use a 14 partitions only - 12 partitions for the 24 months (each 2 months) and 2 on either side of the time scale.
    rgds
    Naga

  • How to create DB partitioning in active data tables for ods?

    hi all,
    Can anyone let me know how to create DB partitioning in active data tables for ods. if any docs pls share with me at my email id : [email protected]
    regds
    haritha

    Haritha,
    The following steps will briefly explain you to improve the performance in terms of DB partitioning as well as loading. Please find the same,
    transaction RSCUSTA2,
    oss note 120253 565725 670208
    and remove 'bex reporting' setting in ods if that ods not used for reporting.
    hope this helps.
    565725
    Symptom
    This note contains recommendations for improving the load performance of ODS objects in Business Information Warehouse Release 3.0B and 3.1 Content.
    Other terms
    Business Information Warehouse, ODS object, BW, RSCUSTA2, RSADMINA
    Solution
    To obtain a good load performance for ODS objects, we recommend that you note the following:
    1. Activating data in the ODS object
    In the Implementation Guide in the BW Customizing, you can implement different settings under Business Information Warehouse -> General BW settings -> Settings for the ODS object that will improve performance when you activate data in the ODS object.
    1. Creating SIDs
    The creation of SIDs is time-consuming and may be avoided in the following cases:
    a) You should not set the indicator for BEx Reporting if you are only using the ODS object as a data store.Otherwise, SIDs are created for all new characteristic values by setting this indicator.
    b) If you are using line items (for example, document number, time stamp and so on) as characteristics in the ODS object, you should mark these as 'Attribute only' in the characteristics maintenance.
    SIDs are created at the same time if parallel activation is activated (see above).They are then created using the same number of parallel processes as those set for the activation. However:if you specify a server group or a special server in the Customizing, these specifications only apply to activation and not the creation of SIDs.The creation of SIDs runs on the application server on which the batch job is also running.
    1. DB partitioning on the table for active data (technical name:
    The process of deleting data from the ODS object may be accelerated by partitioning on the database level.Select the characteristic after which you want deletion to occur as a partitioning criterion.For more details on partitioning database tables, see the database documentation (DBMS CD).Partitioning is supported with the following databases:Oracle, DB2/390, Informix.
    1. Indexing
    Selection criteria should be used for queries on ODS objects.The existing primary index is used if the key fields are specified.As a result, the characteristic that is accessed more frequently should be left justified.If the key fields are only partially specified in the selection criteria (recognizable in the SQL trace), the query runtime may be optimized by creating additional indexes.You can create these secondary indexes in the ODS object maintenance.
    1. Loading unique data records
    If you only load unique data records (that is, data records with a one-time key combination) into the ODS object, the load performance will improve if you set the 'Unique data record' indicator in the ODS object maintenance.
    Hope this helps..
    ****Assign Points****
    Thanks,
    Gattu

  • Oracle Linux Installation - Custom Partitioning - GPT Partitioning

    we have successfully installed Oracle Linux 5.5 on IBM - System X3650 M3 machine and later scrapped this Linux OS and Installed Windows 2008 OS for other demo purpose.
    Now again we are trying to install the Oracle Linux on this machine we are encountering the below issue...
    Oracle Linux 5.5 installation on IBM - System X3650 M3
    Encountering below error message while creating the custom partitioning creation
    Partitioning Error
    The following critical errors exit with your requested partitoning scheme.
    Your boot partition is a disk using the GPT paritioning scheme but this machine cannot boot using GPT.
    These errors must be corrected prior to continuing with your install of enterprise linux.
    Please help.
    Edited by: user13681259 on Jun 18, 2012 1:07 AM

    Thanks, we managed to clear GPT partition and continued the installation processs...
    we have successfully installed Oracle Linux 5.5 on IBM - System X3650 M3 machine and later scrapped the Linux OS and Installed Windows 2008 OS for other demo purpose.
    Now again we are trying to install the Oracle Linux on this machine and the machine is NOT detecting the network devices and the network configuration screen does not appear during the installations to assign the staticIP and the hostname to the machine.
    Now, the Network Devices screen is NOT displaying during the installtion (where we have to enter the IP Address and hostname details)- the Network Devices Screen should come after the partition layout and GRUB boot loader screen.
    The network cable is attached with this machine already.
    # lspci | grep -i net
    0b : 00.0 Ethernet controller : Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
    0b : 00.1 Ethernet controller : Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
    #ifconfig
    lo
    Link encap:local Loopback
    inet addr 127.0.0.1 mask 255.0.0.0
    usb0
    Link encap:Ethernet HWaddr E6.lF:l3:A8:AF:3F
    inet addr:169.254.95.120 Bcast:169.254.95.255 Mask: 255.255.255.0
    #ifconfig -a
    lo
    sit0
    usb0
    Any help would be appreciated.
    Edited by: user13681259 on Jun 19, 2012 1:02 AM
    Edited by: user13681259 on Jun 19, 2012 1:16 AM

  • One Key Recovery 8.0 - windows 8.1 - create new partitions

    Dear Members,
    Looks like I am again back to the start of the loop regarding the one key recovery after checking with Lenovo customer support. Can you help me on the below. However, I still feel that the well documented procedures for One Key Recovery 8.0 is missing rather than just explaining the navigation. I have z50-70 59436412 laptop with prebuilt windows 8.1
    Apart from other (recovery,OEM, others) partitions I have 2 partitions which are C (windows 8.1) 890 GB and D (drivers) 25 GB However I want to create additional partitions (4) to organize my files. Can I directly go to diskmanagement and shrink the C volume to around 300GB and then create more number of partitions from the available space?
    Is it mandatory to create a recovery media pendrive with bootable OS? As per Customer support "YOU NEED TO MAKE A RECOVERY MEDIA PENDRIVE WITH BOOTABLE OPERATING SYSTEM AS CHANGING THE NUMBER OF PARTITIONS WILL BREAK THE OKR METHOD AND OKR WILL NOT WORK!!! i.e., I will not be able to reset my laptop to factory settings when I create more partitions.  Can some one confirm this?  Also, if I make a bootable OS, and during restore doesn't it prompt for a key to make the windows OS as genuine??  Can I make a bootable OS on multiple DVDs (as one DVD isn't enough)?  Is the approach same as in the case of making on one DVD?
    I haven't took the system backup. I want to make more partitions (shrink C volume and create 5 more partitions for easy maintenance). Will I be able to restore my system back to factory settings (using NOVA key) eventhough there is number of partitions mis-match (initially 2, now around 6 paritions)? I am not worried about my data, as I will have backup of important files into external hard disk which I will restore later using other software
    Can I have partition based backup and restore using OKR 8.0?
    If I have a system image after creating all the partitions then will I be able to restore using this image without issues?
    Say if the harddisk is crashed and I have the backup image on external OS. Can I restore the image back on the new harddisk? Should the number of partitions be same? Also, should the size of each partition also be same?
    Suppose I have a partition on harddisk itself to store backup images (img1,2,3,4,5) and when I need to restore to image 3, and after successful restore, I am sure that will loose the image 4 and image 5 on this partition.  Can I be able to restore my system to say image 2 if needed in future when I am running on image 3.  Also, is there any limit on the number of system restore for a specific image?
    Awaiting your suggestions.  Sorry, if this is been asked repeatedly by any others.
    Thanks,
    Cheeli.
    Solved!
    Go to Solution.

    Disclaimer: I dont use OKR .
    Based on the documentation and posts I have read about OKR, it requires your HDD partitions to remain the same size as factory shipped. What the Lenovo customer support center stated to you is correct! ANY change to the C or D partitions sizes will cause OKR to FAIL.  (there are posts stating such failure after changing the partition sizes).
    The OKR create recovery media is designed to work with a Pendrive.  It will not work with a DVD.
    You could try running Windows backup with the backup being stored on the C drive or on a second HDD/usb,etc.
    FYI.  A HDD can only hold 4 regular partitions.  Above 4, you would have to allocate EXTENDED partitions. 

  • Partition on cube

    Hi All,
    We have some issue on Query performance.I want to know that Cubes on which this Query run has some partitioned or not how can i know this ?
    <removed by moderator>
    Thanks,
    Deepak
    Edited by: Siegfried Szameitat on Jun 22, 2011 7:43 AM

    First of let me tell why we go for partition ,Partitioning is used to optimise read performance of queries.
    For ex:-If you have 10 years of data in the infocube,but
    you user requirement is only they want to see the data from
    2 year.
    Case 1:-Without partitioning whenever we run the query it will search
    the relevent data from all the 10 years data,so here the performance of the
    query will decreased as serach operation will take more time.
    Case 2:-With partition For example if we have created partition
    for 2006-2008 not system automatically creates two partition
    ie before and after P1(Before partion):-2000-2006 P2:-2006-2008
    P3 (After Parttition):-2008-2010.Now wheneever we run the query
    it will directly go to the relevent partition and serach for the relevnet reord
    here the query performance will be high as the serach operation will take
    less time.
    Physical partition: It is done when you want to partition the data in your cube in the database using 0calmonth or 0fiscyear.
    Logical Partition: This method is used if your data in your cube become huge. So you create multiple cubes say for 1cube for 2001, another cube for 2002, etc... You can then use a multiprovider - which consists of all these cubes and then report on all the data.
    You have to choose either 0FISCPER or 0CALMONTH wich is defined by the usage of your most-used big queries (i.e. weekly , monthly, quarterly) and calculate the number of necessary partitions by giving a time period from / to.
    Make sure you get a good rows per partition ratio by keeping record numbers big in each partition and partition numbers small by giving a maximal partition number
    i.e.
    CALMONTH:
    max. partition number = 96 (add 1 for MAXVALUE partition)
    from 01.2000 to 12.2007 = 8 * 12 + 1 = 97 partitions (for each month 1 partition)
    max. partition number = 24 (add 1 for MAXVALUE partition)
    from 01.2000 to 12.2007 = 8 * 3 + 1 = 25 partitions (for each quarter 1 partition)
    Thanks,
    Saveen Kumar

  • Partitioning of cube

    Gurus,
    I am extracting AR data using standard datasources in BW3.5 and would like to partition the data by creating year specific cubes. I have to store data for around 15 years so I was thinking of having cubes with data for 3 years each and report using a multiprovider. But wanted to clarify a few things -
    The data that will be coming for deltas, should that be going to the current cube or should my update rules be connected to all the cubes? What happends in case an older invoice is cleared, say from 1998 is cleared should the data be updated in 1998 cube as well as current or only in the current cube?
    The company has 16 posting periods. If I am doing logical partioning based on 0FISCPER so should that partioning be from say 001/1998-016/2001 or will it be 001/1998-012/2001.
    The company is not having fiscal variant based on calendar year, but is from April to March. Could this be a problem for me to partition the cube.
    Thanks for your help.
    Regards,
    Venkat

    Hi,
    The data that will be coming for deltas, should that be going to the current cube or should my update rules be connected to all the cubes? What happends in case an older invoice is cleared, say from 1998 is cleared should the data be updated in 1998 cube as well as current or only in the current cube?
    --> Chances of getting such old records are rare or almost ZERO.
    --> Those records supposed to load into that particular cube only. Not to current cube(2009).
    The company has 16 posting periods. If I am doing logical partioning based on 0FISCPER so should that partioning be from say 001/1998-016/2001 or will it be 001/1998-012/2001.
    The company is not having fiscal variant based on calendar year, but is from April to March. Could this be a problem for me to partition the cube.
    --> Fiscal variant required to report against fiscal poriod. To restrict at cube level.
    Loading into a multiple cubes only useful, if query contains selection and filter restriction on infocubes. Or again accessing all cubes through multiprovider(multiple joins) creates Negative performance than a single cube.
    Srini

  • Partitioning of cube using Fiscal period

    Hai Gurus
    Gud Morning
    Can u tell me how to partition a cube using 0fiscper ie Fiscal Year/Period.
    I am having one in this
    How to give value for 0FISCVARNT.
    I just need the steps to partition the cube
    Please suggest me.
    Awaiting all ur replies.
    Thanks
    mahi

    Hi Mahi,
    To partition the cube double click the cube this will take you to the definition of the cube. Click on the extras button at the top of the screen. you will get a dropdown, there you can see Partition option, click on that you will get another window there you all time chars select on which you want to partition and continue.
    you will get another popup window there you have to give Range.
    When you activate the cube fact tble will be created in DB with number of partitions corresponding to your Range.
    While you do this there should be no data in the cube.
    Regards
    Ananth

  • Create index partition in the table partition tablespace

    Hello,
    I am running a custom job that
    * Creates a tablespace daily
    * Creates the daily table partition in the tablespace created
    * Drops the tablepartition X days old
    * Drops the tablespace for that partition on X+1 day.
    The above job runs perfectly, but 'm having issues with managing the indexes for these partitioned tables. In the old database (10g - Single Node), all the partitions/indexes existed in one BIG tablespace and when I imported the table creation script into the new database, I modified all the table partitions & indexes to go into their respective tablespace.
    Eg:
    Table_name........Partition_name.....................Index_Part_name..........................Tablespace_name
    ============...================............====================...........=================
    TABL1...................TABL1_2012_07_16............TABL1_IDX_2012_07_16............TBS_2012_07_16
    TABL1...................TABL1_2012_07_15............TABL1_IDX_2012_07_15............TBS_2012_07_15
    But now when the job runs, it creates the index into the default tablespace TBS_DATA.
    Table_name........Partition_name.....................Index_Part_name..........................Tablespace_name
    ============...================.............====================...........=================
    TABL1...................TABL1_2012_08_16............TABL1_IDX_2012_08_16............TBS_DATA
    TABL1...................TABL1_2012_08_15............TABL1_IDX_2012_08_15............TBS_DATA
    I can issue alter index rebuild to move the indexes to its default tablespace, but how can I ensure that the index gets created in its designated tablespace?
    NOTE - the partition/tablespace management job that I run only creates the table partition and not the index.
    The new env is a 2-Node 11gR2 RAC cluster on Linux x86_64.
    Thanks in advance,
    aBBy.

    Excerpt from the job -
    This creates the partition into the new tablespace.
    v_sql_new_part := 'alter table '||tab_owner||'.'||tab_name||' add partition '||v_new_part_nm||'
    values less than (to_date('''||v_new_part_dt_formatted||''',''DD-MON-YYYY'')) tablespace '||part_tbs;
    execute immediate v_sql_new_part;New tablespace for new partition - because this is a 10T database and having multiple tablespaces helps with backup/recovery.
    Thanks,
    aBBy.

Maybe you are looking for

  • Can I use a windows 8 installation disc for bootcamp or must I have a windows 7 disc?

    Hello I'm new to this but apparently i need a windows disc to operate bootcamp and I'm not sure if I can use a windows 8 disc to install it with. Also is there a website or place I can purchase a windows 7 incase I need a windows 7 to install it with

  • Script/Tool to unload data from Oracle table

    We are in the process of migrating application from release 1.0 to 2.0. To migrate Oracle data from release 1.0 to 2.0 our task is as follows: 1) Unload data from release 1.0 tables 2) Add, Move or remove data to load in release 2.0 tables 3) Load da

  • How to speed up PS CC

    I recent;y downloaded PS CC.  Running on 12 GB, but it doesn't seem to matter if I allocate 10% or 90% of my CPU, Photoshop is sluggish.  @@

  • LR 1.3.1 freezes with Vista x64

    Forgive me if this has been covered. I searched, but could not find anything. I just did a clean install of Vista 64 (moved from XP), and a clean install of LR 1.3.1. LR is freezing any time I open a "choose folder" dialog box. Normally (on XP), LR w

  • Anonymous user - Disabled

    Hi, I have recently disabled the anonymous user in my 12.1.3 environment as part of implementing the recommended best pratice security measures for E-business. Now when I run the failed login report I notice numerous failed logins for the anonymous u