Database shutdown incomplete in windows platform during restart
When we restart the database from services.msc then we found the recovery during database startup.
It is incomplete shutdown down at time of restart or shutdown from services.msc.
Error
In alert log, we always find crash recovery:
Beginning crash recovery of 1 threads >>>>>>>>>> we find crash recovery happening.
Cause
On Checking from services.msc, the timeout occurred during shutdown process its defined in registry of windows.
Solution
1. Open the REGEDIT in Windows platform.
2. Go to the following location:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDB18Home1
3. You can edit the parameter ORA_SID_SHUTDOWN_TIMEOUT and increase the time of that parameter. Default is 90 seconds.
As shown below:
4. After change the parameter, restart the Oracle Service for effect.