Topic: Backup & Recovery >> Backup & Recovery
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| ramesh |
Posted: Feb 29, 2008 04:50:53 AM |
Total Post: 40
Joined: Aug, 2007
|
Hi One & All,
The database was ubruptly shutdown i dont no why, while we are opening the database it is showing the error in log files so we tried to add a new redolog file for the existing group it is added,and we are not able to switch the database because we are at mount stage,and even we use the command to clear the logfile with "alter database clear unarchived logfile group 4" even it is not clearing the group nor the database is switching because at mount stage, the database is in hang postion. The database will open if we offline & drop that redolog file but we will loose Some data. To overcome from this type of errors what Precautions should we take at this movement could there is any other process for this........
Thanks in Advance.
|
|
|
Vinod |
| Posted: Feb 29, 2008 11:29:39 PM | |
|
Total Post: 54
Joined: Oct, 2007
|
Hi Ramesh,
It looks like one of your db redolog group\member is currupted ,but without dropping the redolog member you can follow the below mentioned steps which would be optimal for this scenario .Instead of using scn ,initating a cancel based recovery can also be used if "alter database clear unarchived
logfile group 4" does't work
SQL> startup mount;
ORACLE instance started.
Total System Global Area 209715200 bytes
Fixed Size 2071640 bytes
Variable Size 167773096 bytesr
Database Buffers 33554432 bytes
Redo Buffers 6316032 bytes
Database mounted.
1)SQL> select CHECKPOINT_CHANGE# from v$database;
CHECKPOINT_CHANGE#
------------------
2025811
SQL> recover database until change 2025811;
Media recovery complete.
SQL> alter database open resetlogs;
Database altered.
FILE_NUM FILE_NAME SCN
---------- ---------------------------------------- ----------------
1 /u04/oradata/ORCL/system01.dbf 2025811
2 /u04/oradata/ORCL/undotbs01.dbf 2025811
3 /u04/oradata/ORCL/sysaux01.dbf 2025811
4 /u04/oradata/ORCL/users01.dbf 2025811
5 /u04/oradata/ORCL/users02.dbf 2025811
6 /u04/oradata/ORCL/users03.dbf 2025811
7 /u04/oradata/ORCL/users04.dbf 2025811
8 /u04/oradata/ORCL/users05.dbf 2025811
9 /u04/oradata/ORCL/system02.dbf 2025811
10 /u04/oradata/ORCL/system03.dbf 2025811
11 /u04/oradata/ORCL/undotbs02.dbf 2025811
12 /u04/oradata/ORCL/undotbs03.dbf 2025811
13 /u04/oradata/ORCL/users06.dbf 2025811
14 /u04/oradata/ORCL/orcl_001.dbf 2025811
---
Completed: ALTER DATABASE RECOVER database until change 2025811
Sat Mar 1 10:52:09 2008
alter database open resetlogs
Sat Mar 1 10:52:12 2008
RESETLOGS after complete recovery through change 2025811
Resetting resetlogs activation ID 1175792649 (0x46152c09)
Sat Mar 1 10:52:19 2008
---
Vinod
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 857 |
| Mohammed Taj | 746 |
| positive fanatic | 483 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| Gopu Gopi | 333 |
| Gitesh Trivedi | 322 |
| Vinoth Kumar | 264 |
| neeraj sharma | 258 |
| Ramesh Jois | 246 |
|
|