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!

to make an insert run faster

592323May 20 2008 — edited May 21 2008
Hi,

There is an sql statement which inserts 10 million records everyday and is taking 1.5 hours to run.The table is truncated and the data is loaded everyday.The constraints are disabled before inserting the records.The following options are tried


table created in nologging
truncate table with reuse storage
diable constraints
insert with append hint
enable constraints

table created in nologging
truncate table with resue storage
drop constraint
insert with append hint
add constraint

But there is no significance improvement in the timings of the load.Can anyone assist in this?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2008
Added on May 20 2008
9 comments
704 views