BBBlog

Bytecode Hacker

Switching Off Archive Log Mode in Oracle

Archive Log mode can have a large impact on the performance of your Oracle database since it logs every single change to the data. If you don’t require this level of rollback then here are the commands to switch it off:

  1. Login to sqlplus – sqlplus / as sysdba
  2. Check your current log mode to make sure you are using archive logging – select log_mode from v$database;
  3. Shutdown the database – shutdown immediate;
  4. Mount the database but do not start it for operation - startup mount;
  5. Set noarchivelog mode - alter database noarchivelog;
  6. Open the database for normal operation - alter database open;

Done.