您的位置:首页 > 数据库 > Oracle

oracle查看隐藏参数的方法

2016-11-22 21:54 239 查看
有的时候需要查看或者设置隐藏参数,但是直接使用show parameter是看不到隐藏参数的。所有的隐藏参数都是以一个下划线开头的。

使用以下语句查看隐藏参数。

select x.ksppinm name,y.ksppstvl,x.ksppdesc describ from x$ksppi x,x$ksppcv y
where x.inst_id=userenv('instance')
and y.inst_id=userenv('instance')
and x.indx=y.indx and x.ksppinm='_small_table_threshold';


设置参数则和普通参数没有什么区别了

alter system|session set "_small_table_threshold"=500;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  oracle