DBA - Wiki

AskDBA.org Forum » DBA - Wiki

SQL to find objects on which Full table scan is being performed (1 post)

About This Topic

Tags

  1. Amit Bansal

    Oracle DBA
    Joined: Jun '08
    Posts: 73

    offline

    Posted 2 years ago
    #

    This is very straight forward SQL which can be used to identify objects on which Full Table Scan (FTS) is being performed.

    select object_owner,object_name from V$SQL_PLAN where
    operation='TABLE ACCESS' and
    options='FULL' and
    object_owner<>'SYS';

    Please note that this will work with queries cached in shared pool. In 10g and above, you can also query DBA_HIST_SQL_PLAN to get historical information.

Reply

You must log in to post.

AskDBA.org Forum » DBA - Wiki
251 posts in 104 topics over 45 months by 63 of 110 members. Latest: xiaoling, Williams29, Agatha