DBMS_SERVICE.STOP_SERVICE does not stop Services when Database opened as Read Only or is a Standby Database
(Doc ID 838438.1)
Last updated on JUNE 30, 2021
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 10.2.0.4 [Release 9.2 to 10.2]
Oracle Net Services - Version 184.108.40.206 to 10.2.0.4 [Release 9.2 to 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
Oracle Net Services - Version: 220.127.116.11 to 10.2.0.4
This problem can occur on any platform.
When you put the STANDBY database in READ ONLY mode and execute the following package:
On the STANDBY DATABASE:
1- Connect to the STANDBY and then run the following in SQL Plus:
So why do these two packages (DBMS_SERVICE.STOP_SERVICE and DBMS_SERVICE.DISCONNECT_SESSION) not stop the services on a Standby or Read Only Database?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document