Oracle DBMS_GSM_XDB
Version 26ai

General Information
Library Note Morgan's Library Page Header
The best Oracle News for FY2026

Oracle Database 26ai is now availble. If you haven't you downloaded already: Why?
Purpose Executable by GSM admins in order for GDSCTL to set the XDB port during 'create shardcatalog'.

Used by CREATE SHARDCATALOG -agent_port.
AUTHID CURRENT_USER
Dependencies
DBMS_GSM_CURUSER DUAL  
Documented No
Exceptions
Error Code Reason
ORA-06598 Insufficient INHERIT PRIVILEGES privilege
First Available 12.2
Security Model Owned by GSMADMIN_INTERNAL with EXECUTE granted to the GSMADMIN_ROLE role.
Source {ORACLE_HOME}/rdbms/admin/dbmsgwmcl.sql
 
SETXDBPORT
Set the XDB port for the Scheduler Agent using DBMS_XDB_CONFIG.SETHTTPPORT()

If NULL the default port is 8080 which is why that value is used in this demo
dbms_gsm_xdb.setXDBport(agent_port IN NUMBER DEFAULT NULL);
SQL> / as sysdba
Connected.

sho user
USER is "SYS"

sho con_id

CON_ID
------
     1


exec gsmadmin_internal.dbms_gsm_xdb.setXDBport(8080);
     *
ORA-06598: insufficient INHERIT PRIVILEGES privilege


GRANT gsmadmin_role TO system;
Grant succeeded.

conn system/N0Way!
Connected.

exec gsmadmin_internal.dbms_gsm_xdb.setXDBport(8080);

PL/SQL procedure successfully completed.

Related Topics
Built-in Functions
Built-in Packages
DBMS_EPG
DBMS_GSM_ALERTS
DBMS_GSM_CLOUDADMIN
DBMS_GSM_DBADMIN
DBMS_GSM_COMMON
DBMS_GSM_FIX
DBMS_GSM_FIXED
DBMS_GSM_NOPRIV
DBMS_GSM_POOLADMIN
DBMS_GSM_UTILITY
DBMS_XDB
DBMS_XDB_ADMIN
DBMS_XDB_CONFIG
DBMS_XDBREPOS
DBMS_XEVENT
EXCHANGE
What's New In 21c
What's New In 26ai

Morgan's Library Page Footer
This site is maintained by Daniel Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2026 Daniel A. Morgan All Rights Reserved