Q

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

Dig deeper on Oracle database design and architecture

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close