RESOURCE_SEMAPHORE is what we call a poison wait: when it strikes, queries seem like they’re taking unpredictably long, and your server’s workload metrics (CPU, disk) don’t seem to match up to the demands of what folks are asking for from the database. It all has to do with how much memory queries ask for, and…
3.2 How to Fix Query Memory Waits (RESOURCE_SEMAPHORE)
RESOURCE_SEMAPHORE is what we call a poison wait: when it strikes, queries seem like they’re taking unpredictably long, and your server’s workload metrics (CPU, disk) don’t seem to match up to the demands of what folks are asking for from the database. It all has to do with how much memory queries ask for, and...
To access this incredible, amazing content, you gotta get Mastering Server Tuning with Wait Stats or Recorded Class Season Pass, or log in if you already shelled out the cash.
- 0.1 Prerequisites Before the Class
- 0.2 Download the Slides and Scripts
- 1.1 How to Measure Your SQL Server
- 1.2 How to Fix PAGEIOLATCH Waits
- 1.3 Lab 1: Fixing PAGEIOLATCH Waits
- 1.4 How to Fix CPU Waits (SOS_SCHEDULER_YIELD)
- 1.5 Lab 2: CPU-Intensive Workload
- 2.1 How to Fix Parallelism Waits (CXPACKET, CXCONSUMER, and LATCH_EX)
- 2.2 Plan Caching and Parameterization
- 2.3 Lab 3: Mixed Workload
- 2.4 How to Fix Blocking Waits (LCK%)
- 2.5 Lab 4 Setup: Planning the Work
- 3.1 How to Fix Worker Thread Waits (THREADPOOL)
- 3.3 How to Fix Hardware-Sounding Waits (WRITELOG, HADR_SYNC_COMMIT, ASYNC_NETWORK_IO)
- 3.4 Lab 5 Setup: Architecture Changes
- 3.5 How to Triage Performance Emergencies
- 3.6 Lab 6 Setup: Emergency Triage
- Bonus: Abnormal Parallelism
- Bonus: Storytelling Time