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

  • Home
  • SEARCH
  • 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 8048937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:38:17+00:00 2026-06-05T06:38:17+00:00

I am trying to gather usage statistics for a large Oracle database. I know

  • 0

I am trying to gather usage statistics for a large Oracle database. I know about looking at the DBA_TAB_MODIFICATIONS view to see INSERT, UPDATE, and DELETE stats. But what about just select statements? I am trying to find tables that are never used.

SYS.DBA_HIST_SQLTEXT has a SQL_TEXT field that stores individual queries run for a specific period of time, with SQL_ID being the PK. I have thought about parsing that to pick out the table names, but that seems WAY too tedius. I am seeking another alternative.

Any ideas?

  • 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-06-05T06:38:19+00:00Added an answer on June 5, 2026 at 6:38 am

    Assuming you are using a reasonably recent version of Oracle (9.2 or later I believe), you can take a look at V$SEGMENT_STATISTICS. That shows you on a segment-by-segment basis a number of different performance counters. If you look just at statistic_name='logical reads', that will give you a good idea about what tables are read very little. Of course, even if an application never uses a table, it is entirely possible that there will be some reads logged for things like backups or recursive SQL (i.e. verifying foreign keys). And it is entirely possible that a table’s segment is rarely read but an index on that table is read frequently (i.e. the index is sufficient for most of the types of access the application needs to the table’s data).

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

Sidebar

Related Questions

I need to gather some statistics in my software and i am trying to
I'm trying to gather Twitter statistics from a specific dataset that was provided to
I'm trying to figure out how to gather the current usage percentage of each
I'm trying to gather information about all java open source libraries which are focused
I am trying to gather some details about how its possible that 32 bit
I have the following code where I am trying to gather rich information about
I'm trying to use sloccount from within hudson to gather statistics on our codebase,
I am trying to gather a list (array) of ids in a sector <div
I am trying to achieve an LDAP query to gather all properties we have
I'm trying gather Terminal Server session information on 64-bit Windows machines. My question is

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.