----------------------------------------------------
----------------------------------------------------
Last Modified: 16-JUN-2015
Author : Amit Kumar Srivastava
Identify trace file SET LINE 200 PAGES 200COLUMN curr_trace_file FORMAT A90SELECT s.sid,s.serial#,par.value || '/' || LOWER(SYS_CONTEXT('userenv','instance_name')) || '_ora_' || p.spid || '.trc' AS curr_trace_fileFROM v$session s,v$process p,v$parameter parWHERE par.name = 'user_dump_dest'AND s.paddr = p.addrAND s.audsid = SYS_CONTEXT('USERENV', 'SESSIONID') ;----------------------------------------------------------------------select sid, serial#, module, program, usernamefrom v$sessionwhere sid=(select sys_Context('USERENV','SID')FROM DUAL);-------------------------------------------------------------SELECT valueFROM v$diag_infoWHERE name = 'Default Trace File';-------------------------------------------------------------SELECT p.tracefileFROM v$session sJOIN v$process p ON s.paddr = p.addrWHERE s.sid =(select sys_Context('USERENV','SID')FROM DUAL); Hidden / Undocumented Parameter in Oracle COL NAME FOR A40
COL VALUE FOR A20
COL DESCRIPTION FOR A30
COL TYPE FOR A20
SET LIN200 PAGES 2000
select a.ksppinm name,
b.ksppstvl value,
b.ksppstdf deflt,
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 '\_%' escape '\'
AND UPPER(a.ksppinm) LIKE UPPER('%&HIDD_PRM%')
order by name;
Monitoring
Backup Recovery
No comments:
Post a Comment