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: Commit after transacton is completed

Re: Commit after transacton is completed

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Fri, 25 Nov 2005 16:48:43 +0100
Message-ID: <ceceo1d2fuk77b5vemh46g354letjr55av@4ax.com>


On Fri, 25 Nov 2005 07:57:39 -0700, "Mark A" <nobody_at_nowhere.com> wrote:

>In this case, the "logical transaction" is really one update (or delete in
>my example), however doing a commit for every delete is a waste of
>resources. But only committing after all the rows are updated (or deleted)
>is equally bad (as already noted). So committing every 1000 updates (or
>deletes) does make sense with such a "transaction".
>

But only committing after all the rows are updated (or deleted)
>is equally bad (as already noted).

Actually it isn't bad at all (as also already noted), if you are aware what a transaction is.
Status flags are just a hack implemented by developers exposed to lousy commercial software and equally lousy products forcing you into single record commit.
One should address the causes, and stop implementing further hacks.

--
Sybrand Bakker, Senior Oracle DBA
Received on Fri Nov 25 2005 - 09:48:43 CST

Original text of this message

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