sql - gather oracle usage statistics (what tables are viewed) -


i trying gather usage statistics large oracle database. know looking @ dba_tab_modifications view see insert, update, , delete stats. select statements? trying find tables never used.

sys.dba_hist_sqltext has sql_text field stores individual queries run specific period of time, sql_id being pk. have thought parsing pick out table names, seems way tedius. seeking alternative.

any ideas?

assuming using reasonably recent version of oracle (9.2 or later believe), can take @ v$segment_statistics. shows on segment-by-segment basis number of different performance counters. if @ statistic_name='logical reads', give idea tables read little. of course, if application never uses table, entirely possible there reads logged things backups or recursive sql (i.e. verifying foreign keys). , entirely possible table's segment read index on table read (i.e. index sufficient of types of access application needs table's data).


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -