Re: Oracle shutdown on Wintel

From: MJ Mody <>
Date: Tue, 16 Feb 2016 13:57:35 -0600
Message-Id: <>

Oracle on Wintel has Administrative Assistant for Windows which allows one to configure startup/shutdown options.

We have a custom shutdown script that is implemented by way of GPO that shows in gpedit.msc > computer configuration > windows settings > scripts > shutdown

The content of the script is a simple

   net stop oracleserviceORCL > serviceshut.log

All of this is contingent on the admin asst for win to be configured to perform the preferred shutdown option.


> On Feb 16, 2016, at 1:25 PM, Mark W. Farnham <> wrote:
> I have always considered it a useful practice to stop Oracle before pulling the rug out from under it.
> Not that you really need to, because as was noted earlier in the thread crash recovery *should* work just fine.
> However, where a standard prelude to OS shutdown includes an Oracle shutdown (possibly immediate or abort); startup restrict; shutdown (normal), then the restart after reboot is as fast as it can been, and if an all storage snapshot or backup is taken before the OS restart you’ve got something to which no recovery need be applied.
> So plus one to Martin’s practice. (You do probably need a bailout in case there is a long running transaction or rollback in progress that eat up too much of the planned patching window.)
> mwf
> From: [] On Behalf Of Herbener, Martin - Division of Engineering and Management
> Sent: Tuesday, February 16, 2016 12:14 PM
> To:
> Subject: Re: Oracle shutdown on Wintel
> Daniel Hubler,
> The behavior you describe does indeed seem to be standard for Oracle on Windows (it’s described further in 309230.1). As part of migrating to 12c we did some mitigation by implementing a Windows shutdown script that shuts down the Oracle Windows service before the OS actually quits. This was not my idea – there are other discussions of this out there in the www – but I didn’t make a note of original writer.
> I can share the specific script/configuration we used if you want it.
> Martin
> Martin Herbener
> Kentucky Department of Education
> 502 564 2020
> KDE on Facebook:
> KDE on Twitter:

Received on Tue Feb 16 2016 - 20:57:35 CET

Original text of this message