You are on page 1of 14






 


$ cd ~/labs
$ ./lab_14_01_01.sh

 
 orcl

 






 
 

 





 


  
 

 

 +FRA
 


 
 

 



  8 


 

 
 


 








 





 






 

 
%t%s%r




 
USE_DB_RECOVERY_FILE_DEST
+FRA


 
 
 oracle

 
 




 


SYSDBAarchive log list 
$ . oraenv
ORACLE_SID = [oracle] ? orcl
The Oracle base for
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is
ORACLE_HOME=/u01/app/oracle/product
/u01/app/oracle
$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 11 10:16:40


2009

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

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 -
Production
With the Partitioning, Automatic Storage Management, OLAP,
Data Mining
and Real Application Testing options

SQL> archive log list


Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 126
Next log sequence to archive 128
Current log sequence 128
SQL> exit




Disconnected from Oracle Database 11g Enterprise Edition
Release 11.2.0.1.0 - Production
With the Partitioning, Automatic Storage Management, OLAP,
Data Mining
and Real Application Testing options
$















 
 orcl

 

 
 



 
oracle 


cd /u01/app/oracle/diag/rdbms/orcl/orcl/trace
tail alert_orcl.log

$ cd /u01/app/oracle/diag/rdbms/orcl/orcl/trace
$ tail alert_orcl.log
Sat Jul 11 09:10:03 2009
SMCO started with pid=23, OS id=9837
Sat Jul 11 09:46:31 2009
ALTER DATABASE BACKUP CONTROLFILE TO TRACE
Backup controlfile written to trace file
/u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_ora_12190.trc
Completed: ALTER DATABASE BACKUP CONTROLFILE TO TRACE
Sat Jul 11 09:46:56 2009
ALTER DATABASE BACKUP CONTROLFILE TO TRACE
Backup controlfile written to trace file
/u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_ora_12190.trc
Completed: ALTER DATABASE BACKUP CONTROLFILE TO TRACE
$



 




 





 

 
 


 


 

 SPFILE
 



 



 oracleoracle


 
 oracle
oracle
oracle 
 

  
 
oracle
 

 


 

 

 

ARCHIVELOG
ARCHIVELOG
  



  
 oracleoracle

 



  


 
 


 




 
 



 

 


 

 




  


 





 



 
 

 oracleoracle

 

 
 


 
 
 
Nightly_Backup
 




 1

11:00 PM


 
 



 
  







 
 SYSTEM
 
/home/oracle/labs
 








 labs
lab_16_01_01.sqlSYS

$ cd /home/oracle/labs
$ . oraenv
ORACLE_SID = [oracle] ? orcl
The Oracle base for
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is
/u01/app/oracle
$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Sun Jul 12 23:29:58


2009

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

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 -
Production
With the Partitioning, Automatic Storage Management, OLAP,
Data Mining
and Real Application Testing options

SQL> @lab_16_01_01.sql
Connected.
onnected.

Java created.

Procedure created.

PL/SQL procedure successfully completed.

PL/SQL procedure successfully completed.

PL/SQL procedure successfully completed.

PL/SQL procedure successfully completed.

PL/SQL procedure successfully completed.

PL/SQL procedure successfully completed.

Synonym created.

Grant succeeded.

SQL>



You might also like