Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Move records
> 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.
-- 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
![]() |
![]() |