Mostly accessed objects in database

  • Is there a way or a query that I can find out in the past year what tables and view are most accessed or heavily used?

    Thanks,

  • you can use some index stats to find those kinds of totals since the last time the service was stopped and started;

    it's not kept aywhere else unless you start capturing it for yourself int he future.

    see this thread for code examples, and a lot of good info:

    fetch tables most often queried

    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!

  • Thanks much!

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

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