DML stats for Tables

  • 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

  • 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


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply