NOLOGGING - "before backup " the datafile needs media recovery 2005-08-20 - By Sami Seerangan
Fortunately this happened in our dev environment but still I am trying to recover the data if possible. Version :9.2.0.6 <http://9.2.0.6>
SQL> alter database open; alter database open * ERROR at line 1: ORA-01113 (See ORA-01113.ora-code.com): file 4 needs media recovery ORA-01110 (See ORA-01110.ora-code.com): data file 4: 'Z:\ORADATA\TOSHDB\CRMF01.DBF'
SQL> alter database open;
Database altered.
SQL> select count(*) from t_nologging; select count(*) from t_nologging * ERROR at line 1: ORA-01578 (See ORA-01578.ora-code.com): ORACLE data block corrupted (file # 4, block # 12692) ORA-01110 (See ORA-01110.ora-code.com): data file 4: 'Z:\ORADATA\TOSHDB\CRMF01.DBF' ORA-26040 (See ORA-26040.ora-code.com): Data block was loaded using the NOLOGGING option
I loaded data using NOLOGGING option on Friday (10/19/05) and BEFORE I DO BACKUP the datafile(CRMF01.DBF- where nologging table resides) got lost. Now I restored CRMF01.DBF from Wednesday's (10/17/05) Full database backup and recovered.
There are some LOGGING DMLs happened on the subject table between 10/17/05 and 10/19/05. How to recover those transactions?
I don't concern about Friday's work because I can load them again.
Fortunately this happened in our dev environment but still I am trying to recover the data if possible.<br> Version :<a href="http://9.2.0.6">9.2.0.6</a><br> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">SQL> alter database open;< /span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">alter database open</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">*</span><br style="font -family: courier new,monospace;"> <span style="font-family: courier new,monospace;">ERROR at line 1:</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">ORA-01113 (See ORA-01113.ora-code.com): file 4 needs media recovery</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">ORA-01110 (See ORA-01110.ora-code.com): data file 4: 'Z: \ORADATA\TOSHDB\CRMF01.DBF'</span><br style="font-family: courier new,monospace; "> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">SQL> alter database open;< /span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">Database altered.</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">SQL> select count(*) from t_nologging;</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">select count(*) from t _nologging</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">   ; *</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">ERROR at line 1:</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">ORA-01578 (See ORA-01578.ora-code.com): ORACLE data block corrupted (file # 4, block # 12692)</span><br style="font-family: courier new ,monospace;"> <span style="font-family: courier new,monospace;">ORA-01110 (See ORA-01110.ora-code.com): data file 4: 'Z: \ORADATA\TOSHDB\CRMF01.DBF'</span><br style="font-family: courier new,monospace; "> <span style="font-family: courier new,monospace;">ORA-26040 (See ORA-26040.ora-code.com): Data block was loaded using the NOLOGGING option</span><br style="font-family: courier new ,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">I loaded data using NOLOGGING option on Friday (10/19/05) and BEFORE I DO BACKUP the datafile(</span><span style="font-family: courier new,monospace;">CRMF01</span><span style="font -family: courier new,monospace;"> .DBF- where nologging table resides) got lost.</span><br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">Now I restored </span><span style="font-family: courier new,monospace;">CRMF01</span><span style="font -family: courier new,monospace;">.DBF from Wednesday's (10/17/05) Full database backup and recovered. </span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">There are some LOGGING DMLs happened on the subject table between 10/17/05 and 10/19/05.</span><br style= "font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">How to recover those transactions?</span><br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <span style="font-family: courier new,monospace;">I don't concern about Friday 's work because I can load them again.</span><br style="font-family: courier new ,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;"> <br style="font-family: courier new,monospace;">
|
|