Is Shutdown Abort Really Dangerous?

Categories: Oracle Database · Career and news

Translated from Portuguese. Read the original

Hi everyone, in this article my friend Gabriel Comenale and I deal with a subject that is quite controversial for some DBAs. We demystify some concepts and prove why you can use shutdown abort without fear.

We traced some Oracle processes on the Linux operating system and also in the database to show their behavior during the different shutdown scenarios, which is how we were able to prove our case for using shutdown abort.

We believe it’s a topic that has to be addressed, and we have already received a lot of positive feedback about this publication on the Oracle Technology Network.

abort

I hope my students and former students can also learn from this article. Although we touch a little on the internals of Oracle, it’s not a complex subject, but it’s necessary to understand the architecture of Oracle Database, especially the relationship between processes, memory structures and files.

http://www.oracle.com/technetwork/pt/articles/database-performance/comando-shutdown-abort-3335013-ptb.html

“… read to the end to understand our arguments.
Oracle has two types of shutdown: consistent and inconsistent. In a consistent shutdown the database files are synchronized by the CKPT (checkpoint) process together with LGWR (logwriter) and DBWn (dbwriter) and then the instance is shut down. In an inconsistent shutdown CKPT is not triggered, so the files are not synchronized and stay in the state they are in until the startup happens, where they are synchronized. This synchronization process at startup is called instance recovery or crash recovery and happens automatically…”

To help you understand a bit of how some Oracle background processes work, I’m also leaving here an article written by Eduardo Legatti, which explains this subject very well: Demystifying some Oracle concepts.

Another article of mine should come out on OTN soon; in the meantime let’s discuss this subject. Questions or opinions, please comment here on the blog.

Thank you, Gabriel, for the partnership, and I hope to write more articles with you.

A big hug to everyone and see you soon.

Franky

Comments