belle’s sql musings

Diagnostic Information Queries for SQL Server 2005/2008

Posted in DBA Toolbox / T-SQL Scripts, Issues/Troubleshooting by belle on July 17, 2008

Glen Berry posted a collection of queries that can be used in diagnosing SQL Server 2005/2008 metrics/counters.

Excerpt:
"… small collection of queries that can be used to gather a wealth of very useful information about a SQL Server 2005/2008 instance, and about any specific database on that instance.  These queries will tell you the exact version and edition of SQL Server, whether it is 32-bit or 64-bit, the OS version, and some information about the CPUs and memory in the server.  They will also reveal how many databases are present, their recovery models and file layouts.  We also find out what the top wait stats are, along with Page Life Expectancy (PLE) …"

You can find the full post and script here:

http://glennberrysqlperformance.spaces.live.com/Blog/cns!45041418ECCAA960!990.entry

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: