6.7 Summary
In this chapter, we’ve learned about TCL and how it helps with data consistency in database environments with an unforeseeable number of parallel transactions.
The COMMIT and ROLLBACK mechanisms help us with multitable changes by either applying them all together or cancelling them altogether.
The lock mechanism helps us protect our target rows from other transactions until our DML statements are completed, preventing simultaneous write access.
The transaction isolation mechanism helps us read stable datasets matching our intent, by either allowing or parallel transactions or preventing them from interfering with our queries.
We’ve also briefly discussed some potential pitfalls of TCL.
That concludes our discussion of content ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access