查看某SQL执行成本,可以按如下方法操作: set autotrace on; --或者set autotrace traceonly explain; 这里是要执行的SQL set autotrace off;