Overview
Gives you quick troubleshooting advice when you are faced with urgent locking conflicts
Provides a deep explanation of how Oracle’s locking mechanisms enable high throughput
Covers best practices for transaction design aimed at high throughput and high concurrency
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (9 chapters)
Keywords
About this book
Good transaction design is an important facet of highly-concurrent applications that are run by hundreds, even thousands, of users who are executing transactions at the same time. Transaction design, in turn, relies on a good understanding of how the database engine manages the locking of resources to prevent access conflicts and data loss that might otherwise result from concurrent access to data in the database. This book provides a solid and accurate explanation of how locking and concurrency are dealt with by Oracle Database. You will learn how the Oracle Database architecture accommodates user transactions, and how you can write code to mesh with the way in which Oracle Database is designed to operate.
Oracle Database Transactions and Locking Revealed covers in detail the various lock types, and also different locking schemes such as pessimistic and optimistic locking. Then you will learn about transaction isolation and multi-version concurrency, and how the various lock types support Oracle Database’s transactional features. You will learn tips for transaction design, as well as some bad practices and habits to avoid. Coverage is also given to redo and undo, and their role in concurrency. The book is loaded with insightful code examples that drive home each concept. This is an important book that anyone developing highly-concurrent applications will want to have handy on their shelf.
What You Will Learn
- Avoid application lockups due to conflicts over accessing the same resource
- Understand how Oracle prevents one application from overwriting another’s modifications
- Create transaction designs that mesh with how Oracle Database is designed
- Build high-throughput applications supporting thousands of concurrent users
- Design applications to take full advantage of Oracle’s powerful database engine
- Gain a fundamental knowledge of Oracle’s transaction and locking architecture
- Develop techniques to quickly diagnose and resolve common locking issues
Who This Book Is For
Oracle developers and database administrators faced with troubleshooting and solving deadlocks, locking contention, and similar problems that are encountered in high-concurrency environments; and application developers wanting to design their applications to excel at multi-user concurrency by taking full advantage of Oracle Database’s multi-versioning and concurrency support
Authors and Affiliations
About the authors
Thomas Kyte is a former vice president of the Core Technologies Group at Oracle Corporation. He is the same Tom who created the "Ask Tom" website and the Oracle Magazine column of the same name. He has a long history of answering questions about the Oracle database and tools that developers and database administrators struggle with every day.
Bibliographic Information
Book Title: Oracle Database Transactions and Locking Revealed
Book Subtitle: Building High Performance Through Concurrency
Authors: Darl Kuhn, Thomas Kyte
DOI: https://doi.org/10.1007/978-1-4842-6425-6
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books
Copyright Information: Darl Kuhn and Thomas Kyte 2021
Softcover ISBN: 978-1-4842-6424-9Published: 15 October 2020
eBook ISBN: 978-1-4842-6425-6Published: 14 October 2020
Edition Number: 2
Number of Pages: XXVIII, 265
Number of Illustrations: 12 b/w illustrations
Topics: Database Management