Episode
Waiting due to memory grants [7 of 7] | Azure SQL for beginners
with Bob Ward
In this episode we will look at another common performance problem due to waiting on resources related to memory grants. This scenario involves a problem where some CPU is observed for slow performance but also many waits are seen for a resource related to a memory grant for a query. We will look more behind what is a memory grant and why certain query patterns or design can result in memory grants that lead to performance problems.
Chapters
- 00:00 - Introduction
- 01:04 - What is a memory grant?
- 02:36 - When can memory grants become a problem?
- 04:37 - The troubleshooting process
- 05:48 - Demo
- 14:54 - Summary
- 15:26 - Learn more
Recommended resources
- The full Azure SQL for beginners Special Edition series on Performance Troubleshooting
- The full Azure SQL for beginners series
- Learn more about SQL memory grants
- Azure SQL Workshop
- Azure SQL Fundamentals
- Watch Data Exposed
- See more videos from our team
- Follow us on social media
- Read these books: Azure SQL and Azure SQL for Developers
In this episode we will look at another common performance problem due to waiting on resources related to memory grants. This scenario involves a problem where some CPU is observed for slow performance but also many waits are seen for a resource related to a memory grant for a query. We will look more behind what is a memory grant and why certain query patterns or design can result in memory grants that lead to performance problems.
Chapters
- 00:00 - Introduction
- 01:04 - What is a memory grant?
- 02:36 - When can memory grants become a problem?
- 04:37 - The troubleshooting process
- 05:48 - Demo
- 14:54 - Summary
- 15:26 - Learn more
Recommended resources
- The full Azure SQL for beginners Special Edition series on Performance Troubleshooting
- The full Azure SQL for beginners series
- Learn more about SQL memory grants
- Azure SQL Workshop
- Azure SQL Fundamentals
- Watch Data Exposed
- See more videos from our team
- Follow us on social media
- Read these books: Azure SQL and Azure SQL for Developers
Have feedback? Submit an issue here.