Skip to content

danielgoldszmit/SQLMonitoring-Optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

START FROM THE OUTSIDE IN

  • Environment

  • VM - Disk Size, Storage Size

  • Azure Monitor

  • Dynamic Management Views (DMV's) and Wait Stats

  • Query Store

  • Extended Events (XEvents)

    Layered Approach

  1. Look over performance guidelines for the SQL VM and going through the check list

  2. Enable the Query Store if you are running SQL VM (Query Store is enabled by default in Azure SQL DB)

  3. Leveraging the Performance Dashboard if you are running SQL VM or SQL Managed Instance

  4. Using Log Analytics

  5. Verify Deployment

    • What Version are you running
    • What Engine Edition
    • What is the DB name, creation date, compatibility level, collation
    • Verify server memory configuration options
    • Gets back DTU limits, CPU limits, Memory limits, Size limits, Log limits
    • Verify installed physical memory, memory usage, memory model, service startup time
    • Verify Deployment.md
  6. Azure SQL Database Tips (If you're running Azure SQL DB)

  7. Run Wait Stats (Good for SQL VM, MI and Azure SQL DBs)

  8. Monitor Performance with DMVs

  9. Monitor and Optimize Indexes

  10. What bucket does your issue fall into? 

  • Issue is either running alot or waiting alot
  • Running alot - You have a CPU issue and your queries are running hot or you have a query compilation problem
  • Waiting alot - You have Blocking isses, IO issues because of a lack of indexes, or you have a tempdb contention.

Layered Approach

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published