April 9, 2009 at 4:00 pm
Hi Everyone,
I'm trying to find out the number of times a table has had a DML operation performed against it. Is there a script out there or system table/view that I can query to retrieve this information? We are in the process of upgrading from 2000 to 2008 and I would like to retrieve this information on some of our larger tables to see if any of them are good candidates for compression. Any help is greatly appreciated.
Thanks
April 9, 2009 at 4:34 pm
nothing exists automatically for this; you'll have to start a serverside trace, let it run for a while, and use the trace results to do your statistics;
you can get a little bit of info from sysindexes, like the rowmodctr column can help infer how many rows have been updated, but you'll need a trace to really get a good feel for how many updtes are occuring, especially during peak hours vs non peak , and trends over time like days of the wee, weekends, etc.
Lowell
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply