Oracle DBMS_GOLDENGATE_AUTH
Version 18.3.0.1

General Information
Library Note Morgan's Library Page Header
For how many years have you been working with physical servers that are starving your database of the memory necessary to deploy important new performance features such as the Result Cache, Memoptimize Pool, In-Memory Aggregation, In-Memory Column Store, and Full Database Caching? Too long? Contact me to learn how to improve all queries ... not just some queries.
Purpose Used to grant the privileges needed by a user to be an administrator for OGG Integration with XStreamOut
AUTHID CURRENT_USER
Dependencies
ALL_USERS DBMS_LOGREP_UTIL DBMS_XSTREAM_ADM_INTERNAL
DBMS_APPLY_ADM DBMS_STANDARD DBMS_XSTREAM_AUTH_IVK
DBMS_ASSERT DBMS_UTILITY  
Documented Yes
First Available 11.2.0.2
Security Model Owned by SYS with no privileges granted
Source $ORACLE_HOME/rdbms/admin/dbmsxstr.sql
Subprograms
 
GRANT_ADMIN_PRIVILEGE
Grants the privileges needed by a user to be an administrator for OGG integration with XStreamOut

Privilege Types can be CAPTURE, APPLY, or * (meaning both)
dbms_goldengate_auth.grant_admin_privilege(
grantee                   IN VARCHAR2,
privilege_type            IN VARCHAR2 DEFAULT '*',
grant_select_privileges   IN BOOLEAN  DEFAULT FALSE,
do_grants                 IN BOOLEAN DEFAULT TRUE,
file_name                 IN VARCHAR2 DEFAULT NULL,
directory_name            IN VARCHAR2 DEFAULT NULL,
grant_optional_privileges IN VARCHAR2 DEFAULT NULL,
container                 IN VARCHAR2 DEFAULT 'CURRENT');
exec dbms_goldengate_auth.grant_admin_privilege('ggadmin', 'CAPTURE', TRUE);
 
REVOKE_ADMIN_PRIVILEGE
Revokes the privileges needed by a user to be an administrator for OGG integration with XStreamOut

Privilege Types can be CAPTURE, APPLY, or * (meaning both)
dbms_goldengate_auth.revoke_admin_privilege(
grantee                    IN VARCHAR2,
privilege_type             IN VARCHAR2 DEFAULT '*',
revoke_select_privileges   IN BOOLEAN  DEFAULT FALSE,
do_revokes                 IN BOOLEAN DEFAULT TRUE,
file_name                  IN VARCHAR2 DEFAULT NULL,
directory_name             IN VARCHAR2 DEFAULT NULL,
revoke_optional_privileges IN VARCHAR2 DEFAULT NULL,
container                  IN VARCHAR2 DEFAULT 'CURRENT');
exec dbms_goldengate_auth.revoke_admin_privilege('ggadmin', 'APPLY', TRUE);

Related Topics
Built-in Functions
Built-in Packages
DBMS_GOLDENGATE_ADM
DBMS_GOLDENGATE_ADM_INTERNAL
DBMS_GOLDENGATE_EXP
DBMS_GOLDENGATE_IMP
DBMS_XSTREAM_ADM
DBMS_XSTREAM_GG
DBMS_XSTREAM_GG_INTERNAL
Dynamic Performance Views
What's New In 12cR2
What's New In 18cR3

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