ORA-12838 please : Is possible to append two times to the same table befo 2004-04-02 - By Tanel Poder
Back 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@(protected) 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 -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
|
|