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!

Copying large amount of data from one table to another

406215Oct 11 2003 — edited Oct 11 2003
We have a requirement to copy data from a staging area (consists of several tables) to the actual tables. The copy operation needs to
1) delete the old values from the actual tables
2) copy data from staging area to actual tables
3) commit only after all rows in the staging area are copied successfully. Otherwise, it should rollback.

Is it possible to complete all these steps in one transaction without causing problems with the rollback segments, etc.? What are the things that I need to consider in order to make sure that we will not run into production problems?

Also, what other best practices/alternative methods are available to accomplish what is described above.

Thanks,
Eser
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2003
Added on Oct 11 2003
1 comment
208 views