ݺߣ

ݺߣShare a Scribd company logo
Transaction Processing
Transaction Processing
Concepts
Concepts
1. Introduction To
transaction Processing
 1.1 Single User VS Multi User Systems
 One criteria to classify Database is
according to number of user that
concurrently connect to the system.

Single User: only one user use the system in
each time

Multi User: many users use the system in the
same time
1.2 Transactions, Read and Write
Operations, and DBMS Buffers
 What is a Transaction?
 Transaction is an executing program that forms a
logical unit of database processing.
 A transaction include one or more database access
operations.
 The database operation can be embedded within an
application or can be specified by high level query
language.
 Specified boundary by Begin and End transaction
statements
 If the database operations in a transaction do not update the
database, it is called “Read-only transaction”
Example of transaction

Let Ti be a transaction that transfer money
from account A (5000) to account B. The
transaction can be defined as

Ti: read (A) (withdraw from A)
A := A – 5000
write (A); (update A)
read (B) (deposit B)
B := B + 5000
write (B) (update B)
Why recovery is needed?
 Transaction submitted for execution
 DBMS is responsible for making sure that
either
 All operations in transaction are completed
successfully and the changes is recorded
permanently in the database.
 The DBMS must not permit some operations of a
transaction T to be applied to the DB while others
of T are not.
 (will cause inconsistency)
Failures Type
Generally classified as
 Transaction Failure
 System Failure
 Media Failure
Reasons for a transaction fails in the
middle of execution
 A computer failure (System crash) – media failures
 A transaction or system error: logical program error
 Load error or exception conditions detected by
the transaction : no data for the transaction
 Concurrency control enforcement: by concurrency
control method
 Disk failure
 Physical problems and catastrophes: ex. Power
failure, fire, overwrite disk
Transaction or system error
 Some operation in transaction may
cause it to fail, such as integer
overflow or divide by zero.
 May occur because of erroneous
parameter values
 Logical programming
 User may interrupt during execution
Local error or exception conditions
detected by transaction
 During transaction execution,
conditions may occur that necessitate
cancellation of the transaction
 Ex. Data for the transaction may not
found
 Exception should be programmed
(not be consider failure)
Concurrency control
enforcement
 The concurrency control method may
decide to abort the transaction,
 Because of violent serializability
 Because several transaction are in state
of deadlock
Transaction states and additional
Operation
 For recovery purpose, the system needs
to keep track of when the transaction
 starts,
 terminates,
 and commits or aborts.
 What information that the recovery
manager keep track?
Transaction states and additional
Operation
 The recovery manager keep track of the
followings
• Begin_transaction: mark the beginning of
transaction execute
• Read or write: specified operations on the database
item that executes as part of transaction
• End_transaction: specifies that operations have
ended and marks the end of execution (Necessary to
check)
• The change can be committed
• Or whether the transaction has to aborted
• Commit_Transaction: successful end (will not undo)
• Rollback: unsuccessful end (undone)
State of transaction
 Active, the initial state; the transaction stays in
this state while it is executing.
 Partially committed, after the final statement
has been executed
 Failed, after the discovery that normal execution
can no longer proceed.
 Aborted, after the transaction has been rolled
backed and the database has been restored to its
state prior to the start of transaction.
 Committed, after successful completion
State diagram of a transition
A transaction must be in one of these states.
Partially
Committed
Aborted
(Terminate)
Active
Begin
Transaction
Read
Write
Abort
Failed
Abort
committed
Commit
 The transaction has committed only if
it has entered the committed state.
 The transaction has aborted only if it
has entered the aborted state.
 The transaction is said to have
terminated if has either committed
or aborted.
The System Log
 The system maintain log by keep track of
all transactions that effect the database.
 Log is kept on Disk.
 Effected only by disk or catastrophic
failure
 Keep Log records
Log records
T is transaction ID
 (Start_transaction, T) start transaction
 (Write_item, T, X, old_value, new_value)
transaction write/update item x
 (Read_item, T, X) transaction read item X
 (Commit, T) complete operation of T
 (Abort, T) terminate transaction T
System Log (cont.)
 Log file keep track
 start transaction → complete transaction
 System fail occur
 Restart system, system will recovery
 Redo transaction that already commit
 Undo no commit transaction
Commit point of a
transaction
 When is the transaction T reach its
