【TUNE_ORACLE】列出走了Filter的SQL參考

Attack_on_Jager發表於2021-08-10

實驗環境

搭建平臺:VMware Workstation

OS:RHEL 6.10

Grid&DB:Oracle 11.2.0.4


SQL參考

select parsing_schema_name schema, sql_id, sql_text

  from v$sql

 where parsing_schema_name = 'TEST'

   and (sql_id, child_number) in

       (select sql_id, child_number

          from v$sql_plan

         where operation = 'FILTER'

           and filter_predicates like '%IS NOT NULL%'

        minus

        select sql_id, child_number

          from v$sql_plan

         where object_owner = 'SYS');


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69992972/viewspace-2786189/,如需轉載,請註明出處,否則將追究法律責任。

相關文章