SQL Server Query Performance Tuning

6 Ratings

Course Number: SQL-626

Duration: 3 days (19.5 hours)

Format: Live, hands-on

SQL Server Training Overview

Accelebrate's SQL Server Query Performance Tuning training course teaches attendees everything they need to know to tune their SQL queries and improve execution speed.  Students learn how to fix relational design issues in their databases, create execution plans, collect performance data, add indexes to boost performance, and utilize statistics to deal with skewed data distribution.

Note: This SQL Server course is appropriate for versions to 2012-2019.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.

Objectives

  • Understand database application design
  • Optimize execution plan caching
  • Use the execution plan to tune a query
  • Collect tuning data
  • Add statistics
  • Locate T-SQL Performance issues

Prerequisites

All students must have SQL Server Query Development Experience.

Outline

Expand All | Collapse All

Introduction
Query Performance Tuning Process
  • Query and System Oriented Tuning
  • SQL Server Architecture
  • Database Components that Effect Performance
  • Query Execution Process
  • Query Performance Killers
Relational Design and Database Objects
  • Normal and Denormalized Database Design
  • Dealing with LOB Data
  • Index Types and Best Practices
  • Views and Indexed Views
  • Data Distribution and Statistics
Execution Plans and Operators
  • Parsing, Binding, and Query Optimization Process
  • Query Optimizer Improvements [SQL Server 2014 and Later]
  • Logical and Physical Execution Plan Operators
  • Viewing Execution Plans
  • Understanding Execution Plan Properties
  • Performance Timed and IO Statistics
  • Buffer Cache and Logical vs Physical Page Reads
  • Data Access Operators
  • Join Operators
  • Other Operators
  • Parallelism
  • Query Writing Best Practices
  • Reducing Query Resource Usage
  • Automatic Tuning with Automatic Plan Correction [SQL Server 2017 and Later]
  • Adaptive Query Processing [SQL Server 2017 and Later]
Collecting Query Performance Data
  • Locating Queries with Performance Issues
  • SQL Server Activity Monitor
  • SQL Server Management Studio Reports
  • Query Store [SQL Server 2016 and Later]
  • Dynamic Management Objects (DMOs)
  • Collecting SQL Server Events
  • Extended Events
  • Extended Events GUI [SQL Server 2012 and Later]
  • SQL Profiler (Deprecated)
  • Creating Application Baselines
Using Indexes to Improve Performance
  • Best scenarios for Clustered and NonClustered Indexes
  • Index Design Recommendations
  • Lookups vs Covering Indexes
  • Filtered Indexes
  • Index Intersections and Index Joins
  • Indexed Views
  • Fragmentation Issues
  • FillFactor and Padindex
  • Rebuilding and Reorganizing Indexes
  • Resumable Online Index Rebuild [SQL Server 2017 and Later]
  • Database Engine Tuning Advisor
Statistics and Cost-Based Optimization
  • Cost Based Optimizer
  • Selectivity, Density, and Cardinality of Data
  • New Cardinality Estimator Algorithms [SQL Server 2014 and Later]
  • Data Distribution Issues with CBO
  • Statistics to Track Data Distribution
  • Automatic Statistics
  • Manually Creating and Updating Statistics
Execution Plan Caching and Recompilation
  • Plan Cache
  • Ad Hoc Query Optimizations
  • Prepared Workloads
  • Stored Procedures
  • Plan Recompilation
  • Parameter Sniffing Issues
  • Recompile Hints and Options
  • Plan Guides
Transact-SQL Considerations
  • Temp Tables and Table Variables
  • Using Temp Tables Efficiently
  • Performance Pitfalls in T-SQL Code
  • Declarative Referential Integrity vs T-SQL Code
  • Triggers Performance Considerations
  • Transactions and Locking
  • Tuning and Alternatives to Cursors
  • Sequence Objects [SQL Server 2012 and Later]
  • Pagination with OFFSET and FETCH [SQL Server 2012 and Later]
  • JSON Support [SQL Server 2016 and Later]
  • Graph Databases and Relationships [SQL Server 2017 and Later]
Real World Query Tuning
Conclusion

Training Materials:

All SQL Server training students receive comprehensive courseware and a copy of APress' SQL Server Performance Tuning.

Software Requirements:

Attendees will not need to install any software on their computer for this class. The class will be conducted in a remote environment that Accelebrate will provide; students will only need a local computer with a web browser with a stable Internet connection. Any recent version of Microsoft Edge, Mozilla Firefox, or Google Chrome will be fine.



Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan