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

Home -> Community -> Usenet -> c.d.o.server -> Re: rollback space

Re: rollback space

From: Frank van Bortel <fvanbortel_at_netscape.net>
Date: Thu, 03 Feb 2005 15:18:32 +0100
Message-ID: <cttbon$rb3$1@news3.zwoll1.ov.home.nl>


Tom Dyess wrote:

> <manish.nevrekar_at_gmail.com> wrote in message 
> news:1107369583.318529.264990_at_z14g2000cwz.googlegroups.com...
> 

>>1) Each row has 10 columns. Approximately 70 B each row.
>>2) No lobs
>>3)No other transactions are running, this is a batch load, any other
>>transaction if running at all is select.
>>4) there are no on isert triggers on the table.
>>
>>I beg to differ on commiting after every 'x' rows. I always prefer to
>>commit once at the end of the transaction. Commiting often is
>>definitely more work plus there is always the chance of the dreaded
>>ORA-01555 "Snapshot too old" error.
>>In my ETL procedures every insert and update is time stamped and hence
>>it can be identified.
>>Thanks
>>Manish
>>
> 
> 
> Here's a pretty good article on the "Snapshot too Old." I committing every x 
> rows shouldn't cause a problem. Concerning it being more work, it shouldn't 
> take too long, or at least you'll make up for it by having your insertion 
> work as desired. Have you tried Oracle's direct data loading? I've used DOA 
> for Delphi and it utilizes this capability.
> 
> http://www.oraclepower.com/WebPortal/webportal?aid=sr&id=11337
> 

Did you *read* your own recommendation? It says (about committing, also called fetch across commit): "so a "snapshot too old" error becomes a real possibility."

I dare to go further: it's a receipe for a snapshot too old!

Commit once is a sound advice.

-- 
Regards,
Frank van Bortel
Received on Thu Feb 03 2005 - 08:18:32 CST

Original text of this message

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