on 05-11-2007 11:03 AM
Hi,
Is it possible to resetlogs , If the database is inconsistent?
Alter database open resetlogs..
Regards
Ben
no, you need to recover your database first.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ben,
It depends if you're using the archivelog mode in our "source" database.
Oracle verify if the recover process is needed every time you perform the "open database" according to the SCN. If the required data are in online redologs, the changes are applyed, without user intervention.
After you open the database using resetlogs you not be able to made a recover in this database anymore.
I suggest you get the manuals to system copies that are available in SAP Service Marketplace:
- SAP System Landscape Copy for SAP NetWeaver and mySAP Solutions
- Homogeneous and Heterogeneous System Copy for SAP® Systems Based on SAP Web Application Server
If you need more information, let me know.
Regards,
Itamar Marioto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ben,
Let me see if I understant your doubt:
You are copying one database to create a new system. But you not shure what option (resetlogs or noresetlogs) you should use when you try to open the database. Is it correct?
I suggest you to use the resetlogs option, because you are creating a new system.
Execute the create controlfile statement and if you receive the information that you need media recover, execute the statement " recover database using backup controlfile; ", and provide the path where the archived files are stored.
Observe that by default the suggest names are defined in oracle profile, maybe you need to rename de archivelog files to the new database definition.
I hope that I can help you.
If you need additional clarification, please let me know.
Regards,
Itamar Marioto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what do u mean by inconsistent, can you elaborate more or send some log/errors etc.
Regards
Manohar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi All,
Thanks for your reply.
We are using the following procedure for system copy (offline backup )
After restore
1.)
create controlfile reuse set database HD1 NORESETLOGS ARCHIVELOG ...
.........
Recover database using backup controlfile
Alter database open resetlogs
-
2.)
create controlfile reuse set database HD1 RESETLOGS ARCHIVELOG ...
.........
Alter database open resetlogs
If I use the procedure 2 ....
Does databse will open with correpted data file?
...
Regards
Ben
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.