oracle 执行计划

来源:互联网 发布:java防止js注入代码 编辑:程序博客网 时间:2024/05/01 21:18

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); 


1 0
原创粉丝点击