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;

posted on 2018-08-11 11:50  HelonTian  阅读(1663)  评论(0编辑  收藏  举报