Will be "immediately stopped" RAS redologs to archivelogs before closing the db?

Hi guys,.

I have a question that I want to erase and I hope Oracle gurus here can help me out with what I don't have freedom "immediately" to test the scenerio.

When I run the command to stop, do a journal command before closing the database? Or do we have to do it manually before shutdown? I want to make sure I'm not losing last operations when a restore of database on a different server.

-MM

Published by: UserMM on October 15, 2008 09:04

No, a STOP (whether IMMEDIATE or NORMAL) does NOT cause a switch of log of the last file Log of Redo ("CURENT"). At the start of the instance, Oracle continues with the same log file in the CURRENT file.

Allows you to encode a Shutdown trigger to force a log switch, or to write a wrapper program to run the SQL command ("ALTER SYSTEM SWITCH LOGFILE"). However, as you will need to run the ALTER SYSTEM before, all actions (restoration of transactions that an immediate stop) closing would still be in the CURRENT journal of again after the switch.

What you could do is to:
a. immediate stop
b. startup restrict
c. ALTER SYSTEM SWITCH LOGFILE
d. Normal or immediate stop

These could be "merged" within a script.

Hemant K Collette
http://hemantoracledba.blogspot.com

Published by: Hemant K Collette on October 15, 2008 23:09

Tags: Database

Similar Questions

Maybe you are looking for

  • Satellite L650D-103 - USB ports do not work

    Hello I have a Satellite L650D-103 with usb ports not working only (no mouse, no printer) of a windows update 7.I tried a system restore, but it has not solved the problem. When I check the generic system card realtek controller is disabled. What can

  • ERROR CODE 606 CAUSING FAILURE OF THE UPDATES OF WINDOWS 'IMPORTANT' 10

    Help, please!  I try to install the last "10 important updates" for Windows, which I was informed automatically.  I tried 4 times in 2 days now and each of them settled due to the 'error Code 606'.  When I click on "help", he pulls up "WindowsUpdate_

  • Try to get the laptop connected to my network?

    I have a laptop Sony Viao, who still works on windows XP and it will not connect to my wireless router, my vista desktop works perfectly well. The error message I get when I get my reading key of the network, "the network password needs to be 40bits

  • Error code: Ox80070424 (cannot install updates)

    How can I install the download for windows update without getting an error 0 X 80070424

  • import photos from iphone5 laptop hp laptop pavilion dv6

    I downloaded icloud on my computer hp pavilion dv6 laptop and he says: I can import photos and videos of all currencies. I get about 10 photos recently taken before downloading, but that's all. I have enough available storage 10 GB - I just bought to