Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3480790
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:23:10+00:00 2026-05-18T10:23:10+00:00

I am currently in a situation where I need to find out which tables

  • 0

I am currently in a situation where I need to find out which tables are used frequently or the number of times in our application given a certain period of time. Lets say from some startDate to endDate.

The details I would like to get here are, the tableName and how many times it was accessed.
Eg:-

tableName    No.Of Access
Table5        100
Table2         80
...
Tablen         n

Also if the above query or if there is any other way to check which columns in these tables are frequently used would be wonderful. The idea behind this exercise is to properly index the columns in most used tables. But I am not sure if this is the correct way to go about the optimization too. So if you guys have any better alternatives to identify how to optimize on the above, that would also be great.

We are using SQL server 2005 and the application is running on .net framework 3.5 hosted on IIS.
If any further details are required, let me know.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T10:23:10+00:00Added an answer on May 18, 2026 at 10:23 am

    The only thing I’m aware of with anything like this type of information is sys.dm_db_index_usage_stats

    Edit: It turns out that more reliable information can be gained from

    select * from sys.dm_db_index_operational_stats(db_id(),NULL,NULL,NULL)
    

    The difference between what the two report is covered well in this blog post.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Introduction to the situation For an application I'm currently developing, I need to code
Following situation: I need a container for data with a rowindex. Currently we use
I'm currently struggling to figure out a solution to a situation I'm in. I'll
Ok, so here's the situation. I currently have a view controller called MainViewController which
The situation: I need to convert our current development environment from Windows XP 32-bit to
Our java application relies on some resources which are available on a network share.
I only know basic concepts for multi-threading, and I currently encounter a situation that
I`m currently working on a script, and I have the following situation. function somnicefunction()
Situation: A table with lots of photos, classified and with votes. I'm currently doing
I'm currently in the research phase for a (very) small database application. It's for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.