Re: ORA-12838 please : Is possible to append two times to the same table before doing a commit

  • From: "Juan Cachito Reyes Pacheco" <jreyes@xxxxxxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 2 Apr 2004 09:27:05 -0400

Thanks Tanel and every one for answering.


Juan Carlos Reyes Pacheco
OCP
Database 9.2 Standard Edition
----- Original Message ----- 
From: "Tanel Põder" <tanel.poder.003@xxxxxxx>
To: <oracle-l@xxxxxxxxxxxxx>
Sent: Friday, April 02, 2004 4:36 AM
Subject: Re: ORA-12838 please : Is possible to append two times to the same
table before doing a commit


Hi!

> I believe Oracle is enforcing this to guarantee consistency of the
> database.  I realise you are probably using the APPEND hint for
performance
> reasons but is it really necessary?

Yes, when you're doing an insert in append mode, Oracle takes an exclusive
lock on the table and inserts rows above high-water-mark, without raising
the highwatermark itself. HWM is risen to appropriate position when you
commit, so when you rollback, the HWM is just left where it was before.

I don't see a reason why the same session shouldn't be able to do several
consecutive direct load inserts on a table, but I might have missed
something, or Oracle just hasn't implemented this improvement yet...

Tanel.



----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: