Unix Technical Forum

Distributed Transactions and Two-Phase Commit

This is a discussion on Distributed Transactions and Two-Phase Commit within the Oracle Database forums, part of the Database Server Software category; --> Folks, Any opinions on Oracle's implementation using synonyms/database links for distributed transactions. Can I assume that the two-phase commit ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008, 01:06 PM
Rich Campbell
 
Posts: n/a
Default Distributed Transactions and Two-Phase Commit

Folks,

Any opinions on Oracle's implementation using synonyms/database links for
distributed transactions. Can I assume that the two-phase commit works
particulary with respect to transaction rollback in the event of a failure.

Thanks,


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 01:06 PM
Mark D Powell
 
Posts: n/a
Default Re: Distributed Transactions and Two-Phase Commit

With both versions 9.2 and 10g the DBA Administration Guide contains
several chapters on distributed processing. The Oracle rdbms
background process, reco, handles resolution of failed distributed
transactions.

Synonyms are not technically necessary for distributed transactions
since you can just code the remote owner.object_name@link in your SQL;
however, providing synonyms for remote objects makes codeing
distributed transactions easier for developers and end-users while
providing location transparity.

HTH -- Mark D Powell --

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 01:07 PM
John Darrah
 
Posts: n/a
Default Re: Distributed Transactions and Two-Phase Commit

Rich,

One word of warning, two phase commits can, in the right conditions,
lead to big time scalibility problems. Jonathan Lewis has written a
paper describing the problem.
http://www.jlcomp.demon.co.uk/02_tpm.rtf. Hope this helps and sorry if
you already had this info.

John
Mark D Powell wrote:
> With both versions 9.2 and 10g the DBA Administration Guide contains
> several chapters on distributed processing. The Oracle rdbms
> background process, reco, handles resolution of failed distributed
> transactions.
>
> Synonyms are not technically necessary for distributed transactions
> since you can just code the remote owner.object_name@link in your

SQL;
> however, providing synonyms for remote objects makes codeing
> distributed transactions easier for developers and end-users while
> providing location transparity.
>
> HTH -- Mark D Powell --


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com