Predicate Information (identified by operation id): ---------------------------------------------------
1 - access("SADDR"="S"."ADDR" AND TO_CHAR(USERENV('INSTANCE'))||RAWTOHEX(" RADDR")=TO_CHAR("R"."INST_ID")||RAWTOHEX("R"."ADDR")) 4 - filter(USERENV('INSTANCE') IS NOT NULL) 7 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 8 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 9 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 10 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 11 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 12 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 13 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 14 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 15 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 16 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSPAFLG",1)>>0) 18 - filter("S"."INST_ID"=USERENV('INSTANCE'))
Statistics ---------------------------------------------------------- 0 recursive calls 2 db block gets 0 consistent gets 0 physical reads 0 redo size 2780 bytes sent via SQL*Net to client 545 bytes received via SQL*Net from client 4 SQL*Net roundtrips to/from client 1 sorts (memory) 0 sorts (disk) 36 rows processed
SYS@xb> begin dbms_stats.gather_table_stats('SYS','x$ksuse',method_opt=>'for all columns size 1'); dbms_stats.gather_table_stats('SYS','x$ksqrs',method_opt=>'for all columns size 1'); end; 5 /
PL/SQL procedure successfully completed.
查看x$表的统计信息情况
1 2 3 4 5
SYS@xb> select OWNER, TABLE_NAME, LAST_ANALYZED from dba_tab_statistics where table_name='X$KSUSE';
Predicate Information (identified by operation id): ---------------------------------------------------
1 - access(TO_CHAR(USERENV('INSTANCE'))||RAWTOHEX("RADDR")=TO_CHAR("R"."INS T_ID")||RAWTOHEX("R"."ADDR")) 2 - access("SADDR"="S"."ADDR") 3 - filter("S"."INST_ID"=USERENV('INSTANCE')) 6 - filter(USERENV('INSTANCE') IS NOT NULL) 9 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND BITAND("KSSOBFLG",1)>>0 AND "INST_ID"=USERENV('INSTANCE')) 10 - filter(BITAND("KSSOBFLG",1)>>0 AND ("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE')) 11 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 12 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 13 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 14 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 15 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 16 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 17 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSOBFLG",1)>>0) 18 - filter(("KSQLKMOD">>0 OR "KSQLKREQ">>0) AND "INST_ID"=USERENV('INSTANCE') AND BITAND("KSSPAFLG",1)>>0)
Statistics ---------------------------------------------------------- 1 recursive calls 2 db block gets 0 consistent gets 0 physical reads 0 redo size 2876 bytes sent via SQL*Net to client 545 bytes received via SQL*Net from client 4 SQL*Net roundtrips to/from client 0 sorts (memory) 0 sorts (disk) 38 rows processed