Sql-server – SQL Server 2008 Multi Page Allocation

sql serversql-server-2005sql-server-2008

When a query or stored procedure has an execution plan greater than 8000 bytes, instead of using plan cache in buffer pool, it will use MPA (multi page allocator) which used memory outside buffer pool. This behavior is changed in SQL 2012 and MPA and SPA are part of buffer pool. But I am using SQL 2008 R2 standard edition.

Does multi page allocation means two or more 8K page will be allocated at once or page larger than 8K in size will be allocated to save execution plan for the query?

Best Answer

In this context, multi-page allocations means SQL Server needs more than 8K of memory, and it will allocate multiple 8K pages to hold that data.