﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administering / SQL Server 2005  / Monitor memory usage on User database level / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 24 May 2012 11:31:00 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Monitor memory usage on User database level</title><link>http://www.sqlservercentral.com/Forums/Topic942857-146-1.aspx</link><description>I ran the T-SQL - very nice - I multiply the pages by 8 (for 8Kb) and then divide by 1024 for MBsWhen I then total the MBs I get ~3.5 GB. When I look in the resource monitor the sqlserv.exe is taking up ~7GB.Am I miscalculating or should i take some other things into consideration?Rgds,Nico</description><pubDate>Tue, 15 Nov 2011 03:49:00 GMT</pubDate><dc:creator>nicodejong</dc:creator></item><item><title>RE: Monitor memory usage on User database level</title><link>http://www.sqlservercentral.com/Forums/Topic942857-146-1.aspx</link><description>You're welcome, glad to help.</description><pubDate>Fri, 25 Jun 2010 04:00:08 GMT</pubDate><dc:creator>John.Sansom</dc:creator></item><item><title>RE: Monitor memory usage on User database level</title><link>http://www.sqlservercentral.com/Forums/Topic942857-146-1.aspx</link><description>Thanks John.Have a nice day.Geert</description><pubDate>Fri, 25 Jun 2010 03:57:12 GMT</pubDate><dc:creator>Geert Willems</dc:creator></item><item><title>RE: Monitor memory usage on User database level</title><link>http://www.sqlservercentral.com/Forums/Topic942857-146-1.aspx</link><description>Hi Geert,Each page in SQL Server is 8KB in size.Essentially, a dirty page is an in memory page that has had changes applied to it that are pending being written out (flushed) to disk.For further reading consult SQL Server Books Online: [url=http://msdn.microsoft.com/en-us/library/ms190969(SQL.90).aspx]Pages and Extents[/url]</description><pubDate>Fri, 25 Jun 2010 03:40:38 GMT</pubDate><dc:creator>John.Sansom</dc:creator></item><item><title>RE: Monitor memory usage on User database level</title><link>http://www.sqlservercentral.com/Forums/Topic942857-146-1.aspx</link><description>Thanks for the excellent reply John.How do I need to interpret the output?Page State  Database Name  Page Count Clean	    SUSDB	 4849Dirty	    SUSDB	 593What is the meaning of Clean/Dirty in this context?And how much memory do I need to foresee when I move this database to another SQL Server instance?Thanks in advance,Geert</description><pubDate>Fri, 25 Jun 2010 03:26:54 GMT</pubDate><dc:creator>Geert Willems</dc:creator></item><item><title>RE: Monitor memory usage on User database level</title><link>http://www.sqlservercentral.com/Forums/Topic942857-146-1.aspx</link><description>Hi Geert,Great questions!You can use the DMV sys.dm_os_buffer_descriptors to find out how much of the "buffer pool" memory is being used by a given database. You can use the following query in order to get you started.[code]SELECT   (CASE WHEN ([is_modified] = 1) THEN 'Dirty' ELSE 'Clean' END) AS 'Page State',   (CASE WHEN ([database_id] = 32767) THEN 'Resource Database' ELSE DB_NAME (database_id) END) AS 'Database Name',   COUNT (*) AS 'Page Count'FROM sys.dm_os_buffer_descriptors   GROUP BY [database_id], [is_modified]   ORDER BY [database_id], [is_modified];GO[/code]With regard to your second question, according to the S[url=http://msdn.microsoft.com/en-us/library/ms143432(SQL.90).aspx]QL Server 2005 Maximum Capacity Specifications[/url] you can have up to 50 instances on all Editions excluding Workgroup Edition, which supports up to 16 instances. You should also note that SQL Server 2005 only supports up to 25 instances on a failover cluster.Hope this helps.</description><pubDate>Fri, 25 Jun 2010 02:47:24 GMT</pubDate><dc:creator>John.Sansom</dc:creator></item><item><title>Monitor memory usage on User database level</title><link>http://www.sqlservercentral.com/Forums/Topic942857-146-1.aspx</link><description>Hi,We have many MS-SQLServer 2005 instances (32 bit &amp; 64 bit) running on many Microsoft Windows systems (32 bit &amp; 64 bit).Our management has decided to centralize all SQLServer instances on a Microsoft Windows Cluster 2003 R2 (64 bit) and one or two Microsoft Windows 2003 R2 (64 bit) standalone servers.Question:- Is it possible to have a clue on the memory usage per user database? Via Windows Task Manager, I can see the consumption of the SQLServer instance, but my instance contains for example 15 user databases. - Is it true that I can have not more then 5 instances per Windows Server?Thanks in advance,Geert</description><pubDate>Fri, 25 Jun 2010 01:49:14 GMT</pubDate><dc:creator>Geert Willems</dc:creator></item></channel></rss>
