Row Count #832
-
Is there a way in DBA Dash to monitor row counts? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
It should be possible to do this now with a Custom Collection and Custom Report. If you wanted it to appear on the Summary page, a SQL agent job could be configured to fail or a custom check could be used. |
Beta Was this translation helpful? Give feedback.
-
Hi David: I might be interested in monitoring row counts, also. If precise counts aren't required, in the past I've used sys.dm_db_partition_stats to avoid the heavy cost of count() on very large tables. As long as statistics are updated regularly, it got instant results that were close enough for what I was doing:
|
Beta Was this translation helpful? Give feedback.
-
I've been working on this and I'm likely to include it in the next release. |
Beta Was this translation helpful? Give feedback.
-
This is now available in 3.4. 🚀 The collection is disabled by default for now so you will need to set the schedule in the config tool as described in the link above. |
Beta Was this translation helpful? Give feedback.
It should be possible to do this now with a Custom Collection and Custom Report. If you wanted it to appear on the Summary page, a SQL agent job could be configured to fail or a custom check could be used.
I might look at adding a collection to track table size and row counts at some point. The fixed thresholds wouldn't be useful for me, but it might be useful to highlight unusual growths with some configurable thresholds. Collecting table row counts could be quite heavy on some SQL instances which would need to be considered. e.g. Databases with a very large number of tables or servers with a large number of databases.