SQL Server Concurrency (Paperback)
暫譯: SQL Server 並發控制 (平裝本)
Kalen Delaney
- 出版商: Red gate books
- 出版日期: 2012-09-11
- 售價: $1,270
- 貴賓價: 9.5 折 $1,207
- 語言: 英文
- 頁數: 202
- 裝訂: Paperback
- ISBN: 1906434913
- ISBN-13: 9781906434915
-
相關分類:
SQL
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
敏捷軟體開發:原則、樣式及實務 (Agile Software Development: Principles, Patterns, and Practices)$780$616 -
深入淺出物件導向分析與設計 (Head First Object-Oriented Analysis and Design)$880$695 -
C++ Primer, 4/e (中文版)$990$891 -
重構─改善既有程式的設計, 2/e (Refactoring: Improving The Design of Existing Code)$800$632 -
HTML & CSS : 網站設計建置優化之道 (HTML and CSS: Design and Build Websites)$580$493 -
行動介面設計模式 (Designing Mobile Interfaces)$880$695 -
超圖解 Arduino 互動設計入門, 2/e$680$578 -
830 洞紅藍線透明大麵包板$100$95 -
圖解資料結構-使用 Java, 2/e$480$374 -
實戰 Wireshark|網路分析其實很簡單$450$356 -
LINE原創貼圖自己畫|有趣又能創造角色經濟,行銷全世界也easy!$350$277 -
網路規劃與管理實務- 協助考取 CCNA 證照$780$780 -
精通 Python|運用簡單的套件進行現代運算 (Introducing Python: Modern Computing in Simple Packages)$780$616 -
瀏覽器語言專用 3D引擎: WebGL 完全剖析 (舊版:WebGL 專業級 3D 引擎降臨-使用瀏覽器語言開發)$680$578 -
Android APP 程式開發剖析, 2/e$650$514 -
資料科學的商業運用 (Data science for business)$680$537 -
WordPress 架站的 12堂課|網域申請x架設x佈景主題x廣告申請$480$379 -
Python 程式設計實務-從初學到活用 Python 開發技巧的16堂課$560$437 -
網路行銷與創新商務服務-雲端商務和物聯網個案集, 3/e$540$427 -
Docker 錦囊妙計 (Docker Cookbook)$680$537 -
建構微服務|設計細微化的系統 (Building Microservices)$580$458 -
大數據分析 Excel Power BI 全方位應用$500$395 -
Python 3.5 技術手冊$520$411 -
WordPress 架站自學手冊|規劃x設計x架設x經營$490$387 -
大演算:機器學習的終極演算法將如何改變我們的未來,創造新紀元的文明?(The Master Algorithm: How the Quest for the Ultimate Learning Machine Will Remake Our World)$620$527
相關主題
商品描述
If you've designed your SQL code intelligently, and implemented a sensible indexing strategy, there's a good chance your queries will "fly", when tested in isolation. In the real world, however, where multiple processes can access the same data at the same time, SQL Server often has to make one process wait, sacrificing concurrency and performance, in order that in order that all can succeed, without destroying data integrity. Transactions are at the heart of concurrency. I explain their ACID properties, the transaction isolation levels that dictate the acceptable behaviors when multiple transactions access the same data simultaneously, and SQL Server's optimistic and pessimistic models for mediating concurrent access. Pessimistic concurrency, SQL Server's default, uses locks to avoid concurrency problems. I explain all the different locks and their compatibility. I show how to control locking with hints and bound connections, and how to troubleshoot excessive blocking and deadlocking. Optimistic concurrency uses row versions to support concurrency. I explain how row versioning works, cover SQL Server's two Snapshot-based isolation levels and offer troubleshooting tips for issues such as update conflicts. Your application can have world-class indexes and queries, but they won't help you if you can't get your data, because another application has it locked. That's why every DBA and developer must understand SQL Server concurrency, and how to troubleshoot any issues. I hope my book helps!
商品描述(中文翻譯)
如果您聰明地設計了 SQL 代碼,並實施了合理的索引策略,那麼在單獨測試時,您的查詢很有可能會「飛起來」。然而,在現實世界中,當多個進程可以同時訪問相同數據時,SQL Server 通常必須讓一個進程等待,犧牲並發性和性能,以便所有進程都能成功,而不破壞數據完整性。事務是並發的核心。我將解釋它們的 ACID 屬性、決定多個事務同時訪問相同數據時可接受行為的事務隔離級別,以及 SQL Server 用於調解並發訪問的樂觀和悲觀模型。
悲觀並發是 SQL Server 的預設選項,使用鎖來避免並發問題。我將解釋所有不同的鎖及其相容性。我會展示如何使用提示和綁定連接來控制鎖定,以及如何排除過度阻塞和死鎖的問題。樂觀並發使用行版本來支持並發。我將解釋行版本控制的工作原理,涵蓋 SQL Server 的兩個基於快照的隔離級別,並提供針對更新衝突等問題的故障排除建議。
您的應用程序可以擁有世界級的索引和查詢,但如果您無法獲取數據,因為另一個應用程序已將其鎖定,那麼這些索引和查詢將無法幫助您。因此,每位 DBA 和開發人員都必須了解 SQL Server 的並發性,以及如何排除任何問題。我希望我的書能有所幫助!
