Pro SQL Server Internals [electronic resource] /
Korotkevitch, Dmitri.author.
Pro SQL Server Internals explains how different SQL Server components work "under the hood" and how they communicate with each other. This is the practical book with a large number of examples that will show you how various design and implementation decisions affect the behavior and performance of your systems. Pro SQL Server Internals covers a multiple SQL Server versions starting with SQL Server 2005 all the way up to the recently released SQL Server 2014. You’ll learn about new SQL Server 2014 features including the new Cardinality Estimator, In-Memory OLTP Engine (codename Hekaton), and Clustered Columnstore Indexes. With Pro SQL Server Internals, you have a solid roadmap for understanding the depth and power of the SQL Server database backend, regardless of the version and edition of SQL Server you use. Pro SQL Server Internals does the following: Explains how to design efficient database schema, 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 logs.
Contents at a Glance; Introduction; Part 1: Tables and Indexes; Chapter 1: Data Storage Internals; Database Files and Filegroups; Data Pages and Data Rows; Large Objects Storage; Row-Overflow Storage; LOB Storage; SELECT * and I/O; Extents and Allocation Map Pages; Data Modifications; Much Ado About Data Row Size; Table Alteration; Summary; Chapter 2: Tables and Indexes: Internal Structure and Access Methods; Heap Tables; Clustered Indexes; Composite Indexes; Nonclustered Indexes; Summary; Chapter 3: Statistics; Introduction to SQL Server Statistics; Column-Level Statistics
Statistics and Execution PlansStatistics and Query Memory Grants; Statistics Maintenance; SQL Server 2014 Cardinality Estimator; Comparing Cardinality Estimators: Up-to-Date Statistics; Comparing Cardinality Estimators: Outdated Statistics; Comparing Cardinality Estimators: Indexes with Ever-Increasing Key Values; Comparing Cardinality Estimators: Joins; Comparing Cardinality Estimators: Multiple Predicates; Summary; Chapter 4: Special Indexing and Storage Features; Indexes with Included Columns; Filtered Indexes; Filtered Statistics; Calculated Columns; Data Compression; Row Compression
Page CompressionPerformance Considerations; Sparse Columns; Summary; Chapter 5: Index Fragmentation; Types of Fragmentation; FILLFACTOR and PAD_INDEX; Index Maintenance; Designing an Index Maintenance Strategy; Patterns that Increase Fragmentation; Summary; Chapter 6: Designing and Tuning the Indexes; Clustered Index Design Considerations; Design Guidelines; Identities, Sequences, and Uniqueidentifiers; Nonclustered Indexes Design Considerations; Optimizing and Tuning Indexes; Detecting Unused and Inefficient Indexes; Index Consolidation; Detecting Suboptimal Queries; Summary
Part 2: Other things that matterChapter 7: Constraints; Primary Key Constraints; Unique Constraints; Foreign Key Constraints; Check Constraints; Wrapping Up; Chapter 8: Triggers; DML Triggers; DDL Triggers; Logon Triggers; UPDATE( ) and COLUMNS_UPDATED( ) functions; Nested and Recursive Triggers; First and Last Triggers; CONTEXT_INFO; Summary; Chapter 9: Views; Regular Views; Indexed Views; Partitioned Views; Updatable Views; Summary; Chapter 10: User-Defined Functions; Multi-Statement Functions; Inline Table-Valued Functions; Summary; Chapter 11: XML
To Use or Not to Use XML? That Is the Question!XML Data Type; Result:; Working with XML Data; value() Method; exists() Method; query() Method; nodes() Method; modify() Method; OPENXML; FOR XML; Summary; Chapter 12: Temporary Tables; Temporary Tables; Table Variables; User-Defined Table Types and Table-Valued Parameters; Regular Tables in tempdb; Optimizing tempdb Performance; Summary; Chapter 13: CLR; CLR Integration Overview; Security Considerations; Performance Considerations; Summary; Chapter 14: CLR Types; User-Defined CLR Types; Spatial Data Types; HierarchyId; Summary
Chapter 15: Data Partitioning
Includes index.
Pro SQL Server Internals explains how different SQL Server components work "under the hood" and how they communicate with each other. This is the practical book with a large number of examples that will show you how various design and implementation decisions affect the behavior and performance of your systems. Pro SQL Server Internals covers a multiple SQL Server versions starting with SQL Server 2005 all the way up to the recently released SQL Server 2014. You’ll learn about new SQL Server 2014 features including the new Cardinality Estimator, In-Memory OLTP Engine (codename Hekaton), and Clustered Columnstore Indexes. With Pro SQL Server Internals, you have a solid roadmap for understanding the depth and power of the SQL Server database backend, regardless of the version and edition of SQL Server you use. Pro SQL Server Internals does the following: Explains how to design efficient database schema, 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 logs.
SQL server.
SQL server.
Database management.
Database Management.