SRDC - ORA-1552: Checklist of Evidence to Supply (Doc ID 1681333.1)

SRDC - ORA-1552: Checklist of Evidence to Supply (Doc ID 1681333.1)

Action Plan

The Execute 1.  srdc_db_undo_config.sql   AS sysdba and the Provide the Output at The spool   as sysdba execute the script

--srdc_db_undo_config.sql
REM srdc_db_undo_config.sql REM collect Undo parameters,segment and transaction details for troubleshooting high Undo space usage issues define SRDCNAME='DB_Undo_Space' set pagesize 200 verify off sqlprompt "" term off entmap off echo off set markup html on spool on COLUMN SRDCSPOOLNAME NOPRINT NEW_VALUE SRDCSPOOLNAME select 'SRDC_'||upper('&&SRDCNAME')||'_'||upper(instance_name)||'_'|| to_char(sysdate,'YYYYMMDD_HH24MISS') SRDCSPOOLNAME from v$instance; spool &&SRDCSPOOLNAME..htm select 'Diagnostic-Name : ' "Diagnostic-Name ", '&&SRDCNAME' "Report Info" from dual union all select 'Time : ' , to_char(systimestamp, 'YYYY-MM-DD HH24MISS TZHTZM' ) from dual union all select 'Machine : ' , host_name from v$instance union all select 'Version : ',version from v$instance union all select 'DBName : ',name from v$database union all select 'Instance : ',instance_name from v$instance / set echo on --***********************Run Time********************** select sysdate from dual; -- ********************** Parameters ********************** select a.inst_id, a.ksppinm "Parameter", 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.inst_id=b.inst_id and b.inst_id=c.inst_id and a.ksppinm in ('_undo_autotune', '_smu_debug_mode', '_highthreshold_undoretention', 'undo_tablespace','undo_retention','undo_management') order by 2 / -- ********************** Undo Segments ********************** select count(*),status,tablespace_name from dba_rollback_segs group by status,tablespace_name / set echo off set sqlprompt "SQL> " term on set verify on spool off set markup html off spool off

2. If the error is reproducible:    If the error is reproducible

SQL> conn user/pass
SQL> ALTER SESSION SET EVENTS '1552 trace name errorstack level 3';
SQL> ALTER SESSION set MAX_DUMP_FILE_SIZE= unlimited ;
SQL> ALTER SESSION set TIMED_STATISTICS = true;
SQL> ALTER SESSION set TRACEFILE_IDENTIFIER = "ORA-1552";
SQL> Reproduce the error - to reproduce the error

SQL> ALTER SESSION SET EVENTS '1552 trace name errorstack off';

Then upload resulting tracing in the directory specified by user_dump_dest  or the diagnostic_dest parameter .

The result is then uploaded to the track user_dump_dest or diagnostic_dest parameter specifies the directory

3. If the error is not reproducible:   If you can not reproduce the error

SQL> CONN / AS SYSDBA
SQL> ALTER SYSTEM SET EVENTS '1552 trace name errorstack level 3';
SQL> ALTER SYSTEM set MAX_DUMP_FILE_SIZE= unlimited ;
SQL> ALTER SYSTEM set TIMED_STATISTICS = true;

Wait until the error (ORA-1552) occurs again -. Wait again until the error (ORA-1552)

The When the ALTER the SYSTEM the SET at The note EVENTS IS the Command Used only new new Sessions at The Events See the this the SET by the Command. 
- Note that when using only command ALTER SYSTEM SET EVENTS, a new session will see this command sets the event SQL> ALTER SYSTEM SET EVENTS '1552 trace name errorstack off';

Then upload resulting tracing in the directory specified by user_dump_dest  or the diagnostic_dest parameter .

The result is then uploaded to the track user_dump_dest or diagnostic_dest parameter specifies the directory

4. Attach all of the above evidence to the Service Request at SR creation time. The evidence can all be placed into a single ZIP or similar compressed archive or can be attached as separate files.

4. When you create SR, all of the above evidence attached to the service request. All evidence into a single ZIP archive or the like may be added as a separate file

Guess you like

Origin www.cnblogs.com/zylong-sys/p/11961451.html