I need to insert records into 1 partition..which is empty right now..and need to preserve the data in the other partitions.
Structure is the same of both the tables.
thanks for the inputs sir davey23uk.... i am still new with Oracle DBA so i usually use exp/imp for big tables... but it seems that using SQL hints is also faster...
Originally Posted by davey23uk
why do it the slow way?
its within the same database so that will always be slower than insert /*+append*/ into ...
If the tables have the same columns and the target table is partitioned, then a partition exchange would be possible. You'd have to have the same null attributes etc., but that ought to be easy to arrange
I think the fastest way would be the partition exchange that was suggested. Look in the documentation for the alter table exchange partition syntax. There are also some examples on asktom.
Bookmarks