Ano-Tech Computers
Enter keyword:

Oracle: How to check if a database is in archivelog mode
Problem:
Before switching archivelog mode on or off, it can sometimes be useful to know if it's already on or off, especially since changing modes require a shutdown of the database.
 
Solution:
Using sqlplus, simply type
"archive log list"

Typical output when OFF:
Database log mode No Archive Mode
Automatic archival Enabled
Archive destination /oracle/app/oracle/oradata/RALEPH/archive
Oldest online log sequence 305
Current log sequence 307

Typical output when ON:
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /oracle/app/oracle/oradata/EXTENS/archive
Oldest online log sequence 193
Next log sequence to archive 195
Current log sequence 195


 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles