Total Pageviews

Thursday 6 September 2012

Using tracefile_identifier oracle 11g

[oracle@DBA-RHEL4-11G ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Thu Sep 6 03:33:01 2012

Copyright (c) 1982, 2011, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> show parameter dump_dest;

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
background_dump_dest string /home/oracle/apps/diag/rdbms/rep03db/rep03db/trace
core_dump_dest string /home/oracle/apps/diag/rdbms/rep03db/rep03db/cdump
user_dump_dest string /home/oracle/apps/diag/rdbms/rep03db/rep03db/trace

SQL> Alter session set tracefile_identifier='Look_For_Me';

Session altered.

[oracle@DBA-RHEL4-11G trace]$pwd
/home/oracle/apps/diag/rdbms/rep03db/rep03db/trace
[oracle@DBA-RHEL4-11G trace]$ls -l
alert_rep03db.log
rep03db_mman_5712.trc
 rep03db_ora_4387_Look_For_Me.trc
rep03db_w000_4238.trc
rep03db_j000_28983.trm rep03db_mman_5712.trm
rep03db_ora_4387_Look_For_Me.trm
rep03db_w000_4238.trm
rep03db_j000_29752.trm

No comments:

Post a Comment