oracle 执行计划
程序员文章站
2022-06-01 22:18:59
...
1、设置计划
explain plan for
select * from ( select * from dun_search_view where 1=1 and (( salename='陈永智' and xsqy='广州办事处') or (','||fzuserid||',' like '%,6839951,%')) ) where rownum <= 30;
2、查询计划
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);