TABLE ACCESS FULL定位SQL
select *
from v$sql_plan v
where v.operation = 'TABLE ACCESS'
and v.OPTIONS = 'FULL'
and v.OBJECT_OWNER='DBUSER';--指定用户下
查询得到SQL_ID,ADDRESS, HASH_VALUE,PLAN_HASH_VALUE,OBJECT_NAME后,就可以定位到具体的SQL语句了。
select s.SQL_TEXT
from v$sqlarea s
where s.SQL_ID = '?' and s.HASH_VALUE = '?' and s.PLAN_HASH_VALUE = '?'
找到该SQL语句。