Database Backup and Recovery (MOSC)

MOSC Banner

Redo log does not expire in v$archived_log

edited Feb 1, 2018 3:31PM in Database Backup and Recovery (MOSC) 12 commentsAnswered

Hi All,

I have a database that shows 10 redo log files with a status of Active in v$archived_log. I am looking for a way to force those to expire.

Background:

The development database was refreshed from the production database, then upgraded from Oracle 11.2.0.4 to 12.1.0.2. This is a standalone database.

One check we run is to see if there are archive logs that have not been backed up in the last day.

  select NAME,deleted,completion_time,status

   from v$archived_log where deleted != 'YES' and completion_time < sysdate - 1 and status != 'X' ;

Archive log backups are running as expected. The above query returns old redo log files that are no longer needed, and do not exist on the server.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center