Upload
niyishaka-patrick
View
39
Download
1
Embed Size (px)
Citation preview
Week 7 Transaction Processing Concepts
Typical OLTP Environments How to Recovery Types of Failures Acid Property of Transactions Transaction States Transaction as a Concurrency Unit Concurrent Executions Serializability Conflicting Instructions Conflict Serializability
summary Real-life example quiz
summary Real-life example quiz
Week 7 Transaction Processing Concepts
A Typical example of transaction processing would be a banking trans-action, in which there is a transfer of RwF 1,000,000 between two ac-counts. In order to deposit money into one account, you must first take money from another account.
Using transactions, you would write the following:
BEGIN TRAN UPDATE account1 SET balance=balance-1000000 WHERE acid = '0027065-03-26'; UPDATE account2 SET balance=balance+1000000 WHERE acid = '0099777-05-45'; COMMIT TRAN
1. The acronym ACID is typically used in reference to: A. Transaction. B. CRM analytics . C. Data integrity. D. Stubs.
2. In Transaction processing concepts, ACID stands for? A. Analysis Console for Intrusion Databases B. Atomicity and Consistency In Demand C. Atomicity, Consistency, Isolation, and Durability D. Acidification Chemistry Information Database E. Atomicity and Consistency in Information Database
summary Real-life example quiz
Enter answer,,,. 1. 2.
Week 7 Transaction Processing Concepts
1. The acronym ACID is typically used in reference to: A. Transaction. B. CRM analytics . C. Data integrity. D. Stubs.
2. In Transaction processing concepts, ACID stands for? A. Analysis Console for Intrusion Databases B. Atomicity and Consistency In Demand C. Atomicity, Consistency, Isolation, and Durability D. Acidification Chemistry Information Database E. Atomicity and Consistency in Information Database
summary Real-life example quiz
Enter answer,,,. 1. A 2. C
Week 7 Transaction Processing Concepts
1. What is query processing? A. The activities involved in entering in a database. B. The activities involved in creating a database. C. The activities involved in retrieving data from the database. D. The activities involved in modifying a database.
2. What is relational algebra? A. The basic set of operations for the relational model B. SQL C. DML D. The activities involved in modifying a database.
3. Query optimization is a function of many relational database management systems in which multiple query plans for satisfying a query are examined and a good query plan is identified: A. True B. False
summary Real-life example quiz
Enter answer,,,. 1. C 2. B 3. A
Week 7 Transaction Processing Concepts
3. What is not a type of database failures? A. A computer failure (system crash) B. A transaction or system error C . Disk failure D. Syntax failure E. Physical problems and catastrophes
4. What is not a transaction states? A. Active B. Developed C . Aborted: D. Committed: E. Terminated:
5. Transactions must not be synchronized correctly to guarantee database consistency. A. True B. False
summary Real-life example quiz
answer is: 3. 4. 5.
Week 7 Transaction Processing Concepts
3. What is not a type of database failures? A. A computer failure (system crash) B. A transaction or system error C . Disk failure D. Syntax failure E. Physical problems and catastrophes
4. What is not a transaction states? A. Active B. Developed C . Aborted: D. Committed: E. Terminated:
5. Transactions must not be synchronized correctly to guarantee database consistency. A. True B. False
summary Real-life example quiz
answer is: 3. D 4. B 5. B
Week 7 Transaction Processing Concepts