Oracle DBMS_AQ_EXP_HISTORY_TABLES
Version 21c

General Information
Library Note Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling complimentary technical Workshops on Database Security for the first 30 Oracle Database customers located anywhere in North America, EMEA, LATAM, or APAC that send an email to asra_us@oracle.com. Request a Workshop for your organization today.
Purpose Export AQ History Tables
AUTHID CURRENT_USER
Dependencies
DBMS_AQ_EXP_ZECURITY DBMS_AQ_SYS_EXP_ACTIONS  
Documented No
First Available Traced back so far to 9i
Security Model Owned by SYS with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/rdbms/admin/prvtaqxi.plb
 
INSTANCE_INFO_EXP
Undocumented dbms_aq_exp_history_tables.instance_info_exp(
name      IN  VARCHAR2,
schema    IN  VARCHAR2,
prepost   IN  BINARY_INTEGER,
isdba     IN  BINARY_INTEGER,
version   IN  VARCHAR2,
new_block OUT BINARY_INTEGER);
RETURN VARCHAR2;
SELECT owner, queue_table, type
FROM dba_queue_tables
ORDER BY 1,2;

OWNER              QUEUE_TABLE              TYPE
------------------ ------------------------ -------
GSMADMIN_INTERNAL  CHANGE_LOG_QUEUE_TABLE   OBJECT
SYS                ALERT_QT                 OBJECT
SYS                AQ$_MEM_MC               RAW
SYS                AQ_EVENT_TABLE           OBJECT
SYS                AQ_PROP_TABLE            OBJECT
SYS                CQN_EVENT_TABLE          OBJECT
SYS                ORA$PREPLUGIN_BACKUP_QTB OBJECT
SYS                PDB_MON_EVENT_QTABLE$    OBJECT
SYS                SCHEDULER$_EVENT_QTAB    OBJECT
SYS                SCHEDULER$_REMDB_JOBQTAB OBJECT
SYS                SCHEDULER_FILEWATCHER_QT OBJECT
SYS                SYS$SERVICE_METRICS_TAB  OBJECT
WMSYS              WM$EVENT_QUEUE_TABLE     OBJECT


set serveroutput on

DECLARE
 nblk PLS_INTEGER;
 retVal VARCHAR2(120);
BEGIN
  retVal := dbms_aq_exp_history_tables.instance_info_exp('ALERT_QT', 'SYS', 0, 1, '21.1.0.0.0', nblk);
  dbms_output.put_line('1: ' || retVal);
    dbms_output.put_line('2: ' || TO_CHAR(nblk));
END;
/
1:
2: 1

Related Topics
Advanced Queuing Demo 1
Advanced Queuing RAC Demo
Built-in Functions
Built-in Packages
DBMS_AQ
DBMS_AQ_EXP_CMT_TIME_TABLES
DBMS_AQ_EXP_DEQUEUELOG_TABLES
DBMS_AQ_EXP_INDEX_TABLES
DBMS_AQ_EXP_SIGNATURE_TABLES
DBMS_AQ_EXP_SUBSCRIBER_TABLES
DBMS_AQ_EXP_TIMEMGR_TABLES
DBMS_AQ_SYS_EXP_ACTIONS
DBMS_AQ_SYS_EXP_INTERNAL
What's New In 19c
What's New In 20c-21c

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-2022 Daniel A. Morgan All Rights Reserved
  DBSecWorx