Performance monitor VS  sys.dm_os_performance_counters

Posted on 2014-12-07
Medium Priority
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.

Question by:shahin37
  • 2
  • 2
LVL 54

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.

Author Comment

ID: 40488016
Hi Vitor,

here is the screen shot, I hope it helps you to diagnose the issue.
LVL 54

Accepted Solution

Vitor Montalvão earned 2000 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.

Author Comment

ID: 40493012
Thanks Vitor

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
In this article, we will see two different methods to recover deleted data. The first option will be using the transaction log to identify the operation and restore it in a specified section of the transaction log. The second option is simpler and c…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

624 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