Preparation
  • This Course is About Learning How To Properly Tune A SQL Server.
  • I've Tuned over 500 SQL Servers in the last 5 years. Let Me Show You How.
  • All of The Course Content Can Be Downloaded Right Here. Download it Now.
  • Install sp_whoisactive
  • Creating the Udemy Database Video
  • Install Load Generator Tool
  • A lot of Performance Tuning is Iteration. Let's find out what iterations is.
  • Tuning Indexes in One of The More Iterative Things We Do. Let's learn how.
  • You can Take This Course Several Ways But I'd Suggest From the Beginning.
  • Let's Take A Few Minutes To Go Over What We've Learned in This Section
  • Create Script Library
  • Preparation
Creating a Baseline
  • The Blue Print - Where Do We Start Tuning Our SQL Boxes?
  • Let's Talk About The Importance of Having A Solid Baseline.
  • Our baseline is only as good as the metrics we use to monitor our servers with.
  • In This Lecture We Cover the Basics of Performance Monitor
  • Create A Custom Data Collector Set for Capturing The "Big Three."
  • Let's Go Over What We've Covered on Crafting a Baseline
  • Let's Define What Wait Statistics Are. You Must Learn This To Be Senior Level.
  • Wait Statistics Are Maintained Since The Last Reboot. Let's Learn What Else Is.
  • We Need A Way To Capture Wait Statistics Over A Period of Time
  • Using sp_whoisactive to Capture Data For Quick Analysis
  • Capturing IO Related Metrics Over a Period of Time
  • What is CrystalDiskMark and How We Can Use it To Speak A Little SAN
  • How Fast Are Your Disks? Using Crystal Disk Mark to Size Up You Reads and Writes
  • Learn How to Answer Interview Questions About Performance Tuning
  • Section Summary
  • Creating The Baseline
Performance Tuning
  • Instance Level Versus Database Level Tuning and Why It's Critically Important
  • SQL Server Should Live Alone. Sharing is Not Caring in the Database World.
  • Prioritizing Our Fixes So We Can Make The Best Decisions For Our Databases.
  • Sitting On SP_WHOISACTIVE and Watching How Transactions Flow.
  • What Is sp_whoisactive
  • Understanding Min and Max Memory is Harder Than You Might Have Thought.
  • Cofiguring Memory at the Instance Level
  • What is Tempdb Latch Contention?
  • What Tempdb Latch Contention Looks Like in sp_whoisactive
  • Resolving Tempdb Latch Contention
  • The IO Tuning Overview
  • Optimize For Adhoc Workloads
  • Turning On Switch For Adhoc Workloads
  • The Worst Performing Queries
  • Why Too Many Indexes Are Bad and What We Can Do to Solve This Epidemic.
  • Unused Indexes and Why The Wasted Space Isn't Our Biggest Problem.
  • What Are Index Statistics and Why Are They So Important To The Optimizer.
  • UPDATING Statistics is Easy. Let's Look At How We Can Get It Done.
  • Adding High Impact Indexes is much Harder and More Important than anything else
  • Rebuilding Indexes - Why Offline is Better. The Less Fragmentations the better.
  • Identifying Incremental Growth and Correcting It
  • Interview Questions Specific to Performance Tuning
  • Section Summary
  • Performance Tuning Final Exam
Conclusion
  • Thank You For Taking My Course. Let's Wrap This One up.