Skip to Main Content

Database Software

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!

Error while inserting data through SQL loader

3548292Sep 20 2017 — edited Oct 3 2017

Hi All,

We are using SQL loader in our .Net application to insert data into oracle  Data base. We are inserting through bulk insert process.

We have another Stored procedure in Oracle which deletes data from the same table where insertion happens. But the data sets where deletion and insertion happen are completely different (Deletion happens on data which is Older than 2 days). Usually insertion happens in the morning and deletion happens in the evening. Till here we don't have any issues.

However when we run both Insertion and Deletion at the same time, deletion is happening successfully but insertion is failing. When we look at the SQL loader logs we get the error like

"SQL*Loader-951: Error calling once/load initialization

ORA-00604: error occurred at recursive SQL level 1

ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired".

We are fine if the insertion process waits until the Deletion is completed, but it should not fail.

Can you please let us know how can we prevent the failure of the insertion.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 31 2017
Added on Sep 20 2017
5 comments
1,172 views