Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ORA-12838 please : Is possible to append two times to the same table before doing a commit
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_at_mail.ee>
To: <oracle-l_at_freelists.org>
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.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://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_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Apr 02 2004 - 07:26:53 CST
![]() |
![]() |