|
隐含参数无法通过show parameter查看,必须查询相关视图才可以。
查看数据库中所有隐含参数:
col parameter for a30
col sess_value for a20
col inst_value for a20
SELECT a.ksppinm "parameter",
b.ksppstvl "session value",
c.ksppstvl "instance value"
FROM x$ksppi a, x$ksppcv b, x$ksppsv c
WHERE a.indx = b.indx
AND a.indx = c.indx
AND a.ksppinm LIKE '/_%' escape '/';
当然也可以查询某个参数:
SELECT a.ksppinm parameter,
b.ksppstvl sess_value,
c.ksppstvl inst_value
FROM x$ksppi a, x$ksppcv b, x$ksppsv c
WHERE a.indx = b.indx
AND a.indx = c.indx
AND a.ksppinm ='_optimizer_compute_index_stats';
|
|