I run the following query: 'select name, value from v$sysstat where name = 'table scans (long tables)' to monitor the size of DB_FILE_MULTIBLOCK_READ_COUNT. Is there a way to know the names of the tables which are experiencing full table scans most frequently? Also is it possible to know the specific query being raised on the table(s) to explore the possibility of creating indexes. The databases in question is Oracle9i and is running on Windows 2000. Really appreciate your insight.
About the only way to know which tables are undergoing full table scans most frequently is to query V$SQL and V$SQL_PLAN. The V$SQL_PLAN view is new for Oracle 9i. From V$SQL_PLAN, you can find out what the execution plan is for each SQL statement. V$SQL will show you the SQL statement as well as the number of times it executed.
This Content Component encountered an error
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.