Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Move records

Re: Move records

From: Tanel Põder <tanel.poder.003_at_mail.ee>
Date: Thu, 15 Jul 2004 00:59:19 +0300
Message-ID: <010701c469ed$d310dd80$63a423d5@porgand>


> How can I move RECORDS from one partition to another partition, when I
> change the partition key I get error, But isn't oracle automatically move
> the records to proper partition when you change the partition key?

Use "alter table <t> enable row movement" on the table to enable row movement in a table. Oracle requires this explicitly set on a table, probably because when a row moves to another partition, it's rowid will change and may cause unexpected behaviour if your application relies on rowids (when a row migrates implicitly to another block inside a table segment, then its rowid won't change despite the fact that the actual row data moved to another block).

Tanel.



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Wed Jul 14 2004 - 16:56:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US