|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Shutdown immediate taking more time to down database [message #619241 is a reply to message #619227] |
Sun, 20 July 2014 22:07   |
GirishSharma
Messages: 22 Registered: March 2010
|
Junior Member |
|
|
Hi Srini,
I think you want to hear that what if I says shutdown abort, takes backup of datafile, controlfile and redo logs and tries to restore these files to another machine what will happen ?
If this is what you want to know then read below simple and plain answer by Thomas Kyte :
https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1892210373157#1895657238815
I'll make it as short and simple as I can. There are two cases:
ARCHIVELOG MODE:
go ahead and backup the shutdown aborted instance. DO NOT BACKUP ONLINE REDO
logs. That is a HUGE mistake in archivelog mode.
NOARCHIVELOG MODE:
go ahead and backup the shutdown aborted instance IF AND ONLY IF you also
backup the online redo logs. You'll NEED them to perform instance recovery
if you ever restore these files.
short and sweet. Thats it. Yes, you can backup the shutdown aborted instance.
If you are still confused then you should read below link too : (Overview of Instance Recovery)
http://docs.oracle.com/cd/E11882_01/server.112/e25789/startup.htm#CNCPT1301
Read them, test them and tell us what you did and got i.e. create two test databases, one in archivelog mode and another in noarchivelog mode. Fire shutdown abort for both the databases, take backup of datafile, controlfiles and redo logs, restores them to other machine, now say startup and tell us what happened ? Don't ask me what WILL happen, do it yourself and learn what is this great IT tool i.e. Oracle db software...!!!
Regards
Girish Sharma
|
|
|
|
|