commit point?
 Answer is “when all its operations that
access the database have been executed
successfully and the effect of all the
transaction operations on the database
have been recorded in the log.
 The transaction is said to be “committed”
(Cont.)
 At committed point
 Write [commit] in log file
 Failure occur
 Search in log file looking for all
transactions T, that have write
[Start_Transaction ,T]
 If no commit, Rollback transaction
 If commit found, Redo transaction
Desirable properties of
transaction : ACID properties
 To ensure integrity of data, we require that
the database system maintain the
following properties of the transactions:
 Atomicity.
 Consistency preservation.
 Isolation.
 Durability or permanency.
ACID
 Atomicity. Either all operations of the transaction are reflected
properly in the database, or none are.
 Consistency. Execution of a transaction in isolations (that is, with no
other transaction executing concurrently)
 Isolation. Even though multiple transactions may execute
concurrently, the system guarantees that, for every pair of transactions
Ti and Tj, it appears to Ti that
 either Tj finished execution before Ti started,
 or Tj started execution after Ti finished.
 Thus, each transaction is unaware of other transactions executing
concurrently in the system.
(Execution of transaction should not be interfered with by any other
transactions executing concurrently)
 Durability. After a transaction completes successfully, the changes it
has made to the database persist, even if there are system failures.
(The changes must not be lost because of any failure)
Consistency
 Consistency.
 The consistency requirement here is that the
sum of A and B be unchanged by the
execution of the transaction.
 Without consistency requirement, money could
be created or destroyed by the transaction.
 It can be verified,

If the database is consistency before an execution of
the transaction, the database remains consistent
after the execution of the transaction.
Atomicity
 Atomicity. Either all operations of the
transaction are reflected properly in the database,
or none are.

State before the execution of transaction Ti

The value of A = 50,000

The value of B = 100
 Failure occur (ex. Hardware failure)

Failure happen after the WRITE(A) operation

(at this moment A = 50000 – 5000 = 45000)

And the value of B = 100 (inconsistency state)

In consistency state A = 45000 and B = (5100)
(cont.)
 Idea behind ensuring atomicity is
following:

The database system keeps track of the old
values of any data on which a transaction
performs a write

If the transaction does not complete, the
DBMS restores the old values to make it
appear as though the transaction have
never execute.
Durability or permanency
 Durability or permanency. After a
transaction completes successfully, the
changes it has made to the database
persist, even if there are system failures.
 These changes must not be lost because of any
failure
 ensures that, transaction has been committed,
that transaction’s updates do not get lost, even if
there is a system failure
Isolation
 Isolation. Even though multiple transactions
may execute concurrently, the system
guarantees that,
• for every pair of transactions Ti and Tj,
• it appears to Ti that either Tj finished execution
before Ti started,
• or Tj started execution after Ti finished.
• Thus, each transaction is unaware of other
transactions executing concurrently in the system.
• ( Execution of transaction should not be
interfered with by any other transactions
executing concurrently )
Concurrency Control
Concurrent Executions
 Transaction processing permit
 Multiple transactions to run
concurrently.
 Multiple transactions to update data
concurrently
 Cause
 Complications with consistency of data
Reason for allowing
concurrency
 Improved throughput of
transactions and system
resource utilization
 Reduced waiting time of
transactions
Possible Problems
 Lost update problem
 Temporary update problem
 Incorrect summary problem
Example transaction
 Transfer money
from account A to B
 Read_item(A)
 A := A – 50
 Write_item(A)
 Read_item(B)
 B := B + 50
 Write_item(B)
 Transfer 10% of A to
Account B
 Read_item(A)
 temp := 0.1*A
 A:= A-temp
 Write_item(A)
 Read_item(B)
 B := B + temp
 Write_item(B)
