{"id":2600,"date":"2019-03-12T12:34:59","date_gmt":"2019-03-12T09:34:59","guid":{"rendered":"https:\/\/sysdba.org\/?p=2600"},"modified":"2025-07-02T06:01:07","modified_gmt":"2025-07-02T06:01:07","slug":"managing-redolog-files","status":"publish","type":"post","link":"https:\/\/sysdba.org\/en\/managing-redolog-files\/","title":{"rendered":"Managing RedoLog Files"},"content":{"rendered":"<p>Consistency is a key requirement and factor of a database. &#8220;Shadow Copy&#8221; and &#8220;Write-Ahead Logging&#8221; (WAL) methods are used in order to ensure consistency, WAL being more popular.<br \/>\nOpen Source databases use WAL, without needing to use built-in postgreSQL, to rename.<br \/>\nThe Oracle DBMS does this differently, it uses a redolog to rename.<\/p>\n<p><strong>Properties of Oracle Redologs:<\/strong><\/p>\n<p>\u2022 Save files to the RedoLog before making any changes.<\/p>\n<p>\u2022 RedoLogs are used in Oracle recovery mechanisms.<\/p>\n<p>\u2022 RedoLogs are organized into groups, with a minimum requirement of 2 groups.<\/p>\n<p>\u2022 To maintain error-tolerance, group members need to be on separate disks, if opting to keep all group members on the same disk, then error-tolerant disk architecture should be used such as RAID 1, 5, 10, etc.<\/p>\n<p>\u2022 All group members share the same properties.<\/p>\n<p>\u2022 Log Sequences and their sizes are all the same.<\/p>\n<p>\u2022 The number of RedoLog files and the no. of members are set using the Create database command.<\/p>\n<p>\u2022 The MAXLOGFILES parameter is used to set the maximum amount of redo log file groups.<\/p>\n<p>\u2022 MAXLOGMEMBERS defines the maximum number of members per group.<\/p>\n<p>\u2022 Redo logs work cyclically, for example in a situation where there are 3 groups LOGWR writes sequentially first to group 1 &gt; group 2 &gt; group 3 &gt; group 1 (writing on group 1 again would mean writing over previous group 1 data).<\/p>\n<p>\u2022The number of groups is determined by the level of activity on a database and the number of transactions.<\/p>\n<p>\u2022If there aren&#8217;t enough groups in a database then errors such as &#8220;threat cannot allocate new log&#8221; are produced.<\/p>\n<p>Explanations on how to add groups and member as well as a few database failure scenarios have also been provided below. An example of these is restoring a database where the RedoLog has failed.<\/p>\n<p>\u2022 A Redo Log can have different statuses<\/p>\n<p>&#8211; Current: The redo log currently in use.<\/p>\n<p>&#8211; Active: The status that precedes Current. Information is waiting to be written to data files. (In archive mode, would show that the archiving has still not been completed).<\/p>\n<p>&#8211; Inactive: A redo log that is not in use. Inactive redo logs cannot be used for Instance Recovery.<\/p>\n<p>&#8211; Unused: A redo log that has never been used.<\/p>\n<p>&#8211; Inactive: An inaccessible or corrupted redo log.<\/p>\n<p>&#8211; Stale: A log with incomplete contents.<\/p>\n<p>&#8211; Deleted: A redo log that will not be used.<\/p>\n<p>&#8211; Clearing: A redo log that&#8217;s had its contents cleared and recreated using the &#8220;alter database clear logfile&#8221; command. Once recreated the redo log has an Unused status.<\/p>\n<p>\u2022 To return a database to its last stable state, just before a disaster, the database should be placed in archive mode. This way all of the data that&#8217;s been committed can be restored.<\/p>\n<p>One of the advantages of being in Archive mode is being able to make a backup of a database without shutting it down. (By default a database is not in Archive mode.)<\/p>\n<p>Log Switch: This is the term given to a Log Writer, LGWR, switching from one group to another. A checkpoint transaction is executed along with a Log Switch.<\/p>\n<p>[crayon]alter system switch logfile; [\/crayon]<br \/>\nspfile fast_start_mttr_target = 600<br \/>\nIf the spfile is closed in an inconsistent state, a value of 600 indicates that it should be opened within 600 seconds. The Log switches are therefore timed accordingly.<\/p>\n<p>Making check points frequently would decrease the database&#8217;s performance, on the other hand infrequent updates would also have a negative impact in that it would take longer to recover a database that has shutdown in an inconsistent state.<\/p>\n<p>This code creates a checkpoint.<br \/>\n[crayon] alter system checkpoint ; [\/crayon]<br \/>\nRedo Log file information can be viewed using the v$log and v$logfile commands.<br \/>\nv$logv$logfile<\/p>\n<p>The current state of Redo Log transactions<br \/>\n[crayon] select group#, member from v$logfile;GROUP# MEMBER<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n3 \/export\/home\/oracle\/oradata\/suntest\/redo03a.log<br \/>\n2 \/export\/home\/oracle\/oradata\/suntest\/redo02a.log<br \/>\n1 \/export\/home\/oracle\/oradata\/suntest\/redo01a.log[\/crayon]<br \/>\n<strong>Adding members<\/strong><\/p>\n<p>[crayon]alter database add logfile member &#8216;\/export\/home\/oracle\/oradata\/suntest\/redo01b.log&#8217; to group 1<br \/>\nalter database add logfile member &#8216;\/export\/home\/oracle\/oradata\/suntest\/redo02b.log&#8217; to group 2<br \/>\nalter database add logfile member &#8216;\/export\/home\/oracle\/oradata\/suntest\/redo03b.log&#8217; to group 3[\/crayon]<br \/>\nNote: As this is a test environment we have placed members in the same folder, under normal circumstances members would be in created in separate physical disks.<\/p>\n<p>It&#8217;s possible to create members on the same disk, but by adding members in separate physical disks we increase a database&#8217;s fault tolerance in case of a disk error. Having members on the same physical disk would also have a negative impact on performance.<br \/>\nA guide to adding disks in a Linux environment can be found at the end of this page.<\/p>\n<p>The entry made in AlertLog<br \/>\n[crayon]$ tail -f alert_suntest.logalter database add logfile member &#8216;\/export\/home\/oracle\/oradata\/suntest\/redo01b.log&#8217; to group 1<br \/>\nWed Jun 2 15:45:30 2010<br \/>\nCompleted: alter database add logfile member &#8216;\/export\/home\/oracle\/oradata\/suntest\/redo01b.log&#8217; to group 1 \u2026\u2026<br \/>\n[\/crayon]<br \/>\n<strong>Repeating the query.<\/strong><\/p>\n<p>[crayon] select group#, member from v$logfile;GROUP# MEMBER<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n3 \/export\/home\/oracle\/oradata\/suntest\/redo03a.log<br \/>\n2 \/export\/home\/oracle\/oradata\/suntest\/redo02a.log<br \/>\n1 \/export\/home\/oracle\/oradata\/suntest\/redo01a.log<br \/>\n1 \/export\/home\/oracle\/oradata\/suntest\/redo01b.log<br \/>\n3 \/export\/home\/oracle\/oradata\/suntest\/redo03b.log<br \/>\n2 \/export\/home\/oracle\/oradata\/suntest\/redo02b.log[\/crayon]<br \/>\n<strong>Adding a group.<\/strong><br \/>\n[crayon]alter database add logfile group 4 (&#8216;\/export\/home\/oracle\/oradata\/suntest\/redo04a.log&#8217;,&#8217;\/export\/home\/oracle\/oradata\/suntest\/redo04b.log&#8217;) size 50M [\/crayon]<\/p>\n<p>[crayon]select group#, member from v$logfile;GROUP# MEMBER<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n3 \/export\/home\/oracle\/oradata\/suntest\/redo03a.log<br \/>\n2 \/export\/home\/oracle\/oradata\/suntest\/redo02a.log<br \/>\n1 \/export\/home\/oracle\/oradata\/suntest\/redo01a.log<br \/>\n1 \/export\/home\/oracle\/oradata\/suntest\/redo01b.log<br \/>\n4 \/export\/home\/oracle\/oradata\/suntest\/redo04a.log<br \/>\n4 \/export\/home\/oracle\/oradata\/suntest\/redo04b.log<br \/>\n3 \/export\/home\/oracle\/oradata\/suntest\/redo03b.log<br \/>\n2 \/export\/home\/oracle\/oradata\/suntest\/redo02b.log[\/crayon]<br \/>\n<strong>Moving or renaming a RedoLog<\/strong><br \/>\nThere are 2 methods of doing this:<br \/>\nA. By using the Rename command<br \/>\nB. By creating a member in the location where it is to be moved and deleting (drop) the old ones.<\/p>\n<p>A. Using the Rename command<br \/>\nFirst put the database in Mount mode<br \/>\n[crayon]shutdown immediate<br \/>\nstartup mount<br \/>\nalter database rename file &#8216;\/export\/home\/oracle\/oradata\/suntest\/redo03.log&#8217; to &#8216;\/export\/home\/oracle\/oradata\/suntest\/redo03a.log&#8217; ; [\/crayon]<br \/>\nB. Moving the redolog is done in the same way. Once the database has been shutdown redo03.log is copied to its new location and an &#8220;Alter Database Rename&#8221; command is executed.<br \/>\n<strong>Dropping Groups<\/strong><\/p>\n<p>\u2022 The main thing to remember is that the system requires at least 2 groups.<br \/>\n\u2022 Groups that are in a current or active status cannot be deleted.<br \/>\n\u2022 Files belonging to deleted groups cannot be deleted on the operating system.<\/p>\n<p>[crayon] alter database drop logfile group 4; [\/crayon]<br \/>\n<strong>Dropping Members<\/strong><\/p>\n<p>\u2022 The last working member cannot be deleted.<br \/>\n\u2022 If a member&#8217;s status is current, the status first needs to be switched.<br \/>\n\u2022 A database that&#8217;s in archive mode and has a pending archive cannot be deleted.<br \/>\n\u2022 If the operating system isn&#8217;t using the OMF (Oracle Managed File) property, the file will remain within the operating system.<\/p>\n<p>[crayon] alter database drop logfile member&#8217;\/export\/home\/oracle\/oradata\/suntest\/redo01a.log&#8217;;<br \/>\n[\/crayon]<br \/>\nIf a Redo Log file has been corrupted<\/p>\n<p><strong>Test 1<\/strong><br \/>\nWhilst in group 3 was in a Current status, oracle and oinstall groups had all privileges assigned based on the group 3 redolog.<\/p>\n<p>[crayon] chmod wrx-a redolog03.rdo<br \/>\nalter system switch logfile ;<br \/>\n[\/crayon]<br \/>\nA switch has been made to Group 1 without any problems.<br \/>\nUsing &#8220;alter system switch logfile&#8221; again will result in the database hanging.<br \/>\nAlert Log denies permission and a gives a &#8220;ARC0: Failed to archive thread 1 sequence 11 (0)&#8221; error.<\/p>\n<p>The system can be accessed using a sys user.<br \/>\nQuery executions are attempted.<br \/>\nUsing a sys user it is possible to create a test table and commit it.<\/p>\n<p>[crayon] conn hr\/hr@orclvm<br \/>\nERROR: ORA-00257: archiver error. Connect internal only, until freed.<br \/>\nconn scott\/1@orclvm<br \/>\nERROR: ORA-00257: archiver error. Connect internal only, until freed.<br \/>\nalter database clear logfile group 3;<br \/>\nalter database clear logfile group 3<br \/>\nERROR at line 1: ORA-00350: log 3 of instance orcl (thread 1) needs to be archived ORA-00312:<br \/>\nonline log 3 thread 1: &#8216;\/u01\/app\/oracle\/oradata\/orcl\/redo03.log&#8217;<br \/>\nalter database clear unarchived logfile group 3;<br \/>\nDatabase altered, [\/crayon]<br \/>\nThe log entry in the Alert file:<\/p>\n<p>WARNING! CLEARING REDO LOG WHICH HAS NOT BEEN ARCHIVED. BACKUPS TAKEN BEFORE 01\/24\/2010 20:51:55 (CHANGE 635601) CANNOT BE USED FOR RECOVERY.<br \/>\nThis part is important: rman backups made before the above date are of no use, but is it possible return the database to to the point mentioned in the archive log instead of the mentioned date &amp; time ?<br \/>\nClearing online log 3 of thread 1 sequence number 11 Sun Jan 24 21:13:56 2010 Errors in file \/u01\/app\/oracle\/admin\/orcl\/udump\/orcl_ora_6815.trc: ORA-00313: open failed for members of log group 3 of thread 1 ORA-00312: online log 3 thread 1: &#8216;\/u01\/app\/oracle\/oradata\/orcl\/redo03.log&#8217; ORA-27041: unable to open file Linux-x86_64 Error: 13: Permission denied Additional information: 2 Sun Jan 24 21:14:09 2010 Completed: alter database clear unarchived logfile group 3 Sun Jan 24 21:14:14 2010 Archiver process freed from errors. No longer stopped<br \/>\nLogged into the system as Scott.<br \/>\nExcluding the errors in group 1, the database is working as normal.<br \/>\n[crayon]alter system switch logfile; [\/crayon]<br \/>\nAfter entering the previous command, Group 3&#8217;s status was changed to current, the privileges previously granted by the system are restored and the system functions normally again. A backup of the database is made straight away and the database is later shutdown.<br \/>\nOpening Oracle:<br \/>\n[crayon]startup<br \/>\nORACLE instance started. [\/crayon]<br \/>\nTotal System Global Area 369098752 bytes Fixed Size 2020896 bytes Variable Size 159386080 bytes Database Buffers 201326592 bytes Redo Buffers 6365184 bytes Database mounted. ORA-00314: log 3 of thread 1, expected sequence# doesn&#8217;t match ORA-00312: online log 3 thread 1: &#8216;\/u01\/app\/oracle\/oradata\/orcl\/redo03.log&#8217;<br \/>\nFollowing the previous error, the database is in mount mode.<\/p>\n<p>[crayon]alter database open;<br \/>\nORA-03113: end-of-file on communication channel<br \/>\n[\/crayon]<br \/>\nRecover database until cancel<br \/>\nMedia recovery complete.<br \/>\nThe following syntax opens the database.<br \/>\n[crayon]alter database open resetlogs; [\/crayon]<br \/>\n<strong>Test 2<\/strong><br \/>\n[crayon] $rm -rf redo01.rdo This command deletes the redolog file [\/crayon]<br \/>\nIn the alert.log file<br \/>\nShutting down archive processes Tue Jan 26 20:30:06 2010 ARCH shutting down ARC2: Archival stopped<\/p>\n<p>The logs have been written. The current sessions can continue their read &amp; write transactions.<\/p>\n<p>[crayon]select * from v$log;[\/crayon]<br \/>\ntruncating (as requested) before column FIRST_CHANGE#<br \/>\nGROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRS<br \/>\n&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212; &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;-<br \/>\n1 1 8 52428800 1 NO CURRENT 26-J 2 1 7 52428800 1 YES ACTIVE 25-J 3 1 6 52428800 1 YES INACTIVE 25-J<br \/>\n[\/crayon]<br \/>\nThe alert log<br \/>\nErrors in file \/u01\/app\/oracle\/admin\/orcl\/bdump\/orcl_arc0_7628.trc: ORA-00313: open failed for members of log group 1 of thread 1 ORA-00312: online log 1 thread 1: &#8216;\/u01\/app\/oracle\/oradata\/orcl\/redo01.log&#8217; ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directory<br \/>\nstarts giving error messages.<\/p>\n<p>After entering an &#8220;alter system switch logfile&#8221; command 3 times (when wanting to place the group that is currently in a transaction, first to 2 followed by 3 and finally 1.<br \/>\nThe Alert Log starts giving the following errors. The command line cursor doesn&#8217;t respond to the &#8220;alter system switch logfile&#8221; command.<br \/>\nLinux-x86_64 Error: 2: No such file or directory Additional information: 3 Tue Jan 26 20:42:12 2010 ARC1: Failed to archive thread 1 sequence 8 (0)<\/p>\n<p>[crayon]alter database clear unarchived logfile group 1;<br \/>\nDatabase altered. [\/crayon]<br \/>\nThe following information is entered into the alert log.<br \/>\nTue Jan 26 20:45:31 2010 Thread 1 advanced to log sequence 11 Current log# 1 seq# 11 mem# 0: \/u01\/app\/oracle\/oradata\/orcl\/redo01.log Tue Jan 26 20:45:31 2010 Completed: alter database clear unarchived logfile group 1 Tue Jan 26 20:45:31 2010 Archiver process freed from errors. No longer stopped<br \/>\n[crayon]alter system switch logfile;[\/crayon]<br \/>\nThe session that was hanging due to the command is now working. Writing and deleting can continue.<\/p>\n<p>[crayon]select * from v$log;[\/crayon]<br \/>\ntruncating (as requested) before column FIRST_CHANGE#<br \/>\nGROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRS<br \/>\n&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212; &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;-<br \/>\n1 1 11 52428800 1 NO CURRENT 26-J 2 1 10 52428800 1 YES ACTIVE 26-J 3 1 9 52428800 1 YES INACTIVE 26-J<\/p>\n<p>When checked from the operating system we find that redo01.rdo or group 1 has been recreated. To make sure that this is the case, we should shut down and restart the db.<\/p>\n<p>[crayon]shutdown immediate<br \/>\nstartup<br \/>\nORACLE instance started.<br \/>\nTotal System Global Area 369098752 bytes Fixed Size 2020896 bytes Variable Size 121637344 bytes Database Buffers 239075328 bytes Redo Buffers 6365184 bytes Database mounted. ORA-00314: log 1 of thread 1, expected sequence# doesn&#8217;t match ORA-00312: online log 1 thread 1: &#8216;\/u01\/app\/oracle\/oradata\/orcl\/redo01.log<br \/>\n[\/crayon]<br \/>\nRecover database until cancel alter database open resetlogs;<br \/>\nThese commands were able to restart the database successfully, indicating that there are no problems.<\/p>\n<p>To check:<\/p>\n<p>[crayon]FDISK \u2013L and MOUNT<br \/>\nChanges made to \/etc\/fstab will ensure that volumes (disks) will be mounted automatically when the operating system boots.[\/crayon]<\/p>\n<p>[crayon]column member format a50<br \/>\nselect f.member,l.bytes\/1024\/1024 as &#8220;Size in MB&#8221; from v$log l,v$logfile f where l.group#=f.group#;[\/crayon]<br \/>\n[crayon]column MEMBERS format 99<br \/>\nselect STATUS, group#, THREAD#, members, bytes\/1024\/1024 MB, ARCHIVED, SEQUENCE# from v$log;[\/crayon]<br \/>\n[crayon]column member format a50<br \/>\nselect group#, member from v$logfile;[\/crayon]<br \/>\n[crayon]SELECT group#, dbid, thread#, sequence#, status<br \/>\nFROM v$standby_log;[\/crayon]<br \/>\n[crayon]SELECT GROUP#, BYTES, &#8216;ONLINE&#8217; AS TYPE FROM V$LOG<br \/>\nUNION<br \/>\nSELECT GROUP#, BYTES, &#8216;STANDBY&#8217; AS TYPE FROM V$STANDBY_LOG<br \/>\nORDER BY 1;[\/crayon]<br \/>\n[crayon]set linesize 1200<br \/>\ncolumn group# format 99<br \/>\ncolumn THREAD# format 99<br \/>\ncolumn sequence# format 999<br \/>\ncolumn bytes\/1024\/1024 format 9999<br \/>\ncolumn group format 99<br \/>\ncolumn USED format 99999999999<br \/>\ncolumn ARCHIVED format a5<br \/>\ncolumn STATUS format a10<br \/>\nselect group#, THREAD#, sequence#, bytes\/1024\/1024 MB, USED, ARCHIVED, STATUS from v$standby_log ; [\/crayon]<br \/>\nAdding a RedoLog in the file system<br \/>\nAdding a group.<br \/>\n[crayon]alter database add logfile group 4<br \/>\n(&#8216;\/export\/home\/oracle\/oradata\/suntest\/redo04a.log&#8217;,&#8217;\/export\/home\/oracle\/oradata\/suntest\/redo04b.log&#8217;) size 50M [\/crayon]<br \/>\nAdding a member.<br \/>\n[crayon]alter database add logfile member &#8216;\/oracle\/oradata\/suntest\/redo01b.log&#8217; to group 1<br \/>\nalter database add logfile member &#8216;\/oracle\/oradata\/suntest\/redo02b.log&#8217; to group 1<br \/>\nalter database add logfile member &#8216;\/oracle\/oradata\/suntest\/redo03b.log&#8217; to group 1[\/crayon]<br \/>\nAdding a StandbyLog to the file system.<br \/>\n[crayon]ALTER DATABASE ADD STANDBY LOGFILE (&#8216;\/u02\/app\/oracle\/oradata\/FSM\/stdby_log01_1.log&#8217;) SIZE 100M ;<br \/>\nALTER DATABASE ADD STANDBY LOGFILE (&#8216;\/u02\/app\/oracle\/oradata\/FSM\/stdby_log02_1.log&#8217;) SIZE 100M ;[\/crayon]<br \/>\nAdding a RedoLog to Automatic Storage Management (ASM)<br \/>\n[crayon]ALTER DATABASE ADD LOGFILE THREAD 1 GROUP 11 ( &#8216;+DATA&#8217;) SIZE 100M;[\/crayon]<br \/>\n[crayon]show parameter db_create_online_log_dest_[\/crayon]<br \/>\n[crayon]alter system set db_create_online_log_dest_1 = &#8216;+DATA&#8217; scope=both sid=&#8217;*&#8217;<br \/>\nalter system set db_create_online_log_dest_2 = &#8216;+FRA&#8217; scope=both sid=&#8217;*&#8217;<br \/>\nalter database add logfile ;[\/crayon]<br \/>\nalternatively<br \/>\n[crayon]alter database add logfile group xxx;[\/crayon]<br \/>\nThis method autmatically adds a member to +FRA<br \/>\nAdding a Standby Log<br \/>\n[crayon]ALTER DATABASE ADD STANDBY LOGFILE THREAD 1<br \/>\nGROUP 5 SIZE 100M,<br \/>\nGROUP 6 SIZE 100M,<br \/>\nGROUP 7 SIZE 100M;<br \/>\nALTER DATABASE ADD STANDBY LOGFILE THREAD 2<br \/>\nGROUP 8 SIZE 100M,<br \/>\nGROUP 9 SIZE 100M,<br \/>\nGROUP 10 SIZE 100M;[\/crayon]<br \/>\nDrop (Deleting)<br \/>\n[crayon]ALTER DISKGROUP FRA DROP FILE &#8216;+FRA\/mx\/onlinelog\/redo01b-tmp.log&#8217;;[\/crayon]<br \/>\nThe FRA is the Flash or Fast Recovery Area<\/p>\n<p>[crayon]ALTER DATABASE DROP LOGFILE GROUP 3;[\/crayon]<br \/>\n[crayon]ALTER DATABASE DROP LOGFILE MEMBER &#8216;\/oracle\/dbs\/log3c.rdo&#8217;;[\/crayon]<br \/>\n[crayon]ALTER DATABASE CLEAR LOGFILE GROUP 3;[\/crayon]<br \/>\n[crayon]ALTER SYSTEM CHECKPOINT GLOBAL;[\/crayon]<br \/>\nIf the corrupt redo log file has not been archived, use the UNARCHIVED parameter.<br \/>\n[crayon]ALTER DATABASE CLEAR UNARCHIVED LOGFILE GROUP 3;[\/crayon]<br \/>\nDropping an Alias Name for an Oracle ASM filename<br \/>\n[crayon]ALTER DISKGROUP data DROP ALIAS &#8216;+data\/orcl\/erp.dbf&#8217;;[\/crayon]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Consistency is a key requirement and factor of a database. &#8220;Shadow Copy&#8221; and &#8220;Write-Ahead Logging&#8221; (WAL) methods are used in order to ensure consistency, WAL being more popular.<\/p>\n","protected":false},"author":1,"featured_media":3409,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[383,338],"tags":[345],"class_list":["post-2600","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dba_i","category-oracle-tr","tag-oracle"],"_links":{"self":[{"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/posts\/2600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/comments?post=2600"}],"version-history":[{"count":1,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/posts\/2600\/revisions"}],"predecessor-version":[{"id":4824,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/posts\/2600\/revisions\/4824"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/media?parent=2600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/categories?post=2600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sysdba.org\/en\/wp-json\/wp\/v2\/tags?post=2600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}