- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
2#
发表于 2014-10-30 17:14:23
SQL> create table testz1 as select * from dba_objects;
Table created.
SQL>
SQL> create index ind_z1 on testz1 (owner);
Index created.
SQL> create index ind_z2 on testz1(object_id);
Index created.
SQL> exec dbms_stats.gather_table_stats('','TESTZ1');
PL/SQL procedure successfully completed.
alter system set "_trace_pin_time"=1 scope=spfile;
alter session set events '10046 trace name context forever,level 8';
set autotrace on;
set linesize 200 pagesize 2000
update testz1 set owner='ZZ', object_id=72025 where object_id=72018;
commit;
SQL> oradebug setmypid
Statement processed.
SQL> oradebug tracefile_name
/s01/admin/G10R25/udump/g10r25_ora_31334.trc
to be continued ......... |
|