When SQL Server detects a scenario in which memory grant usage is inefficient, the MemoryGrantWarning element is added to actual Showplan XML. This element contains information about initial request, granted memory, and maximum used grant. The most common scenario for this warning is when a query is using only a fraction of allocated memory grant. The other scenarios are rare, and relevant behavior of SQL Server may change in future versions.
ID d'article : 3172997 - Dernière mise à jour : 16 nov. 2016 - Révision : 1