donhauro
donhauro

Reputation: 62

sys.dm_exec_query_stats returns only a few rows

What is the reason, that select * from sys.dm_exec_query_stats returns only a few rows? The record count differs from 3 to 30.

On different server/machine I get more than 8.5k rows. Is this an indicator for memory pressure?

Upvotes: 0

Views: 865

Answers (1)

dbajtr
dbajtr

Reputation: 2044

It returns the performance statistics for cached query plans, look at this link for more details : link

Its going to show a different number on any given machine depending on how many query plans have been cached

Upvotes: 1

Related Questions