Improve your ability to develop, manage, and troubleshoot SQL Server solutions by learning how different components work “under the hood,” and how they communicate with each other. The detailed knowledge helps in implementing and maintaining high-throughput databases critical to your business and its customers. You’ll learn how to identify the root cause of each problem and understand how different design and implementation decisions affect performance of your systems.
New in this second edition is coverage of SQL Server 2016 Internals, including In-Memory OLTP, columnstore enhancements, Operational Analytics support, Query Store, JSON, temporal tables, stretch databases, security features, and other improvements in the new SQL Server version. The knowledge also can be applied to Microsoft Azure SQL Databases that share the same code with SQL Server 2016.
Pro SQL Server Internals is a book for developers and database administrators, and it covers multiple SQL Server versions starting with SQL Server 2005 and going all the way up to the recently released SQL Server 2016. The book provides a solid road map for understanding the depth and power of the SQL Server database server and teaches how to get the most from the platform and keep your databases running at the level needed to support your business. The book:
• Provides detailed knowledge of new SQL Server 2016 features and enhancements
• Includes revamped coverage of columnstore indexes and In-Memory OLTP
• Covers indexing and transaction strategies
• Shows how various database objects and technologies are implemented internally, and when they should or should not be used
• Demonstrates how SQL Server executes queries and works with data and transaction log
What You Will Learn
- Design and develop database solutions with SQL Server.
- Troubleshoot design, concurrency, and performance issues.
- Choose the right database objects and technologies for the job.
- Reduce costs and improve availability and manageability.
- Design disaster recovery and high-availability strategies.
- Improve performance of OLTP and data warehouse systems through in-memory OLTP and Columnstore indexes.
Who This Book Is For
Pro SQL Server Internals is a book for developers and database administrators who want to design, develop, and maintain systems in a way that gets the most from SQL Server. This book is an excellent choice for people who prefer to understand and fix the root cause of a problem rather than applying a 'band aid' to it.
Table of Contents
Part I: Tables and Indexes
Chapter 1: Data Storage Internals
Chapter 2: Tables and Indexes: Internal Structure and Access Methods
Chapter 3: Statistics
Chapter 4: Special Indexing and Storage Features
Chapter 5: SQL Server 2016 Features
Chapter 6: Index Fragmentation
Chapter 7: Designing and Tuning the Indexes
Part II: Other Things That Matter
Chapter 8: Constraints
Chapter 9: Triggers
Chapter 10: Views
Chapter 11: User-Defined Functions
Chapter 12: XML and JSON
Chapter 13: Temporary Objects and TempDB
Chapter 14: CLR
Chapter 15: CLR Types
Chapter 16: Data Partitioning
Part III: Locking, Blocking, and Concurrency
Chapter 17: Lock Types and Transaction Isolation Levels
Chapter 18: Troubleshooting Blocking Issues
Chapter 19: Deadlocks
Chapter 20: Lock Escalation
Chapter 21: Optimistic Isolation Levels
Chapter 22: Application Locks
Chapter 23: Schema Locks
Chapter 24: Designing Transaction Strategies
Part IV: Query Life Cycle
Chapter 25: Query Optimization and Execution
Chapter 26: Plan Caching
Part V: Practical Troubleshooting
Chapter 27: Extended Events
Chapter 28: System Troubleshooting
Chapter 29: Query Store
Part VI: Inside the Transaction Log
Chapter 30: Transaction Log Internals
Chapter 31: Backup and Restore
Chapter 32: High Availability Technologies
Part VII: Columnstore Indexes
Chapter 33: Column-Based Storage and Batch Mode Execution
Chapter 34: Columnstore Indexes
Part VIII: In-Memory OLTP Engine
Chapter 35: In-Memory OLTP Internals
Chapter 36: Transaction Processing in In-Memory OLTP
Chapter 37: In-Memory OLTP Programmability