--6、找到需要优化的sql语句,尝试优化,查看执行计划(set autotrace traceonly),直到满意为止
基于12个网页-相关网页
5 SET AUTOTRACE TRACEONLY 与ON相似,但不显示语句的执行结果 set autotrace trace exp stat; (SET AUTOTRACE OFF 关闭执行计划和统计信息) .
基于1个网页-相关网页
SET AUTOTRACE TRACEONLY STATISTICS 只现实统计信息
set autotrace traceonly explain 只显示执行计
set autotrace traceonly
设置自动跟踪traceonly
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Set AUTOTRACE TRACEONLY: Displays the explain plan and the statistics; you will not see the result set, although the statement is executed.
真正执行查询,但不显示查询结果集,显示执行计划,显示统计数据。
youdao
应用推荐
模块上移
模块下移
不移动