Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > Nested Transactions in Sybase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-29-04, 15:54
cula cula is offline
Registered User
 
Join Date: Mar 2004
Location: New Zealand
Posts: 3
Nested Transactions in Sybase

Hi,

I have been studying nested transactions based on the following general theorem:

1. Parent can create children subtasks; children might execute sequentially or concurrently; parent waits until all children complete (no communication between parent and children)
2. Each subtransaction (together with its descendants) is isolated with respect to each sibling (and its descendants). Hence, siblings are serializable, but order is note determined and nested transaction is non-deterministic.
3. Concurrent nested transactions are serializable.
4. A subtransaction is atomic. It can abort or commit independently of other subtransactions. Commit is conditional on commit of parent (since child task is a subtask of a parent task). Abort causes abort of all subtransaction's children.
5. Nested transaction commits when root commits. At that point updates of committed subtransactions are made durable.
6. Individual subtransactions are not necessarily consistent, but nested transaction as a whole is consistent.

However, I have been informed that Sybase does not properly follow these guidelines and implement nested transactions accordingly. I was hoping that someone could let me know of the differences between Sybase’s implementation of nested transactions and the above definition.

Thank you
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On