Tuning Microsoft SQL Server Databases – Optimized
This 3-day optimized instructor-led course introduces SQL Server 2014 and describes logical table design, indexing and query plans.
Other common aspects of procedure coding, such as concurrency are also covered in this course.
Advanced DBA's that want to be able to troubleshoot and tune SQL
After completing this course, students will be able to:
- Introduce the entire SQL Server platform and its major tools. It will cover editions, versions, basics of network listeners, and concepts of services and service accounts.
- Determine appropriate data types to be used when designing tables, convert data between data types, and create alias data types.
- Be aware of good design practices regarding SQL Server tables and be able to create tables using T-SQL. (Note: partitioned tables are not covered).
- Determine appropriate single column and composite indexes strategies.
- Create tables as heaps and tables with clustered indexes. Also consider the design of a table and suggest an appropriate structure.
- Read and interpret details of common elements from execution plans.
- Design effective non-clustered indexes.
- Perform basic investigation of a deadlock situation and learn how transaction isolation levels affect application concurrency.
- Use SQL Server Profiler, SQL Trace, and Distributed Relay.
- Use Distributed Management Views and configure data collection.
- Knowledge of writing T-SQL queries.
- Knowledge of basic relational database concepts.
Recommended course before this is T618 Informationsbehandling med SQL
Contents of Tuning Microsoft SQL Server Databases - Optimized
Module 1: Introduction to Database Development
This module introduces database development and the key tasks that a database developer would typically perform.
- Introduction to the SQL Server Platform
- Working with SQL Server Tools
- Configuring SQL Server Services
Module 3: Designing a Physical Database Implementation
- Files and Filegroups
- Partitioning Data
- Compressing Data
- Lab : Designing a Physical Database Implementation
Module 2: Designing and Implementing Tables
This module explains how to design, create, and alter tables. Also it focusses on working with schemas.Lessons
- Designing Tables
- Working with Schemas
- Creating and Altering Tables
Module 4: Introduction to Indexing
This module describes the concept of an index and discusses selectivity, density and statistics. It covers appropriate data type choices and choices around composite index structures.
- Core Indexing Concepts
- Single Column and Composite Indexes
- SQL Server Table Structures
- Working with Clustered Indexes
Module 5: Advanced Indexing
This module explains covering indexes and the INCLUDE clause as well as the use of padding, hints and statistics. The module also covers the use of the Database Engine Tuning Advisor and index-related dynamic management views to assess indexing strategies.
- Execution Plan Core Concepts
- Common Execution Plan Elements
- Working with Execution Plans
- Designing Effective Nonclustered Indexes
- Performance Monitoring
Module 5: Tuning Database Performance
- Optimizing Query Performance with Indexes
- Managing Query Plans
- Performance Monitoring and Tuning
- Lab : Planning for Database Performance
Module 6: Columnstore Indexes
This module explains columnstore indexes, introduces clustered and nonclustered columnstore indexes, and discusses considerations for using columnstore indexes.
- Columnstore Indexes
- Best Practices for Columnstore Indexes
Module 11: Using In-Memory Tables
This module covers the creation of in-memory tables and native stored procedures and discusses the advantages and disadvantages of using in-memory tables.
- Memory-Optimized Tables
- Native Stored Procedures
Module 14: Performing Ongoing Database Maintenance
This module covers database maintenance plans.
- Ensuring Database Integrity
- Maintaining Indexes
- Automating Routine Database Maintenance
Module 15: Tracing Access to SQL Server 2014
This module describes how to use SQL Server Profiler and SQL Trace stored procedures to capture information about SQL Server. It also describes how to use Distributed Replay to capture trace information from multiple servers and how to monitor locking.
- Capturing Activity by Using SQL Server Profiler
- Improving Performance by Using the Database Engine Tuning Advisor
- Working with Tracing Options
- Distributed Replay
- Monitoring Locks
Module 16: Monitoring SQL Server 2014
This module explains how to use Distributed Management Views to monitor SQL Server. It also describes how to configure data collection and the SQL Server Utility.
- Monitoring Activity
- Capturing and Managing Performance Data
- Analyzing Collected Performance Data
- SQL Server Utility