Moving Local Partitioned Index for Interval Partitioned Table

From: Michael Dinh <mdinh_at_XIFIN.Com>
Date: Tue, 7 Jun 2011 10:58:43 -0700
Message-ID: <D29F9902E534D5478F2E83FD6A44B3063B039D4E35_at_mail02.mba.xifin.com>



Hello,

I am able to move the interval partition on a table from one tablespace to another using the syntax -

ALTER TABLE my_time MOVE PARTITION FOR (TO_DATE('01-02-2007','DD-MM-YYYY')) COMPRESS UPDATE INDEXES TABLESPACE p2008;

However, I am not able to do the same the local index.

For the index, I would need to query select * from USER_IND_PARTITIONS to obtain the partition name and then execute

ALTER INDEX my_time_x REBUILD PARTITION SYS_P138 TABLESPACE p2007;

I am working on an archiving / ILM project where archived data will be moved to slower disks and exploring some ideas and doing some testing.

Appreciate any feedbacks.

Thanks.

Michael Dinh

NOTICE OF CONFIDENTIALITY - This material is intended for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable laws. BE FURTHER ADVISED THAT THIS EMAIL MAY CONTAIN PROTECTED HEALTH INFORMATION (PHI). BY ACCEPTING THIS MESSAGE, YOU ACKNOWLEDGE THE FOREGOING, AND AGREE AS FOLLOWS: YOU AGREE TO NOT DISCLOSE TO ANY THIRD PARTY ANY PHI CONTAINED HEREIN, EXCEPT AS EXPRESSLY PERMITTED AND ONLY TO THE EXTENT NECESSARY TO PERFORM YOUR OBLIGATIONS RELATING TO THE RECEIPT OF THIS MESSAGE. If the reader of this email (and attachments) is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please notify the sender of the error and delete the e-mail you received. Thank you.

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jun 07 2011 - 12:58:43 CDT

Original text of this message