Oracle中查看隐含参数的sql

发布时间 2023-12-31 22:08:08作者: 小yq
select a.ksppinm "Parameter",
a.ksppdesc "Description",
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 '%hbeatio%' escape '\'
order by 1
/

比如这个asm的隐含参数在11g中是15秒

Parameter
--------------------------------------------------------------------------------
Description
--------------------------------------------------------------------------------
Session Value
--------------------------------------------------------------------------------
Instance Value
--------------------------------------------------------------------------------
_asm_hbeatiowait
number of secs to wait for PST Async Hbeat IO return
15
15

19c就变成了

number of secs to wait for PST Async Hbeat IO return
120
120