Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Commits in a middle of a transaction

Re: Commits in a middle of a transaction

From: Rick Greenwald <greenie_at_interaccess.com>
Date: 1997/06/02
Message-ID: <3392D69B.56E9@interaccess.com>#1/1

Kris Rahl wrote:
>
> Does anyone know if there is a way to commit partway through the
> completion of a transaction? We have a 20,000 row insert and was
> wondering if a commit can be forced easily before it's completed.
>
> Thanks,
> Kris Rahl
> Krahl_at_evolving.com

Whenever you do a commit, the transaction is ended, so technically the answer is no.

However, if you want to commit the INSERTs you are doing before all 20,000 rows have been inserted, you can simply do an explicit COMMIT at any time.

Keep in mind that doing incremental commits may have an effect if the load does not complete - you will have the rows that have been committed to the database before the load ended, but not others - so you should plan a way to recover from this potential situation.

Hope this helps.

Received on Mon Jun 02 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US