Skip to content

Monitoring SQL Server Performance: Quickie Edition

April 28, 2009

There are various mechanisms to measure the performance of your SQL Server. An efficient way to do it is through digging in with Performance Monitor

But how about if you only need a quick and dirty way of monitoring your SQL Server right now?

There are built-in functions for that one.

Take a look at this quickie:

SELECT 

        @@total_read AS 'Total Read'
        @@total_write AS 'Total Write'
        @@total_errors AS 'Total Error',
        @@io_busy AS 'IO Processing Time (ms)',
        @@cpu_busy AS 'CPU Processing Time (ms)',
        @@idle AS 'Idle Time (ms)'

 

Here’s the example in action:

builtinfunctionmonitor

kick it on DotNetKicks.com

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

  • Archives


  • RSS SQLServerPedia

  • RSS SQL Crunch – Hot SQL Links

  • My Bookmarks

  • Business Career DBA Tool Events free ebook Humor IT News Members Only Microsoft MySQL Operating System Oracle Personal Reporting Services SQL Server SQLServerPedia Syndication SSC SSIS TSQL Tutorial Uncategorized Video

  • Software Blogs - BlogCatalog Blog Directory
  • %d bloggers like this: