My Oracle Support Banner

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 9.2.0.1 to 10.2.0.4 [Release 9.2 to 10.2]
Oracle Net Services - Version 9.2.0.1 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: 9.2.0.1 to 10.2.0.4
This problem can occur on any platform.

Symptoms

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?

Cause

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
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.