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: Allen Kirby <akirby_at_att.com>
Date: 1997/05/23
Message-ID: <338587A4.71FB@att.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

You can't if you use one insert statement. You can if you break up the insert and do multiple inserts with commits in between. That assumes you can segment the data. You could also use a PL/SQL or PRO*C loop to insert one or a few records at a time, and commit periodically. If you're loading from a file, sqlloader would handle it for you.

-- 
---
Allen Kirby			AT&T ITS Production Services
akirby_at_att.com			Alpharetta, GA.
Received on Fri May 23 1997 - 00:00:00 CDT

Original text of this message

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