Lost update problem
T1 T2
Read_item(A)
A := A – 50
Read_item(A)
temp := 0.1*A
A:= A-temp
Write_item(A)
Read_item(B)
Write_item(A)
Read_item(B)
B := B + 50
Write_item(B)
B := B + temp
Write_item(B)
A = 1000, B =2000
A = 950
A = 950
temp = 95
A=950-95
= 855
A = 950
B = 2000
A = 855
B = 2000
B = 2050
B = 2050
B = 2095
B = 2095
A = 1000
Temporary update problem
T1 T2
- Write_item(R)
Read_item(R) -
- RollBack
R = 1000
R = 1000
R = 3000
R = 3000
Inconsistency problem
T1 T2
Read_item(A)
SUM = Sum+A
Read_item(B)
SUM = A + B
Read_item(C)
C = C - 10
Write_item(C)
Read_item(A)
A = A + 10
Write_item(A)
COMMIT
Read_item(C)
SUM = SUM + C
A = 40 , B = 50, C = 30
A = 40
Sum = 40
B = 50
SUM = 40+50
= 90
C = 30
C = 30-10 =20
C = 20
A = 40
A = 40+10 =50
A = 50
C = 20
Sum = 90 + 20 = 110
A+B+C = 40+50+30 = 120
After
A+B+C = 50+50+20 = 120

More Related Content

Similar to These slides are about How to do The transaction.ppt (20)

PPTX
Introduction to transaction processing concepts and theory
Zainab Almugbel
PDF
Advanced database chapter three PowerPoint
afendimohammed288
PPT
Tranasaction management
Dr. C.V. Suresh Babu
PPTX
Ch 9
muteddy
PPTX
DBMS UNIT IV.pptx
Janagi Raman S
PPT
... MongoDB, Redis and Cassandra, without physically launching a virtual mach...
VijayGatty
PPTX
Transaction Processing in DBMS.pptx
Lovely Professional University
PPTX
Dartabase Transaction.pptx
Bibus Poudel
PPT
Transactionsmanagement
Sanjeev Gupta
PPT
BCT 2312 - Chapter 2 - Transaction processing concepts.ppt
gikurujoseph53
PPTX
Advanced Database System Chapter 2 Transaction.pptx
fikadumeuedu
PPT
DBMS CIIT Ch8.pptasddddddddddddddddddddd
Bishnuramghimire1
PPTX
Lec 1-2 Relational Database Management Issues.pptx
hacker01gt
PPTX
Chapter 1&2 query processing and optimization - Copy.pptx
ahmed518927
PPTX
Chapter 123 - Transaction Processing and Mgt.pptx
ahmed518927
PPTX
Chapter 1 - Transaction Processing and Mgt.pptx
ahmed518927
PPT
19.TRANSACTIONs.ppt
AkhilNameirakpam
PPTX
sdggjhgdagsjfegsfgrthtADBMS Lecture 1.pptx
ahmed518927
PPT
Dbms ii mca-ch9-transaction-processing-2013
Prosanta Ghosh
PPT
transaction mgr (7) (1).ppt
PavanKumar980917
Introduction to transaction processing concepts and theory
Zainab Almugbel
Advanced database chapter three PowerPoint
afendimohammed288
Tranasaction management
Dr. C.V. Suresh Babu
DBMS UNIT IV.pptx
Janagi Raman S
... MongoDB, Redis and Cassandra, without physically launching a virtual mach...
VijayGatty
Transaction Processing in DBMS.pptx
Lovely Professional University
Dartabase Transaction.pptx
Bibus Poudel
Transactionsmanagement
Sanjeev Gupta
BCT 2312 - Chapter 2 - Transaction processing concepts.ppt
gikurujoseph53
Advanced Database System Chapter 2 Transaction.pptx
fikadumeuedu
DBMS CIIT Ch8.pptasddddddddddddddddddddd
Bishnuramghimire1
Lec 1-2 Relational Database Management Issues.pptx
hacker01gt
Chapter 1&2 query processing and optimization - Copy.pptx
ahmed518927
Chapter 123 - Transaction Processing and Mgt.pptx
ahmed518927
Chapter 1 - Transaction Processing and Mgt.pptx
ahmed518927
19.TRANSACTIONs.ppt
AkhilNameirakpam
sdggjhgdagsjfegsfgrthtADBMS Lecture 1.pptx
ahmed518927
Dbms ii mca-ch9-transaction-processing-2013
Prosanta Ghosh
transaction mgr (7) (1).ppt
PavanKumar980917

Recently uploaded (20)

