Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

SQL Server Memory Questions We were too shy to ask

$
0
0

Hi,

I have the following SQL Server Memory related questions. Shedding light on the same highly appreciated.

1. The Maximum Memory Configuration applies only to BufferPool Memory Usage.

2. BufferPool & Plan Cache Memory usages are different and Plan Cache Memory usage is not restricted by Maximum Memory Setting.

3. I am using Process Explorer at on server on which the Maximum Memory configuration is set to 18 Gigs whereas the total SQL Server is showing as 19+ Gigs, the Physical Memory on this server is 24 Gigs. I understand there some non-bufferpool usages, Is the non-bufferpool usage could be the only content.

4. What are the major memory usage blocks that is showing with Process explorer like, Bufferpool, Plan Cache, Non-bufferpool memory usages, is there any other memory usage items ?

5.On a 2008 64-bit instance, Maximum Memory is configured with 18 Gigs and the Process Explorer is showing the memory usage as 19+ Gigs, As per task manager the memory usage is more than 95 % of the total memory 24 Gigs. To get rid of the alert, If I forcefully issue the following queries, I am able to get rid of the memory critical alerts, i.e using Maximum Memory configuration the maximum limit is reduced to 4 Gigs and increasing it again to 18 Gigs, is this an recommended way of doing ? If not, what could be the impact,

EXEC  sp_configure‘max server memory (MB)’,4096;
GO
RECONFIGURE;
GO

EXEC  sp_configure‘max server memory (MB)’,18432;
GO
RECONFIGURE;
GO

6. I have issued DBCC FREEPROCCACHE on the SQL Server instance, and the memory usage on Process Explorer is not getting reduced. (Before issuing this query check that the total plan cache usage memory is more than 3 Gigs, the following query is used to check the plan cache memory usage :

SELECT SUM(cast(size_in_bytes AS BIGINT))/1024/1024 AS 'Size (MB)'
FROM sys.dm_exec_cached_plans;



Viewing all articles
Browse latest Browse all 1519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>