商品描述
Oracle Database Transactions and Locking Revealed provides much-needed information for building scalable, high-concurrency applications and deploy them against the Oracle Database. Read this short, 150-page book that is adapted from Expert Oracle Database Architecture to gain a solid and accurate understanding of how locking and concurrency are dealt with by Oracle Database. Also learn how the Oracle Database architecture accommodates user transactions, and how you can write code to mesh with how Oracle Database is designed to operate.
Good transaction design is an important facet of highly-concurrent applications that are run by hundreds, even thousands of users who are all executing transactions at the same time. Transaction design in turn relies upon a good understanding of how the underlying database platform manages of the locking of resources so as to prevent access conflicts and data loss that might otherwise result from concurrent access to data in the database.
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’ll learn about transaction isolation and multiversion concurrency, and how the various lock types support Oracle Database’s transactional features. You’ll learn some good 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. This is an important book that anyone developing highly-concurrent applications will want to have handy on their shelf.
商品描述(中文翻譯)
《Oracle Database 交易與鎖定揭密》提供了建立可擴展、高併發應用程式所需的重要資訊,並將其部署於 Oracle Database 上。閱讀這本短小的 150 頁書籍,該書改編自《Expert Oracle Database Architecture》,以獲得對 Oracle Database 如何處理鎖定和併發的堅實且準確的理解。還將學習 Oracle Database 架構如何容納用戶交易,以及如何編寫代碼以配合 Oracle Database 的設計運作。
良好的交易設計是高併發應用程式的重要面向,這些應用程式由數百甚至數千名用戶同時執行交易。交易設計反過來又依賴於對底層資料庫平台如何管理資源鎖定的良好理解,以防止因併發訪問資料而可能導致的訪問衝突和資料損失。
《Oracle Database 交易與鎖定揭密》詳細介紹了各種鎖定類型,以及不同的鎖定方案,如悲觀鎖定和樂觀鎖定。接著,您將學習交易隔離和多版本併發,以及各種鎖定類型如何支持 Oracle Database 的交易特性。您將學到一些良好的交易設計建議,以及一些應避免的不良做法和習慣。書中還涵蓋了重做(redo)和撤銷(undo),以及它們在併發中的角色。這是一本重要的書籍,任何開發高併發應用程式的人都會希望隨手可得。