Memory Grant*
Memory Grant* indicates the amount of memory in kilobytes (KB) that SQL Server had to acquire to even start executing this query. In this case, we see 57,544 KB, roughly 56 megabytes (MB). Being limited, memory is one of the most important resources for SQL Server. Even when our SQL Server has terabytes (TB) of memory at its disposal, it is most likely still less than the overall storage taken by all our databases. This means that making sure SQL Server can properly estimate the amount of memory to use for a given query to execute, and then use it without waste, it is a measure of scalability and enhanced concurrency in our database system. We will discuss this in detail later in this section as we look at possible warnings ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access