alter database open resetlogs
*
ERROR at line 1:
ORA-00349: failure obtaining block size for '+REDO/FOLHAHOM/ONLINELOG/group_4a.rdo'
ORA-15001: diskgroup "REDO" does not exist or is not mounted
ORA-15001: diskgroup "REDO" does not exist or is not mounted
ORA-15001: diskgroup "REDO" does not exist or is not mounted
set pages 120 lines 10000;
SELECT
FROM gv$log l
JOIN gv$logfile lf ON
l.INST_ID = lf.INST_ID AND
l.GROUP# = lf.GROUP#
ORDER BY 1,2,3;
I can't drop the log file group because the status “CLEARING_CURRENT”, of course.
Database altered.
SQL> ALTER DATABASE RENAME FILE '+REDO/FOLHAHOM/ONLINELOG/group_11a.rdo' TO '+REDO1/FOLHAHOM/ONLINELOG/group_11a.rdo';
Database altered.
SELECT
FROM gv$log l
JOIN gv$logfile lf ON
l.INST_ID = lf.INST_ID AND
l.GROUP# = lf.GROUP#
ORDER BY 1,2,3;
Yes, but I preferred to recreate all the log file groups.
Database altered.
SQL> alter database add logfile thread 2 ('+REDO1','+REDO2') size 512M;
Database altered.
Database altered.
SQL> alter database add logfile thread 1 ('+REDO1','+REDO2') size 512M;
Database altered.
SQL> alter database add logfile thread 1 ('+REDO1','+REDO2') size 512M;
Database altered.
SQL> alter database add logfile thread 1 ('+REDO1','+REDO2') size 512M;
Database altered.
SQL> alter database add logfile thread 2 ('+REDO1','+REDO2') size 512M;
Database altered.
SQL> alter database add logfile thread 2 ('+REDO1','+REDO2') size 512M;
Database altered.
SQL> alter database add logfile thread 2 ('+REDO1','+REDO2') size 512M;
Database altered.
SQL> alter database add logfile thread 2 ('+REDO1','+REDO2') size 512M;
Database altered.
Database altered.
SQL> ALTER DATABASE DROP LOGFILE GROUP 5;
Database altered.
SQL> ALTER DATABASE DROP LOGFILE GROUP 7;
Database altered.
SQL> ALTER DATABASE DROP LOGFILE GROUP 8;
Database altered.
SQL> ALTER DATABASE DROP LOGFILE GROUP 9;
Database altered.
SQL> ALTER DATABASE DROP LOGFILE GROUP 10;
Database altered.
SQL> ALTER DATABASE DROP LOGFILE GROUP 12;
Database altered.
SQL> ALTER DATABASE DROP LOGFILE GROUP 13;
Database altered.
System altered.
SELECT
FROM gv$log l
JOIN gv$logfile lf ON
l.INST_ID = lf.INST_ID AND
l.GROUP# = lf.GROUP#
ORDER BY 1,2,3;
Database altered.
SQL> ALTER DATABASE DROP LOGFILE GROUP 11;
Database altered.