tailieunhanh - Ebook Database system concepts (6th edition): Part 2
(BQ) Part 2 book "Database system concepts" has contents: Transactions, concurrency control, recovery system, database system architectures, parallel databases, distributed databases, data warehousing and mining, advanced transaction processing, parallel databases, distributed databases,.and other contents. | PART 4 TRANSACTION MANAGEMENT The term transaction refers to a collection of operations that form a single logical unit of work. For instance, transfer of money from one account to another is a transaction consisting of two updates, one to each account. It is important that either all actions of a transaction be executed completely, or, in case of some failure, partial effects of each incomplete transaction be undone. This property is called atomicity. Further, once a transaction is successfully executed, its effects must persist in the database —a system failure should not result in the database forgetting about a transaction that successfully completed. This property is called durability. In a database system where multiple transactions are executing concurrently, if updates to shared data are not controlled there is potential for transactions to see inconsistent intermediate states created by updates of other transactions. Such a situation can result in erroneous updates to data stored in the database. Thus, database systems must provide mechanisms to isolate transactions from the effects of other concurrently executing transactions. This property is called isolation. Chapter 14 describes the concept of a transaction in detail, including the properties of atomicity, durability, isolation, and other properties provided by the transaction abstraction. In particular, the chapter makes precise the notion of isolation by means of a concept called serializability. Chapter 15 describes several concurrency-control techniques that help implement the isolation property. Chapter 16 describes the recovery management component of a database, which implements the atomicity and durability properties. Taken as a whole, the transaction-management component of a database system allows application developers to focus on the implementation of individual transactions, ignoring the issues of concurrency and fault tolerance. 625 This page intentionally left .
đang nạp các trang xem trước