Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exchange partition changes the tablespace

user10237765Dec 17 2010 — edited Dec 17 2010
Hi,

We have 2 schemas:
1> user - current_data, tablespace - current_data
2> user - archive_data, tablespae - archive_data

Both schemas have range (by batch_id - number) partitioned tables. I want to archive the older partitions from current_data to archive_data so I have created a temp table (non partitioned) in archive data and I first exchange partition (say P1) between current_data and the temp table and later between temp and archive_data. However the first exchange (between current_data and the temp table) leaves the partition P1 in archive_data table space and table temp in current_data tablespace and the second exchange (between temp and archive_data) leaves partition P1 in current_data for the table in archive_data.

This is stopping us from maintaining a clean cut of schemas and table spaces. Is there a way around this?

Thanks,
Kirti
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2011
Added on Dec 17 2010
2 comments
1,578 views