oracle,Cannot SET AUTOTRACE解决问题
来源:互联网 发布:软件项目质量计划书 编辑:程序博客网 时间:2024/05/01 08:17
1、SET AUTOTRACE参数
SET AUTOTRACE OFF ---------------- 不生成AUTOTRACE 报告,这是缺省模式
SET AUTOTRACE ON EXPLAIN ------ AUTOTRACE只显示优化器执行路径报告
SET AUTOTRACE ON STATISTICS -- 只显示执行统计信息
SET AUTOTRACE ON ----------------- 包含执行计划和统计信息
SET AUTOTRACE TRACEONLY ------ 同set autotrace on,但是不显示查询输出
2、只能在sql plus下执行
SQL> SET AUTOTRACE ON;
SQL> select count(*) from oz_member;
COUNT(*)
----------
472
执行计划
----------------------------------------------------------
-------------------------------------------------------
| Id | Operation | Name | Rows | Cost (%CPU)|
-------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 1 (0)|
| 1 | SORT AGGREGATE | | 1 | |
| 2 | INDEX FULL SCAN| PK1_1 | 472 | 1 (0)|
-------------------------------------------------------
Note
-----
- 'PLAN_TABLE' is old version
统计信息
----------------------------------------------------------
193 recursive calls
0 db block gets
34 consistent gets
0 physical reads
0 redo size
409 bytes sent via SQL*Net to client
385 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed、
- oracle,Cannot SET AUTOTRACE解决问题
- oracle,Cannot SET AUTOTRACE解决问题
- oracle,Cannot SET AUTOTRACE解决问题 (只能在sql plus下执行)
- cannot set autotrace
- Cannot set autotrace
- cannot SET AUTOTRACE问题解决
- oracle set autotrace
- ORACLE set autotrace
- oracle SET AUTOTRACE
- oracle set autotrace traceonly
- oracle SET AUTOTRACE ON
- Oracle11g Cannot SET AUTOTRACE解决办法
- Cannot SET AUTOTRACE 处理办法
- 输入set autotrace on 报cannot set autotrace 错误
- set autotrace on 报cannot set autotrace错误
- ORACLE set autotrace in SQL*Plus
- ORACLE开启执行计划 set autotrace on
- 在sqlplus中执行set autotrace on 报cannot set autotrace 错误解决方法
- 有没有在成都业余做网站源码的
- IE与FF中兼容
- SQL外部链接解决方案 实例
- WINDOWS智能手机扫盲
- 设备主数据ale同步配置
- oracle,Cannot SET AUTOTRACE解决问题
- LINUX智能操作系统扫盲
- DLL的远程注入技术
- 春节
- 水晶报表 打印补丁
- MMU相关指令学习(二)(主要是页表设置指令)
- 表空间的操作
- 千万别做职场“灰姑娘”
- C# 命名规范