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: How to avoid rollback during some INSERTs ?

Re: How to avoid rollback during some INSERTs ?

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Tue, 9 Feb 1999 20:34:59 -0000
Message-ID: <918592489.22985.0.nnrp-12.9e984b29@news.demon.co.uk>

The best guide to it is in the tuning guide, roughly though

    set a flag in the init.ora something like:

        discrete_tranactions_enabled = true     Use a PL/SQL block, and start with a call to

        dbms_transaction.begin_discrete_transaction     Set an exception handler on the block to catch

        dbms_transaction.discrete_transaction_failed     and repeat or rollback the transaction in the exception handler

Jonathan Lewis
Yet another Oracle-related web site: www.jlcomp.demon.co.uk

Nuno Guerreiro wrote in message <36c01967.590420099_at_news.telecom.pt>...
>Would anyone enlighten me on the usage of DISCRETE transactions? How
>do I tell SQL*Plus, for example, that I want to use DISCRETE
>transactions?
>
>This would be marvellous in some situations, since I do lots of
>inserts, updates, deletes in large tables.
Received on Tue Feb 09 1999 - 14:34:59 CST

Original text of this message

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