© Darl Kuhn and Thomas Kyte 2021
D. Kuhn, T. KyteOracle Database Transactions and Locking Revealedhttps://doi.org/10.1007/978-1-4842-6425-6_5

5. Transactions

Darl Kuhn1  and Thomas Kyte2
(1)
Morrison, CO, USA
(2)
Denver, CO, USA
 

Transactions are one of the features that set databases apart from file systems. In a file system, if you are in the middle of writing a file and the operating system crashes, that file will probably be corrupted, though there are “journaled” file systems and the like that may be able to recover your file to some point in time. However, if you need to keep two files synchronized, such a system won’t help—if you update one file and the system fails before you finish updating the second, your files won’t be synchronized.

This is ...

Get Oracle Database Transactions and Locking Revealed: Building High Performance Through Concurrency now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.