ORACLE查询隐含参数
查询隐含参数:
col name for a30
col VALUE for a10
col DESCRIB for a40
set lines 200
SELECT x.ksppinm NAME, y.ksppstvl VALUE, x.ksppdesc describ
FROM SYS.x$ksppi x, SYS.x$ksppcv y
WHERE x.inst_id = USERENV ('Instance')
AND y.inst_id = USERENV ('Instance')
AND x.indx = y.indx
AND x.ksppinm LIKE '%&par%';
Enter value for par: _optim_peek_user_binds
old 6: AND x.ksppinm LIKE '%&par%'
new 6: AND x.ksppinm LIKE '%_optim_peek_user_binds%'
NAME VALUE DESCRIB
------------------------------ ---------- ----------------------------------------
_optim_peek_user_binds TRUE enable peeking of user binds
alter system set "_optim_peek_user_binds"=FALSE;