Hi.
I would like to know if sql*loader commits after it deletes the rows when executing loader option replace.
Is it possible to make it commit only after everything is done, so that there is no second when the table is empty.
Thanks for your help.
Software/Hardware used:
ASKED:
August 29, 2008 9:50 AM
UPDATED:
September 9, 2008 5:26 PM
I tested Rdano’s approach (on Oracle 8i), but it doesn’t work because a commit is issued after the initial deletion, and thus, delaying the next commits only makes the table remains empty for a longer period of time.
After (next time I will do it before) running the test, I went to the documentation, and it says:
Good luck.
Good find Carlosdl. I think the only option to ensure that the table is never empty would be to SQL Load into a different table and then run a PL/SQL procedure to do whatever, update the records delete all and insert all from the different table. Your options there depending on the scenario and setup.