This module explains how the class will be structured and introduces course materials and additional administrative information.
- Course Materials
- What We'll Be Discussing
SQL 2014 Architecture
In this module, we will examine the new Cardinality Estimator, explore memory-optimized tables, and explain how SQL both stores and locates data.
- The New Cardinality Estimator
- Memory-Optimized Tables
- Understanding Performance for Developers
- Understanding Startup Parameters
- Startup Stored Procedures
- Database Structures
- Instant File Initialization
- How SQL Stores Data
- How SQL Locates Data
The Database Engine
The SQL Server Database Engine is split into two major components, which are the storage engine and the relational engine. The relational engine is also called the query processor which is a more descriptive term for what it actually does. In this module, we explore how the engines works, and cover concepts that will help you to understand their behavior.
- Four Important Concepts
- Temporary Tables Internals
- Isolation Levels
- SQL Server Locking Architecture
- SQL and Storage Area Networks (SAN)
- SQL on VMs
- SQLIO Utility
- Partitioned Tables and Indexes
SQL Performance Tools
SQL provides a number of robust monitoring tools and in this module we explore the tools available and explain what they are designed to do.
- The Resource Governor
- Activity Monitor
- Live Query Statistics
- Monitoring SQL with Transact-SQL
- Dynamic Management Objects (DMOs) and Performance Tuning
Query Optimizing and Operators
SQL Server query optimization remains a very important part of today’s database applications. In this module we examine the tuning process, options for troubleshooting, execution plans, Performance Monitor, and much more.
- Tuning Process
- Performance Monitor Tool
- SQL Query Processing Steps
- Understanding Execution Plans
- SET STATISTICS TIME and SET STATISTICS IO
- Data Access Operators
- Troubleshooting Queries
The entire concept of indexing is speedy retrieval. In this module we explain everything you need to know about creating, utilizing, managing, and monitoring indexes.
- Introduction to Indexes
- Index Types by Storage
- Index Types by Column Designation
- Creating and Altering Indexes
- Data Management Views for Indexing
- Database Engine Tuning Advisor
- Index Data Management Objects
- SQL Server Fragmentation
- Index Storage Strategies
- Indexed Views
- Monitoring Indexes
- Index Dynamic Management Objects (DMOs)
- Best Practices
Statistics are considered one of the most important aspects of SQL Server Performance Tuning. In this module we examine statistics and how to utilize them.
- Cardinality Estimator
- Incremental Statistics
- Computed Columns Statistics
- Filtered Statistics
The most important new feature in SQL Server 2014 is the new In-Memory OLTP engine. In this module we will cover the architecture, restrictions, and other exciting features.
- Tables and Indexes
- Natively Compiled Stored Procedures
- Analyze Migrate Report Tool
- In-Memory Data Management Views (DMV)
SQL Profiler and SQL Trace
The SQL Server 2014 Profiler is essentially the same as the SQL Server 2012 Profiler. This is not surprising because many new features that were added in SQL Server 2005 and SQL Server 2008 addressed gaps identified in previous versions. In this module, we cover both SQL Profiler and SQL Trace.
- SQL Trace
- SQL Trace Architecture
- SQL Server Profiler
Query Issues and Hints
In this module, we will examine query issues, how to identify them, and how to resolve them. We’ll also cover query hints, plan guides, and explore plan freezing.
- Query Hints
- Plan Guides
- Plan Freezing
- Join Orders
This course is designed to give the right amount of Internals knowledge, and wealth of practical tuning and optimization techniques, that you can put into production. The course offers a comprehensive coverage of SQL Server architecture, indexing and statistics strategies, optimize transaction log operations, tempdb and data file configuration, transactions and isolation levels, and locking and blocking. The course also teaches how to create baselines and benchmark SQL Server performance, how to analyze workload and figure out where performance problems are, and how to fix them. Coverage of in-memory tables and stored procedures along with an introduction to this exciting new technology is included.
The primary audience for this course is individuals who administer and maintain SQL Server databases, and are responsible for optimal performance of SQL Server instances that they manage. These individuals also write queries against data and need to ensure optimal execution performance of the workloads.
The secondary audiences for this course are individuals who develop applications that deliver content from SQL Server databases.