This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL>SELECT GROUP#,L.STATUS,V.MEMBER,L.SEQUENCE# FROM V$LOG L JOIN V$LOGFILE V USING (GROUP#) ORDER BY GROUP#; | |
| GROUP# STATUS MEMBER SEQUENCE# | |
| ---------- ---------------- ---------------------------------------- ---------- | |
| 1 INACTIVE C:\APP\PC\ORADATA\ADMIN\REDO04.LOG 2625 | |
| 1 INACTIVE C:\APP\PC\ORADATA\ADMIN\REDO01.LOG 2625 | |
| 2 CURRENT C:\APP\PC\ORADATA\ADMIN\REDO02.LOG 2626 | |
| 2 CURRENT C:\APP\PC\ORADATA\ADMIN\REDO05.LOG 2626 | |
| 3 INACTIVE C:\APP\PC\ORADATA\ADMIN\REDO03.LOG 2621 | |
| 3 INACTIVE C:\APP\PC\ORADATA\ADMIN\REDO08.LOG 2621 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL> ALTER DATABASE CLEAR LOGFILE; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL> SHUT IMMEDIATE | |
| Database closed. | |
| Database dismounted. | |
| ORACLE instance shut down. | |
| SQL> | |
| SQL> | |
| SQL> STARTUP | |
| ORACLE instance started. | |
| Total System Global Area 1071333376 bytes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SQL>COL MEMBER FORMAT A40 | |
| SQL>SELECT GROUP#,L.STATUS,V.MEMBER FROM V$LOG L JOIN V$LOGFILE V USING (GROUP#) ORDER BY GROUP#; | |
| GROUP# STATUS MEMBER | |
| ---------- ---------------- ---------------------------------------- | |
| 1 INACTIVE C:\APP\PC\ORADATA\ADMIN\REDO04.LOG | |
| 1 INACTIVE C:\APP\PC\ORADATA\ADMIN\REDO01.LOG | |
| 2 CURRENT C:\APP\PC\ORADATA\ADMIN\REDO02.LOG | |
| 2 CURRENT C:\APP\PC\ORADATA\ADMIN\REDO05.LOG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| C:\WINDOWS\system32>SQLPLUS / AS SYSDBA |