Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







Monitor index usage

Oracle Database Tips by Donald BurlesonMay 12,  2015

Question:  I want to monitor my Oracle indexes and see the resources associated with each index.  Is it possible to monitor an index for physical disk reads?

Answer:  You can use AWR and/or STATSPACK (no extra charge) to monitor index usage.  Earl Shaffer of  OracleMan Consulting offers this handy script to display the disk reads and rows processed for a specific index.

clear break
col begintvtm heading 'Interval|Time|Begin' format a8
col objnm  heading 'Index Name' format a30
col dskrdstot heading 'Disk|Reads' format 99,999,999
col rwsprctot heading 'Proc-ed|Rows' format 99,999,999
break on begintvtm
spool indexsqlsnap.lis
 to_char(s.begin_interval_time,'mm-dd hh24') begintvtm ,
 p.object_name objnm ,
 sum(t.disk_reads_total) dskrdstot,
 sum(t.rows_processed_total) rwsprctot
 dba_hist_sql_plan p,
 dba_hist_sqlstat t,
 dba_hist_snapshot s
 p.sql_id = t.sql_id and
 t.snap_id = s.snap_id and
 p.object_type like '%INDEX%'
group by
 to_char(s.begin_interval_time,'mm-dd hh24'),
order by
 begintvtm ,
 dskrdstot desc,
spool off
ttitle off
clear col
clear break
set echo on feedback on lines 80 pages 60


Time                                                                Disk     	Proc-ed
Begin               Index Name                             Reads   	Rows
--------              ------------------------------        ------      	-----------
02-12 14          I_IDL_UB11                           3,930   	6,808
                        I_TYPE2                                  2,481   	0
                        I_USER2                                 2,344   		2,093
                        I_IDL_UB21                           1,362   	3,828
                        I_OBJ4                                     1,100   	948
                        I_IND1                                      886      	948
                        I_LINK1                                  876      	946
                        I_SUM$_1                               876      	946
                        I_OBJ#_INTCOL#                  566     	 25,263
                        I_OBJ1                                      554      	10,366
                        MGMT_TARGETS_PK           451      	0 





Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.