explain plan for  select语句;

然后执行如下命令

select * from table(dbms_xplan.display());