In sql server there is a dmv, called sys.dm_os_performanceh _counters
I know if I set up a performance counter then it will record the activity.
But how is the counter set up? is it like SQL server defaut trace?
It runs automatically in background by design?