Problem solve Get help with specific problems with your technologies, process and projects.

Checking frequency of full table scans

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 was last published in September 2003

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.