PDF
Our Guide to the July 2025 USPS® Rate Change
Postal Advocate Inc.
PPTX
How to Configure Taxes in Company Currency in Odoo 18 Accounting
Celine George
DOCX
MUSIC AND ARTS 5 DLL MATATAG LESSON EXEMPLAR QUARTER 1_Q1_W1.docx
DianaValiente5
PDF
Rapid Mathematics Assessment Score sheet for all Grade levels
DessaCletSantos
PDF
DIGESTION OF CARBOHYDRATES ,PROTEINS AND LIPIDS
raviralanaresh2
PPTX
2025 Completing the Pre-SET Plan Form.pptx
mansk2
PPTX
Project 4 PART 1 AI Assistant Vocational Education
barmanjit380
PPT
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
PDF
Supply Chain Security A Comprehensive Approach 1st Edition Arthur G. Arway
rxgnika452
PDF
Gladiolous Cultivation practices by AKL.pdf
kushallamichhame
PDF
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
PPTX
Iván Bornacelly - Presentation of the report - Empowering the workforce in th...
EduSkills OECD
DOCX
DLL english grade five goof for one week
FlordelynGonzales1
PDF
CAD25 Gbadago and Fafa Presentation Revised-Aston Business School, UK.pdf
Kweku Zurek
PDF
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
PPTX
How Physics Enhances Our Quality of Life.pptx
AngeliqueTolentinoDe
PPTX
ESP 10 Edukasyon sa Pagpapakatao PowerPoint Lessons Quarter 1.pptx
Sir J.
PPTX
ENGLISH -PPT- Week1 Quarter1 -day-1.pptx
garcialhavz
PPTX
How to Manage Wins & Losses in Odoo 18 CRM
Celine George
PDF
The Power of Compound Interest (Stanford Initiative for Financial Decision-Ma...
Stanford IFDM
Our Guide to the July 2025 USPS® Rate Change
Postal Advocate Inc.
How to Configure Taxes in Company Currency in Odoo 18 Accounting
Celine George
MUSIC AND ARTS 5 DLL MATATAG LESSON EXEMPLAR QUARTER 1_Q1_W1.docx
DianaValiente5
Rapid Mathematics Assessment Score sheet for all Grade levels
DessaCletSantos
DIGESTION OF CARBOHYDRATES ,PROTEINS AND LIPIDS
raviralanaresh2
2025 Completing the Pre-SET Plan Form.pptx
mansk2
Project 4 PART 1 AI Assistant Vocational Education
barmanjit380
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
Supply Chain Security A Comprehensive Approach 1st Edition Arthur G. Arway
rxgnika452
Gladiolous Cultivation practices by AKL.pdf
kushallamichhame
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
Iván Bornacelly - Presentation of the report - Empowering the workforce in th...
EduSkills OECD
DLL english grade five goof for one week
FlordelynGonzales1
CAD25 Gbadago and Fafa Presentation Revised-Aston Business School, UK.pdf
Kweku Zurek
COM and NET Component Services 1st Edition Juval Löwy
kboqcyuw976
How Physics Enhances Our Quality of Life.pptx
AngeliqueTolentinoDe
ESP 10 Edukasyon sa Pagpapakatao PowerPoint Lessons Quarter 1.pptx
Sir J.
ENGLISH -PPT- Week1 Quarter1 -day-1.pptx
garcialhavz
How to Manage Wins & Losses in Odoo 18 CRM
Celine George
The Power of Compound Interest (Stanford Initiative for Financial Decision-Ma...
Stanford IFDM
Ad

These slides are about How to do The transaction.ppt

  • 2. 1. Introduction To transaction Processing  1.1 Single User VS Multi User Systems  One criteria to classify Database is according to number of user that concurrently connect to the system.  Single User: only one user use the system in each time  Multi User: many users use the system in the same time
  • 3. 1.2 Transactions, Read and Write Operations, and DBMS Buffers  What is a Transaction?  Transaction is an executing program that forms a logical unit of database processing.  A transaction include one or more database access operations.  The database operation can be embedded within an application or can be specified by high level query language.  Specified boundary by Begin and End transaction statements  If the database operations in a transaction do not update the database, it is called “Read-only transaction”
  • 4. Example of transaction  Let Ti be a transaction that transfer money from account A (5000) to account B. The transaction can be defined as  Ti: read (A) (withdraw from A) A := A – 5000 write (A); (update A) read (B) (deposit B) B := B + 5000 write (B) (update B)
  • 5. Why recovery is needed?  Transaction submitted for execution  DBMS is responsible for making sure that either  All operations in transaction are completed successfully and the changes is recorded permanently in the database.  The DBMS must not permit some operations of a transaction T to be applied to the DB while others of T are not.  (will cause inconsistency)
  • 6. Failures Type Generally classified as  Transaction Failure  System Failure  Media Failure
  • 7. Reasons for a transaction fails in the middle of execution  A computer failure (System crash) – media failures  A transaction or system error: logical program error  Load error or exception conditions detected by the transaction : no data for the transaction  Concurrency control enforcement: by concurrency control method  Disk failure  Physical problems and catastrophes: ex. Power failure, fire, overwrite disk
  • 8. Transaction or system error  Some operation in transaction may cause it to fail, such as integer overflow or divide by zero.  May occur because of erroneous parameter values  Logical programming  User may interrupt during execution
  • 9. Local error or exception conditions detected by transaction  During transaction execution, conditions may occur that necessitate cancellation of the transaction  Ex. Data for the transaction may not found  Exception should be programmed (not be consider failure)
  • 10. Concurrency control enforcement  The concurrency control method may decide to abort the transaction,  Because of violent serializability  Because several transaction are in state of deadlock
  • 11. Transaction states and additional Operation  For recovery purpose, the system needs to keep track of when the transaction  starts,  terminates,  and commits or aborts.  What information that the recovery manager keep track?
  • 12. Transaction states and additional Operation  The recovery manager keep track of the followings • Begin_transaction: mark the beginning of transaction execute • Read or write: specified operations on the database item that executes as part of transaction • End_transaction: specifies that operations have ended and marks the end of execution (Necessary to check) • The change can be committed • Or whether the transaction has to aborted • Commit_Transaction: successful end (will not undo) • Rollback: unsuccessful end (undone)
  • 13. State of transaction  Active, the initial state; the transaction stays in this state while it is executing.  Partially committed, after the final statement has been executed  Failed, after the discovery that normal execution can no longer proceed.  Aborted, after the transaction has been rolled backed and the database has been restored to its state prior to the start of transaction.  Committed, after successful completion
  • 14. State diagram of a transition A transaction must be in one of these states. Partially Committed Aborted (Terminate) Active Begin Transaction Read Write Abort Failed Abort committed Commit
  • 15.  The transaction has committed only if it has entered the committed state.  The transaction has aborted only if it has entered the aborted state.  The transaction is said to have terminated if has either committed or aborted.
  • 16. The System Log  The system maintain log by keep track of all transactions that effect the database.  Log is kept on Disk.  Effected only by disk or catastrophic failure  Keep Log records
  • 17. Log records T is transaction ID  (Start_transaction, T) start transaction  (Write_item, T, X, old_value, new_value) transaction write/update item x  (Read_item, T, X) transaction read item X  (Commit, T) complete operation of T  (Abort, T) terminate transaction T
  • 18. System Log (cont.)  Log file keep track  start transaction → complete transaction  System fail occur  Restart system, system will recovery  Redo transaction that already commit  Undo no commit transaction
  • 19. Commit point of a transaction  When is the transaction T reach its commit point?  Answer is “when all its operations that access the database have been executed successfully and the effect of all the transaction operations on the database have been recorded in the log.  The transaction is said to be “committed”
  • 20. (Cont.)  At committed point  Write [commit] in log file  Failure occur  Search in log file looking for all transactions T, that have write [Start_Transaction ,T]  If no commit, Rollback transaction  If commit found, Redo transaction
  • 21. Desirable properties of transaction : ACID properties  To ensure integrity of data, we require that the database system maintain the following properties of the transactions:  Atomicity.  Consistency preservation.  Isolation.  Durability or permanency.
  • 22. ACID  Atomicity. Either all operations of the transaction are reflected properly in the database, or none are.  Consistency. Execution of a transaction in isolations (that is, with no other transaction executing concurrently)  Isolation. Even though multiple transactions may execute concurrently, the system guarantees that, for every pair of transactions Ti and Tj, it appears to Ti that  either Tj finished execution before Ti started,  or Tj started execution after Ti finished.  Thus, each transaction is unaware of other transactions executing concurrently in the system. (Execution of transaction should not be interfered with by any other transactions executing concurrently)  Durability. After a transaction completes successfully, the changes it has made to the database persist, even if there are system failures. (The changes must not be lost because of any failure)
  • 23. Consistency  Consistency.  The consistency requirement here is that the sum of A and B be unchanged by the execution of the transaction.  Without consistency requirement, money could be created or destroyed by the transaction.  It can be verified,  If the database is consistency before an execution of the transaction, the database remains consistent after the execution of the transaction.
  • 24. Atomicity  Atomicity. Either all operations of the transaction are reflected properly in the database, or none are.  State before the execution of transaction Ti  The value of A = 50,000  The value of B = 100  Failure occur (ex. Hardware failure)  Failure happen after the WRITE(A) operation  (at this moment A = 50000 – 5000 = 45000)  And the value of B = 100 (inconsistency state)  In consistency state A = 45000 and B = (5100)
  • 25. (cont.)  Idea behind ensuring atomicity is following:  The database system keeps track of the old values of any data on which a transaction performs a write  If the transaction does not complete, the DBMS restores the old values to make it appear as though the transaction have never execute.
  • 26. Durability or permanency  Durability or permanency. After a transaction completes successfully, the changes it has made to the database persist, even if there are system failures.  These changes must not be lost because of any failure  ensures that, transaction has been committed, that transaction’s updates do not get lost, even if there is a system failure
  • 27. Isolation  Isolation. Even though multiple transactions may execute concurrently, the system guarantees that, • for every pair of transactions Ti and Tj, • it appears to Ti that either Tj finished execution before Ti started, • or Tj started execution after Ti finished. • Thus, each transaction is unaware of other transactions executing concurrently in the system. • ( Execution of transaction should not be interfered with by any other transactions executing concurrently )
  • 29. Concurrent Executions  Transaction processing permit  Multiple transactions to run concurrently.  Multiple transactions to update data concurrently  Cause  Complications with consistency of data
  • 30. Reason for allowing concurrency  Improved throughput of transactions and system resource utilization  Reduced waiting time of transactions
  • 31. Possible Problems  Lost update problem  Temporary update problem  Incorrect summary problem
  • 32. Example transaction  Transfer money from account A to B  Read_item(A)  A := A – 50  Write_item(A)  Read_item(B)  B := B + 50  Write_item(B)  Transfer 10% of A to Account B  Read_item(A)  temp := 0.1*A  A:= A-temp  Write_item(A)  Read_item(B)  B := B + temp  Write_item(B)
  • 33. Lost update problem T1 T2 Read_item(A) A := A – 50 Read_item(A) temp := 0.1*A A:= A-temp Write_item(A) Read_item(B) Write_item(A) Read_item(B) B := B + 50 Write_item(B) B := B + temp Write_item(B) A = 1000, B =2000 A = 950 A = 950 temp = 95 A=950-95 = 855 A = 950 B = 2000 A = 855 B = 2000 B = 2050 B = 2050 B = 2095 B = 2095 A = 1000
  • 34. Temporary update problem T1 T2 - Write_item(R) Read_item(R) - - RollBack R = 1000 R = 1000 R = 3000 R = 3000
  • 35. Inconsistency problem T1 T2 Read_item(A) SUM = Sum+A Read_item(B) SUM = A + B Read_item(C) C = C - 10 Write_item(C) Read_item(A) A = A + 10 Write_item(A) COMMIT Read_item(C) SUM = SUM + C A = 40 , B = 50, C = 30 A = 40 Sum = 40 B = 50 SUM = 40+50 = 90 C = 30 C = 30-10 =20 C = 20 A = 40 A = 40+10 =50 A = 50 C = 20 Sum = 90 + 20 = 110 A+B+C = 40+50+30 = 120 After A+B+C = 50+50+20 = 120

Editor's Notes

  • #6: Catastrophe มหันตภัย
  • #7: Catastrophe มหันตภัย
  • #10: สาเหตุจากการควบคุมการทำงานพร้อมกันของรายการเปลี่ยนแปลง 1. ขัดกับ serializability 2.อยู่ในสภาวะล็อกค้าง
  • #14: Failed กรณีที่มีข้อผิดพลาดเกิดขึ้นกับ transaction
  • #31: เพิ่มปริมาณงาน และการใช้ประโยชน์จากทัพยากรของระบบไม่ว่าจะเป็น cpu time ในระหว่างที่มีการอ่านเขียนข้อมูล หากทำงานในลักษณะทีละรายการรายการที่ตามมาต้องรอจนกว่ารายการ่อนหน้าจะทำงานเสร็จ