Pro SQL Server Internals

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 perfor...

Descripción completa

Detalles Bibliográficos
Autor principal: Korotkevitch, Dmitri. author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Berkeley, CA : Apress 2014.
Edición:1st ed. 2014.
Colección:The expert's voice in SQL server Pro SQL server internals
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629551006719
Tabla de Contenidos:
  • 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