Solved

Performance monitor VS  sys.dm_os_performance_counters

Posted on 2014-12-07
4
172 Views
Last Modified: 2014-12-10
Hi Experts ,

Does anyone knows why some counters values are different in performance monitor and sys.dm_os_performance_counters . and how can I make them equal.
For example buffer cache hit ratio is almost 100 in performance monitor but in DMV is different . or Checkpoint pages/sec  is  0  in performance monitor and in DMV is more than 80000.

Regards
0
Comment
Question by:shahin37
  • 2
  • 2
4 Comments
 
LVL 48

Expert Comment

by:Vitor Montalvão
ID: 40486323
Please give us an example (screenshot).
Also confirm that you are watching for the same instances in both counters.
0
 

Author Comment

by:shahin37
ID: 40488016
Hi Vitor,

here is the screen shot, I hope it helps you to diagnose the issue.
Counters.png
0
 
LVL 48

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40488514
Ok, now I see what you are talking about.
They are on different scale. For example for Buffer cache hit ratio, in SQL Server you get the number of pages in buffer cache and in Performance Monitor you get the percentage used.
0
 

Author Comment

by:shahin37
ID: 40493012
Thanks Vitor
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question