Database Administration (MOSC)

MOSC Banner

The sequence# in v_$archived_log is out of sequence

The server shut down because of a corrupted file. Once we got the server back up we had an issue with the database in that the sequence# in v_$archived_log was no longer sequenced. It should have been 755, 426, but it had started numbering at 1. I tried to reset the sequencing by running the following:

alter v_$archived_log

set sequence# = sequence# + 755426

where completion_time < to_date(‘03-NOV-2023 02:55:00', 'DD-MON-YYYY HH24:MI:SS')

and applied = 'NO'

and upper(name) = 'SDG';

But I get the error: ora-02030: can only select from fixed tables/views

Additionally before the corrupted file occurrence applied was YES, but now it is NO.

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