• Check if Archivelog mode is enabled

    Check Archivelog mode

    You can run the following command to check if you are running in ARCHIVELOG  mode :

    [oracle@raafat ~]$ sqlplus "/as sysdba"
    
    SQL*Plus: Release 12.1.0.2.0 Production on Tue Dec 8 11:03:52 2015
    
    Copyright (c) 1982, 2014, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    
    SQL>  archive log list;
    Database log mode              No Archive Mode
    Automatic archival             Disabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     790
    Current log sequence           792
    

    Also ,You can query the V$DATABASE view:

    SQL> select log_mode from v$database;
    LOG_MODE
     ------------
     NOARCHIVELOG
    

    Categories: Oracle

    Comments are currently closed.