139.4.2 CONFIG_SERVICE Procedure

The CONFIG_SERVICE procedure enables or disables the specified service.

Syntax

DBMS_NETMON.CONFIG_SERVICE ( service_cat    IN BINARY_INTEGER,
                            service_type   IN BINARY_INTEGER,
                            enable_svc     IN boolean );

Parameters

Table 139-5 CONFIG_SERVICE Procedure Parameters

Parameter Description

service_cat

The services to enable or disable.

service_type

The events or statistics to configure for the service.

enable_svc

Boolean value indicating whether to enable or disable the specified category and type.

Usage Notes

Only the flow service offers configuration options at the PDB level. All other services are exclusively managed by CDB administrators.

Examples

The following example illustrates how to disable events for the IPIF service using the package variables:
SQL> execute dbms_netmon.config_service(dbms_netmon.ipif_service, dbms_netmon.events_type, FALSE);