Oracle   Home  

 

Oracle Database 9i, 10g, 11g

Oracle Data Warehouse & BI

Oracle Applications EBS 11i, R12

 Oracle Middleware

SQL & PL/SQL

UNIX/ Linux

   Home  >  Oracle Database Administration (DBA)  >  Maintenance  >  Database ARCHIVELOG mode

 

Oracle Database 10g Administration (DBA): Maintenance

Database ARCHIVELOG mode

 

 

Database ARCHIVELOG mode: Overview

 

An Oracle database could be in ARCHIVELOG or NON ARCHIVELOG mode. When the database is in ARCHIVELOG mode one or more ARC process(es)  are taking backups of the redo log files when the redo logs are full or switched. That assure that all the database operations are kept in 2 places (in data files and in archive log files). Having the database in ARCHIVELOG mode assure us that the data will not be lost even if the original data (from datafiles) will become inaccessible or will be deleted accidentally. 

 

 

Is my database in ARCHIVELOG mode ?

 

To see if the database is in archivelog mode the following command could be used:

 

select NAME, LOG_MODE, ARCHIVELOG_CHANGE# from v$database;

 

 

 

How could I enable the ARCHIVELOG mode ?

 

1)  assure that we have the following parameters in init.ora:

      log_archive_dest_1='location=C:\OHome_9i\ARC'
      log_archive_start=TRUE                  -->obsolete for 10g and higher.

 

2)  startup mount

3)  alter database archivelog;  (enable automatic archiving)

     alter database archivelog MANUAL;   (ALTER SYSTEM ARCHIVE LOG ALL; must be run to archive the log files) 

 

 

How could I disable the ARCHIVELOG mode ?

 

1)  startup mount

2)  alter database noarchivelog; 

 

 

More information about  this subject ( Database ARCHIVELOG mode ) you can get from  www.in-oracle.com

 

 

 

Oracle Database 9i, 10g, 11g

Oracle Data Warehouse & BI Oracle Applications EBS 11i, R12  Oracle Middleware

SQL & PL/SQL

UNIX/ Linux

   Home  >  Oracle Database Administration (DBA)  >  Maintenance  >  Database ARCHIVELOG mode

 

 

Different Romanian Links/ Linkuri romanesti diferite

  1. Invata limba engleza (Learn English language if you are Romanian)

  Doresti un proiect de arhitectura ieftin (pentru zonele Buzau, Bucuresti sau Prahova) ?

Disclaimer: The views expressed on this web site are my own and do not reflect the views of Oracle Corporation. You may use the information from this site only at your risk. Copyright (c) 2009-2011 Paul Catalin Tomoiu. All rights reserved.