Re: Asynchronous Commit in Oracle Database 10g R2
- From: "VC" <boston103@xxxxxxxxxxx>
- Date: Sat, 3 Sep 2005 09:19:37 -0400
"Jonathan Lewis" <jonathan@xxxxxxxxxxxxxxxxxx> wrote in message
news:dfbma4$hg1$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> An example where this is very bad -
> loop
> read value from row in database
> mark row as processed
> use extproc to transfer value to Swiss bank account
> commit;
> end loop;
>
> If the database crashes, you could be in a position where
> the extproc has sent the funds, but the committed change
> was not written into the redo log FILE. When the database
> restarts, you have repeat a couple of transfers.
>
> As soon as you are able to get a message out of the black
> box that is the database (in this case pl/sql) call, you have
> the ability to detect a commit that is not recoverable.
Thanks for your comments.
>
>
> --
> Regards
>
> Jonathan Lewis
.
- References:
- Re: Asynchronous Commit in Oracle Database 10g R2
- From: Jonathan Lewis
- Re: Asynchronous Commit in Oracle Database 10g R2
- From: VC
- Re: Asynchronous Commit in Oracle Database 10g R2
- From: Jonathan Lewis
- Re: Asynchronous Commit in Oracle Database 10g R2
- Prev by Date: Re: Asynchronous Commit in Oracle Database 10g R2
- Next by Date: Re: Asynchronous Commit in Oracle Database 10g R2
- Previous by thread: Re: Asynchronous Commit in Oracle Database 10g R2
- Next by thread: Re: Asynchronous Commit in Oracle Database 10g R2
- Index(es):
Relevant Pages
|