Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sachinsonidba
Starting Member
3 Posts |
Posted - 2012-11-26 : 08:14:38
|
hello experts,please go through the below configuration:-sql server 2005 sp2 windows server 2003 R2 (64 bit)CPU 2.13 GHzRAM 128 GBmax server memory 100GBmin server memory 40GBToday morning got an issue server was too slow and concernd team taken a screen shot of memory utilization till 102 GB, first concern, is any possibility that sql server can take more memory than what we have defined in max server memory?? |
|
Elizabeth B. Darcy
Starting Member
39 Posts |
Posted - 2012-11-26 : 09:54:20
|
Yes it can exceed. Max memory setting is just for the buffer pool. Worker threads (2 megabtyes for each), extended stored procs, linked servers, etc. are outside of that limit. See which database is consuming the memory using this query:SELECT DB_NAME(database_id) AS DB, COUNT(row_count)*8.0/1024.0 AS MBFROM sys.dm_os_buffer_descriptorsGROUP BY database_id If it is tempdb, it is possible that you have long running open transactions, or if RCSI is enabled it may be row versions. I saw Aaron Bertrand's page only after I wrote the above query, but you may find the information in his blog useful for diagnosing the problem - which includes something similar to my query (but probably better) and other useful information as well: http://www.mssqltips.com/sqlservertip/2393/determine-sql-server-memory-use-by-database-and-object/________________________________________-- Yes, I am indeed a fictional character. |
|
|
|
|
|