min memory per query

Type: Advanced

Default value: 1024

The min memory per query option specifies the minimum amount of memory that will be allocated for the execution of a query. Normally, the SQL Server query processor attempts to determine the optimal amount of memory for a query. This option allows the sysadmin role to specify this value instead. Increasing this value usually improves queries that handle hash and sort operations on a large volume of data.

The following is an example of this option:

exec sp_configure 'min memory per query', 2048goRECONFIGUREgo

Looking back at Figure 60.5 showing the Memory page of the Server Properties dialog, you can see the min memory per query option set at 1024 (the default). ...

Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.