Isolation |
|
The isolation portion of the ACID properties is needed when there are concurrent transactions. Concurrent transactions are transactions that occur at the same time, such as shared multiple users accessing shared objects. This situation is illustrated at the top of the figure as activities occurring over time. The safeguards used by a DBMS to prevent conflicts between concurrent transactions are a concept referred to as isolation.
As an example, if two people are updating the same catalog item, it's not acceptable for one person's changes to be "clobbered" when the second person saves a different set of changes. Both users should be able to work in isolation, working as though he or she is the only user. Each set of changes must be isolated from those of the other users. An important concept to understanding isolation through transactions is serializability. Transactions are serializable when the effect on the database is the same whether the transactions are executed in serial order or in an interleaved fashion. As you can see at the top of the figure, Transactions 1 through Transaction 3 are executing concurrently over time. The effect on the DBMS is that the transactions may execute in serial order based on consistency and isolation requirements. If you look at the bottom of the figure, you can see several ways in which these transactions may execute. It is important to note that a serialized execution does not imply the first transactions will automatically be the ones that will terminate before other transactions in the serial order. Degrees of isolation¹:
¹ These were originally described as degrees of consistency by Jim Gray.
Read more free articles on this siteThere are nearly 400 pages of articles on this site with over 40 pages on database concepts and standards. Search this site for more articles
Custom Search
Browse this site for more articlesClick on the topics below to browse the articles on this site.The arrows show the path to the current article: Isolation ACID property.
Related recent articles from Google News
More related news: data database-management-system OR DBMS - Google News Related books at Amazon.com
More related books: Search Amazon.com for database isolation
Copyright © 2000-2009 Barry & Associates,
Inc. All Rights Reserved.
|
| |||||||||||||||||||||||||||||||||||||
|