transaction_managment

Jul 7th, 2015
Studypool Tutor
Algoma University College
Price: $30 USD

Tutor description

To preserve integrity of data, the database system must ensure: Atomicity. Either all operations of the transaction are properly reflected in the database or none are. Consistency.Execution of a transaction in isolation preserves the consistency of the database.

Word Count: 1637
Showing Page: 1/29
TransactionTransaction Concept A transaction is a unit of program execution thataccesses and possibly updates various data items. A transaction must see a consistent database. During transaction execution the database may beinconsistent. When the transaction is committed, the databasemust be consistent. Two main issues to deal with: Failures of various kinds, such as hardwarefailures and system crashes Concurrent execution of multiple transactionsACID Properties To preserve integrity of data, the database systemmust ensure:Atomicity. Either all operations of the transaction areproperly reflected in the database or none are.Consistency. Execution of a transaction in isolationpreserves the consistency of the database.Cont. Isolation. Although multiple transactions mayexecute concurrently, each transaction must beunaware of other concurrently executingtransactions. Intermediate transaction results mustbe hidden from other concurrently executedtransactions. That is, for every pair of transactions Ti and Tj, itappears to Ti that either Tj, finished executionbefore Ti started, or Tj started execution after Tifinished. Durability. After a transaction completessuccessfully, the changes it has made to thedatabase persist, even if there are system failures.Transaction Notation Transactions access data using two operations:1) read(X), which transfers the data item X fromthe database to a local buffer belon

Review from student

Studypool Student
" awesome work thanks "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1826 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors