Skip to Main Content

SQL & PL/SQL

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!

Insert into table taking long time.

Mrudula BandaruJul 27 2016 — edited Jul 27 2016

Hi All,

I may be asking a silly question.

I am trying to insert records from one table to another table.

INSERT INTO BACKUP
SELECT * FROM A;

DELETE FROM A;

The first insert statement is running forever. My record count in table A is 0.5 million.

I understand my table record count is high. But I need to optimize this as it is hanging my session.

Any suggestions on this please.

Thanks in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 24 2016
Added on Jul 27 2016
9 comments
4,455 views