Oracle Hidden Parameters
Display all Hidden Parameters
Hidden Parameter
================
with comment
alter system set "_kgl_large_heap_warning_threshold"=xxxxxxxvalue comment='SR NO XXXXXXX' scope=both ;
set line 150
col PARAMETER format a35
col DESCRIPTION format a60
col SESSION_VALUE format a15
col INSTANCE_VALUE format a10
--spool HIDDEN_parameter.log
col comment1 for a15
SELECT a.ksppinm AS parameter,
-- a.KSPPINM,
a.ksppdesc AS description,
b.ksppstvl AS session_value,
c.ksppstvl AS instance_value,
b.KSPPSTCMNT AS comment1
FROM x$ksppi a,
x$ksppcv b,
x$ksppsv c
WHERE a.indx = b.indx
AND a.indx = c.indx
AND a.ksppinm LIKE '/_kgl_large_heap_assert_threshold' ESCAPE '/' ;
PARAMETER DESCRIPTION SESSION_VALUE INSTANCE_V COMMENT1
----------------------------------- ------------------------------------------------------------ --------------- ---------- ---------------
_kgl_large_heap_assert_threshold maximum heap size before KGL raises an internal error 1572864000 1572864000 By anuj
ww
set linesize 400 pagesize 300
col "Default Value" for a15
col "Session Value" for a15
col "Instance Value" for a15
col comment for a20
col IS_SESSION_MODIFIABLE for a20
col IS_SYSTEM_MODIFIABLE for a20
col HOSTNAME for a40
col INSTANCE for a25
col Parameter for a30
SELECT sys_context('userenv','host') hostname,sys_context('userenv', 'instance_name') instance, a.ksppinm "Parameter",
b.KSPPSTDF "Default Value",
b.ksppstvl "Session Value",
c.ksppstvl "Instance Value",
to_char(decode(bitand(a.ksppiflg/256,1),1,'TRUE','FALSE')) IS_SESSION_MODIFIABLE,
to_char(decode(bitand(a.ksppiflg/65536,3),1,'IMMEDIATE',2,'DEFERRED',3,'IMMEDIATE','FALSE')) IS_SYSTEM_MODIFIABLE,
c.KSPPSTCMNT "comment"
FROM x$ksppi a, x$ksppcv b, x$ksppsv c
WHERE a.indx = b.indx
AND a.indx = c.indx
AND a.ksppinm LIKE '/_%&PARAMMETER%' escape '/'
/
================== set lines 200 pages 100 col parameter format a50 col description format a80 word_wrapped col "session value" format a10 col "instance value" format a10 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 1=1 and a.indx = b.indx and a.indx = c.indx and a.ksppinm like '/_%' escape '/' and a.ksppinm like '%optimizer_dsdir_usage_control%' ---- to search value order by a.ksppinm;
====
set lines 300 pagesize 300 col name for a40 col value for a35 col description for a70 col sesmod for a15 col adjusted for a15 col sysmod for a15 col "Default" for a15 col modified for a15 SELECT NAME, VALUE, DECODE(isdefault, 'TRUE', 'Y', 'N') AS "Default", DECODE(isem, 'TRUE', 'Y', 'N') AS sesmod, DECODE(isym, 'IMMEDIATE', 'I', 'DEFERRED', 'D', 'FALSE', 'N') AS sysmod, DECODE(imod, 'MODIFIED', 'U', 'SYS_MODIFIED', 'S', 'N') AS modified, DECODE(iadj, 'TRUE', 'Y', 'N') AS adjusted, description FROM ( --GV$SYSTEM_PARAMETER SELECT x.inst_id AS INSTANCE, x.indx + 1, ksppinm AS NAME, ksppity, ksppstvl AS VALUE, ksppstdf AS isdefault, DECODE(BITAND(ksppiflg / 256, 1), 1, 'TRUE', 'FALSE') AS isem, DECODE(BITAND(ksppiflg / 65536, 3), 1, 'IMMEDIATE', 2, 'DEFERRED', 'FALSE') AS isym, DECODE(BITAND(ksppstvf, 7), 1, 'MODIFIED', 'FALSE') AS imod, DECODE(BITAND(ksppstvf, 2), 2, 'TRUE', 'FALSE') AS iadj, ksppdesc AS description FROM x$ksppi x, x$ksppsv y WHERE x.indx = y.indx AND SUBSTR(ksppinm, 1, 1) != '_' AND x.inst_id = USERENV('Instance')) ORDER BY NAME;
or
set lines 400 pagesize 300
col name for a40
col value for a35
col description for a70
col sesmod for a15
col adjusted for a15
col sysmod for a15
col "Default" for a15
col modified for a15
SELECT NAME,
VALUE,
DECODE(isdefault, 'TRUE', 'Y', 'N') AS "Default",
DECODE(isem, 'TRUE', 'Y', 'N') AS sesmod,
DECODE(isym, 'IMMEDIATE', 'I', 'DEFERRED', 'D', 'FALSE', 'N') AS sysmod,
DECODE(imod, 'MODIFIED', 'U', 'SYS_MODIFIED', 'S', 'N') AS modified,
DECODE(iadj, 'TRUE', 'Y', 'N') AS adjusted,
description
FROM ( --GV$SYSTEM_PARAMETER
SELECT x.inst_id AS INSTANCE,
x.indx + 1,
ksppinm AS NAME,
ksppity,
ksppstvl AS VALUE,
ksppstdf AS isdefault,
DECODE(BITAND(ksppiflg / 256, 1), 1, 'TRUE', 'FALSE') AS isem,
DECODE(BITAND(ksppiflg / 65536, 3),
1,
'IMMEDIATE',
2,
'DEFERRED',
'FALSE') AS isym,
DECODE(BITAND(ksppstvf, 7), 1, 'MODIFIED', 'FALSE') AS imod,
DECODE(BITAND(ksppstvf, 2), 2, 'TRUE', 'FALSE') AS iadj,
ksppdesc AS description
, y.KSPPSTCMNT "comment"
FROM x$ksppi x, x$ksppsv y
WHERE x.indx = y.indx
-- AND SUBSTR(ksppinm, 1, 1) != '_'
AND x.inst_id = USERENV('Instance')
AND x.ksppinm LIKE '/_%&PARAMMETER%' escape '/'
)
ORDER BY NAME;
======================================================
for hidden!!!!!!!!!!!!set lines 300 pagesize 300 col name for a40 col value for a35 col description for a70 col sesmod for a15 col adjusted for a15 col sysmod for a15 col "Default" for a15 col modified for a15 SELECT NAME, VALUE, DECODE(isdefault, 'TRUE', 'Y', 'N') AS "Default", DECODE(isem, 'TRUE', 'Y', 'N') AS sesmod, DECODE(isym, 'IMMEDIATE', 'I', 'DEFERRED', 'D', 'FALSE', 'N') AS sysmod, DECODE(imod, 'MODIFIED', 'U', 'SYS_MODIFIED', 'S', 'N') AS modified, DECODE(iadj, 'TRUE', 'Y', 'N') AS adjusted, description FROM ( --GV$SYSTEM_PARAMETER SELECT x.inst_id AS INSTANCE, x.indx + 1, ksppinm AS NAME, ksppity, ksppstvl AS VALUE, ksppstdf AS isdefault, DECODE(BITAND(ksppiflg / 256, 1), 1, 'TRUE', 'FALSE') AS isem, DECODE(BITAND(ksppiflg / 65536, 3), 1, 'IMMEDIATE', 2, 'DEFERRED', 'FALSE') AS isym, DECODE(BITAND(ksppstvf, 7), 1, 'MODIFIED', 'FALSE') AS imod, DECODE(BITAND(ksppstvf, 2), 2, 'TRUE', 'FALSE') AS iadj, ksppdesc AS description FROM x$ksppi x, x$ksppsv y WHERE x.indx = y.indx AND SUBSTR(ksppinm, 1, 1) = '_' AND x.inst_id = USERENV('Instance')) ORDER BY NAME;
NAME VALUE Default SESMOD SYSMOD MODIFIED ADJUSTED DESCRIPTION ---------------------------------------- ----------------------------------- --------------- --------------- --------------- --------------- --------------- ---------------------------------------------------------------------- nls_sort Y Y N N N NLS linguistic definition name nls_territory AMERICA N Y N N N NLS territory name n
=====
set linesize 500 col NAME for a40 col VALUE for a20 col DESCRIPTION for a70 select a.ksppinm name,b.ksppstvl value,b.ksppstdf "default",decode(a.ksppity, 1,'boolean', 2,'string', 3,'number', 4,'file', a.ksppity) type ,a.ksppdesc description from sys.x$ksppi a,sys.x$ksppcv b where a.indx = b.indx and a.ksppinm like '\_shared\_pool\_reserved\_min\_alloc%' escape '\' order by name; select a.ksppinm name,b.ksppstvl value,b.ksppstdf "default",decode(a.ksppity, 1,'boolean', 2,'string', 3,'number', 4,'file', a.ksppity) type ,a.ksppdesc description from sys.x$ksppi a,sys.x$ksppcv b where a.indx = b.indx and a.ksppinm like '\_shared\_pool\_reserved\_min\_alloc%' escape '\' order by name; select a.ksppinm name,b.ksppstvl value,b.ksppstdf "default",decode(a.ksppity, 1,'boolean', 2,'string', 3,'number', 4,'file', a.ksppity) type ,a.ksppdesc description from sys.x$ksppi a,sys.x$ksppcv b where a.indx = b.indx and a.ksppinm like '\_small\_table\_threshold%' escape '\' order by name; select a.ksppinm name,b.ksppstvl value,b.ksppstdf "default",decode(a.ksppity, 1,'boolean', 2,'string', 3,'number', 4,'file', a.ksppity) type ,a.ksppdesc description from sys.x$ksppi a,sys.x$ksppcv b where a.indx = b.indx and a.ksppinm like '\_job\_queue\_interval%' escape '\' order by name; select a.ksppinm name,b.ksppstvl value,b.ksppstdf "default",decode(a.ksppity, 1,'boolean', 2,'string', 3,'number', 4,'file', a.ksppity) type ,a.ksppdesc description from sys.x$ksppi a,sys.x$ksppcv b where a.indx = b.indx and a.ksppinm like '_sort_multiblock_read%' ; select a.ksppinm name,b.ksppstvl value,b.ksppstdf "default",decode(a.ksppity, 1,'boolean', 2,'string', 3,'number', 4,'file', a.ksppity) type ,a.ksppdesc description from sys.x$ksppi a,sys.x$ksppcv b where a.indx = b.indx and a.ksppinm like '%_bump_highwater_mark_count%'; select a.ksppinm name,b.ksppstvl value,b.ksppstdf "default",decode(a.ksppity, 1,'boolean', 2,'string', 3,'number', 4,'file', a.ksppity) type ,a.ksppdesc description from sys.x$ksppi a,sys.x$ksppcv b where a.indx = b.indx and a.ksppinm like '%push_join_union_view%'; select a.ksppinm name,b.ksppstvl value,b.ksppstdf "default",decode(a.ksppity, 1,'boolean', 2,'string', 3,'number', 4,'file', a.ksppity) type ,a.ksppdesc description from sys.x$ksppi a,sys.x$ksppcv b where a.indx = b.indx and a.ksppinm like '\_kks\_use\_mutex\_pin%' escape '\' order by name;
2 comments:
set linesize 300 pagesize 300
col parameter for a30
col session for a28
col instance for a12
col s for a1
col i for a1
col d for a1
col description for a70
SELECT
a.ksppinm "Parameter",
decode(p.isses_modifiable,'FALSE',NULL,NULL,NULL,b.ksppstvl) "Session",
c.ksppstvl "Instance",
decode(p.isses_modifiable,'FALSE','F','TRUE','T') "S",
decode(p.issys_modifiable,'FALSE','F','TRUE','T','IMMEDIATE','I','DEFERRED','D') "I",
decode(p.isdefault,'FALSE','F','TRUE','T') "D",
a.ksppdesc "Description"
from x$ksppi a, x$ksppcv b, x$ksppsv c, v$parameter p
where a.indx = b.indx and a.indx = c.indx
and p.name(+) = a.ksppinm
-- and upper(a.ksppinm) like upper('%and 1%')
and (a.ksppinm) in ('_pga_max_size','_smm_max_size','_smm_px_max_size','pga_aggregate_target','_realfree_heap_pagesize','_use_realfree_heap','sga_max_size','sga_target','pga_aggregate_limit','pga_aggregate_target')
order by a.ksppinm;
Parameter Session Instance S I D Description
------------------------------ ---------------------------- ------------ - - - ----------------------------------------------------------------------
_pga_max_size 2147483648 Maximum size of the PGA memory for one process
_realfree_heap_pagesize 65536 hint for real-free page size in bytes
_smm_max_size 1048576 maximum work area size in auto mode (serial)
_smm_px_max_size 12058624 maximum work area size in auto mode (global)
_use_realfree_heap TRUE use real-free based allocator for PGA memory
pga_aggregate_limit 49392123904 F I T limit of aggregate PGA memory consumed by the instance
pga_aggregate_target 24696061952 F I F Target size for the aggregate PGA memory consumed by the instance
sga_max_size 161061273600 F F F max total SGA size
sga_target 107374182400 F I F Target size of SGA
9 rows selected.
alter system set "_external_scn_rejection_threshold_hours" = 24 comment='Set threshold on date << - See MOS Document 1393363.1'
scope=spfile ;
Post a Comment