SQLServerCentral.com / SQL Server 2008 / SQL Server Newbies / SQL Server 2008 / Latest PostsInstantForum.NET v2.9.0SQLServerCentral.comhttp://www.sqlservercentral.com/Forums/notifications@sqlservercentral.comTue, 03 Mar 2015 15:42:01 GMT20RE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxSounds like you need a baseline of the server and compare it after you add a new database. I would recommend you use Glenn Berry's DMV scripts to create that baseline:[url]http://sqlserverperformance.wordpress.com/tag/dmv-queries/[/url]Also, if you want to create a system to capture the results check out Ted Krueger's blog post on that:[url]http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/sql-server-baseline-collection[/url]Glenn does an excellent job on giving you the metrics you need and describing what you should look for. If you have any specific questions please ask the forum.Tue, 19 Nov 2013 14:41:19 GMTKeith TateRE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxAre you in a virtualized environment or bare metal?Tue, 19 Nov 2013 14:36:03 GMTKeith TateRE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspx[quote]This performance counters poster is still pretty excellent. [url]http://www.quest.com/backstage/images/promotions/SQLServer-Perfmonance-Poster.pdf[/url]You can additionally use the OS performance monitor (perfmon.exe) to obtain the counters' values and make a comparison, in order to conclude how good is behaving your system. [b]Grace09 (11/19/2013)[/b][hr]This is a clustered server. There are a lots of databases on the server. Every once a while they ask me to add some databases up there in order to save some cost, which make me worried about the memory and IO performance. Check the CPU from task manager, cpu utilization seems to be fine. [quote][b]Keith Tate (11/19/2013)[/b][hr]Are you just curious how your system is performing? Taking a baseline? Or is an issue you are dealing with and need help with? If you are having some performance issues please describe them and someone should be able to help you get the metrics you need.[/quote][/quote]Tue, 19 Nov 2013 14:36:02 GMTIgor MicevRE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspx[quote][b]Grace09 (11/19/2013)[/b][hr]You can use this link [url]http://blogs.msdn.com/b/mvpawardprogram/archive/2012/06/04/using-sys-dm-os-ring-buffers-to-diagnose-memory-issues-in-sql-server.aspx[/url]As you can see you can only see some info that you can see at other places on your system as well. However it's a useful dynamic view.Thank you, IgorMi. I was reading somewhere to use sys.dm_os_ring_buffers to determine the memory pressure. I don't quite understand the result from querying sys.dm_os_ring_buffers table, which make me curious. [quote][b]IgorMi (11/19/2013)[/b][hr][quote][b]Grace09 (11/19/2013)[/b][hr]here is the result from the query, How should I interpret it? Thanks.Node PageLife PageLife_S BufferPool_Pages BufferPool_MiB BufferPool_MiB_S 12:08:19 43699 5359046 41867.547 0.958000 13:30:31 48631 1318060 10297.344 0.212001 12:42:02 45722 1296655 10130.117 0.222002 9:53:55 35635 1443304 11275.813 0.316003 13:12:14 47534 1301027 10164.273 0.214[/quote]PLE is just one of the many performance counters. Having PLE in 9-13 hours is just a perfect situation. With this results you don't have a memory pressure.Regards,IgorMi[/quote][/quote]Tue, 19 Nov 2013 14:27:20 GMTIgor MicevRE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxThis is a clustered server. There are lots of databases on the server. Every once a while they ask me to add some databases up there in order to save some cost, which make me worried about the memory and IO performance. Check the CPU from task manager, cpu utilization seems to be fine. [quote][b]Keith Tate (11/19/2013)[/b][hr]Are you just curious how your system is performing? Taking a baseline? Or is an issue you are dealing with and need help with? If you are having some performance issues please describe them and someone should be able to help you get the metrics you need.[/quote]Tue, 19 Nov 2013 14:23:32 GMTGrace09RE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxThank you, IgorMi. Since PLE is just one of performance counters. Do I need to look at other performance counter to determine the memory issue? Or as long as PLE is in good number, that's good enough? I was reading somewhere to use sys.dm_os_ring_buffers to determine the memory pressure. I don't quite understand the result from querying sys.dm_os_ring_buffers table, which make me curious. Sorry if I ask some 'silly' questions. I am kind of new to the sql server performance troubleshooting. Thanks![quote][b]IgorMi (11/19/2013)[/b][hr][quote][b]Grace09 (11/19/2013)[/b][hr]here is the result from the query, How should I interpret it? Thanks.Node PageLife PageLife_S BufferPool_Pages BufferPool_MiB BufferPool_MiB_S 12:08:19 43699 5359046 41867.547 0.958000 13:30:31 48631 1318060 10297.344 0.212001 12:42:02 45722 1296655 10130.117 0.222002 9:53:55 35635 1443304 11275.813 0.316003 13:12:14 47534 1301027 10164.273 0.214[/quote]PLE is just one of the many performance counters. Having PLE in 9-13 hours is just a perfect situation. With this results you don't have a memory pressure.Regards,IgorMi[/quote]Tue, 19 Nov 2013 14:21:08 GMTGrace09RE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxAre you just curious how your system is performing? Taking a baseline? Or is an issue you are dealing with and need help with? If you are having some performance issues please describe them and someone should be able to help you get the metrics you need.Tue, 19 Nov 2013 14:16:33 GMTKeith TateRE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspx[quote][b]Grace09 (11/19/2013)[/b][hr]here is the result from the query, How should I interpret it? Thanks.Node PageLife PageLife_S BufferPool_Pages BufferPool_MiB BufferPool_MiB_S 12:08:19 43699 5359046 41867.547 0.958000 13:30:31 48631 1318060 10297.344 0.212001 12:42:02 45722 1296655 10130.117 0.222002 9:53:55 35635 1443304 11275.813 0.316003 13:12:14 47534 1301027 10164.273 0.214[/quote]PLE is just one of the many performance counters. Having PLE in 9-13 hours is just a perfect situation. With this results you don't have a memory pressure.Regards,IgorMiTue, 19 Nov 2013 14:03:01 GMTIgor MicevRE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxhere is the result from the query, How should I interpret it? Thanks.Node PageLife PageLife_S BufferPool_Pages BufferPool_MiB BufferPool_MiB_S 12:08:19 43699 5359046 41867.547 0.958000 13:30:31 48631 1318060 10297.344 0.212001 12:42:02 45722 1296655 10130.117 0.222002 9:53:55 35635 1443304 11275.813 0.316003 13:12:14 47534 1301027 10164.273 0.214Tue, 19 Nov 2013 13:52:51 GMTGrace09RE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxFor IO bottlenecks you need sys.dm_io_virtual_file_stats and sys.dm_io_pending_io_requestsFor Memory pressure you can use sys.dm_os_buffer_descriptors, sys.dm_os_performance_counters and others.The full grouped list of the dynamic views is here [url]http://technet.microsoft.com/en-us/library/ms188754.aspx[/url]For e.g. you can find the Page Life Expectancy using this query[code="sql"]SELECT ple.[Node] ,LTRIM(STR([PageLife_S]/3600))+':'+REPLACE(STR([PageLife_S]%3600/60,2),SPACE(1),'0')+':'+REPLACE(STR([PageLife_S]%60,2),SPACE(1),'0') [PageLife] ,ple.[PageLife_S] ,dp.[DatabasePages] [BufferPool_Pages] ,CONVERT(DECIMAL(15,3),dp.[DatabasePages]*0.0078125) [BufferPool_MiB] ,CONVERT(DECIMAL(15,3),dp.[DatabasePages]*0.0078125/[PageLife_S]) [BufferPool_MiB_S] FROM ( SELECT [instance_name] [node],[cntr_value] [PageLife_S] FROM sys.dm_os_performance_counters WHERE [counter_name] = 'Page life expectancy' ) ple INNER JOIN ( SELECT [instance_name] [node],[cntr_value] [DatabasePages] FROM sys.dm_os_performance_counters WHERE [counter_name] = 'Database pages' ) dp ON ple.[node] = dp.[node] [/code]RegardsIgorMiTue, 19 Nov 2013 12:50:28 GMTIgor MicevRE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxI want to find out if my server has IO bottlenecks and also Memory pressure. What information do i need to provide here? ThanksTue, 19 Nov 2013 12:23:25 GMTGrace09RE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxA good start is a book. On this site you have some books: [url]http://www.sqlservercentral.com/Books/[/url]One really good is"Troubleshooting SQL ServerA Guide for the Accidental DBAJonathan Kehayias and Ted Krueger"RegardsIgorMiTue, 19 Nov 2013 09:03:53 GMTIgor MicevRE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxGenerally speaking, there are two approaches to this. The first way is to use the DMVs to find out what's going on. Tim Ford has put together a good "periodic table of DMVs" that may be able to help you, but this is only a reference. You're going to have to dig into each one to figure out how to best use it. He published this at [url]http://thesqlagentman.com/periodic-table/[/url] if you're interested in it.The second approach is to use software to monitor your server. The activity monitor in SSMS can tell you what's going on right now, but it doesn't handle history. There are products out there (SQL Sentry, Red Gate SQL Monitor, etc.) that will keep track of history and load, but they all cost money.To help any further, IgorMi is right - we're going to need some information about what's you're after.Tue, 19 Nov 2013 08:57:59 GMTEd WagnerRE: SQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxWhat do you mean by stress more concretely? It can be anything from IO bottlenecks, high CPU utilization, Memory issues (memory pressure) , blocking and deadlocking ...Tue, 19 Nov 2013 08:27:35 GMTIgor MicevSQL Server 2008http://www.sqlservercentral.com/Forums/Topic1515587-1292-1.aspxHow can I find out if my SQL Server is under stress? Here is the version information, Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) Apr 2 2010 15:48:46 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.1 &lt;X64&gt; (Build 7601: Service Pack 1)I am not sure what information should be provided. I will provide more if needed. Thanks in advance for helping me.Tue, 19 Nov 2013 08:17:35 GMTGrace09