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 6345627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:51:30+00:00 2026-05-24T20:51:30+00:00

just wondering is there a way to List all objects in database which have

  • 0

just wondering is there a way to List all objects in database which have not been Queried.
i know you can see the last_ddl_time and Created Time through sys.dba_Objects. But i am More interested in Total_reads on Objects specially Indexes and tables.And Who has Used it.(Not the Owner)

thanks

  • 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-24T20:51:31+00:00Added an answer on May 24, 2026 at 8:51 pm

    You can probably use the V$SEGMENT_STATISTICS view to get the information you’re after. For example, if you wanted to see how many logical reads had been done on each segment in the SCOTT schema since the last database restart

    SQL> select owner, object_name, value
      2    from v$segment_statistics
      3   where statistic_name = 'logical reads'
      4     and owner = 'SCOTT';
    
    OWNER                          OBJECT_NAME                         VALUE
    ------------------------------ ------------------------------ ----------
    SCOTT                          STATS_TEST                            448
    SCOTT                          BIN$bQrMO1+dTOOh9S8K9O+z+Q==$0          0
    SCOTT                          COUNTER_TEST                         1760
    SCOTT                          BIN$763dsleISbi+AfEp20EN7A==$0         80
    SCOTT                          TEST_TABLE                           5424
    SCOTT                          BIN$5QAh3TmjRWqeMKof7tY93g==$0        144
    SCOTT                          BIN$1i4uV7CbQL2Pl0tANHsJQw==$0         80
    SCOTT                          BIN$8ydZ/jHySAeudojTmTtByQ==$0         48
    SCOTT                          FOO_TEMP                              112
    SCOTT                          ERR$_FOO                               64
    SCOTT                          EVENT                                  32
    SCOTT                          FOO                                    32
    SCOTT                          T1                                    176
    SCOTT                          T2                                     80
    SCOTT                          EMP                                    32
    SCOTT                          GRAD_STUDENT_TB                       240
    SCOTT                          SYS_C0024557                           64
    SCOTT                          PK_EMP                                  0
    
    18 rows selected.
    

    If you are licensed to use the AWR and your AWR retention is long enough and you can make due with fewer available statistics, and you are only interested in the most used segments, you may also be able to use the DBA_HIST_SEG_STAT table.

    SQL> ed
    Wrote file afiedt.buf
    
      1  select snap.begin_interval_time,
      2         stat.logical_reads_delta,
      3         obj.object_name
      4    from dba_hist_seg_stat stat
      5         join dba_hist_snapshot snap using (snap_id)
      6         join dba_objects obj on (obj.object_id = stat.obj#)
      7*  where obj.owner = 'SCOTT'
    SQL> /
    
    BEGIN_INTERVAL_TIME            LOGICAL_READS_DELTA OBJECT_NAME
    ------------------------------ ------------------- --------------------
    16-AUG-11 04.00.11.428 PM                      160 T1
    18-AUG-11 12.00.13.856 PM                      144 GRAD_STUDENT_TB
    18-AUG-11 12.00.13.856 PM                       48 SYS_C0024557
    20-AUG-11 03.00.59.376 PM                      144 LOAN_TXN
    

    If you are trying to find out whether a particular object is lightly used, however, the AWR is probably not the right solution since it might not show up as one of the top segments in any snapshot window despite being used occasionally.

    Alternately, you could write your own process to capture the data from V$SEGMENT_STATISTICS periodically and compute the deltas by subtracting the statistic values from different snapshots.

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

Sidebar

Related Questions

I was just wondering whether there is some way to do this: I have
Just wondering if there is any way (in C) to get the contents of
Just wondering if there is an easy way to add the functionality to duplicate
Just wondering if there is a better way to write the following PL/SQL piece
I'm just wondering if there's a better way of doing this in SQL Server
I was just wondering if there is an elegant way to set the maximum
I'm just wondering if there is a quick way to echo undefined variables without
I'm just wondering if there can be a case where the hostname can be
I have the following problem and I'm wondering if there's a nice way to
Was just wondering what's the most efficient way of generating all the circular shifts

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.