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.


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
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
-----------------------------------------------------------------

Other related posts: