Oracle DBMS_AQ_EXP_HISTORY_TABLES
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 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(
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;

set serveroutput on

SQL> DECLARE
  2   nblk PLS_INTEGER;
  3   retVal VARCHAR2(120);
  4  BEGIN
  5    retVal := dbms_aq_exp_history_tables.instance_info_exp('ALERT_QT', 'SYS', 0, 1, '18.3.0.1.0', nblk);
  6    dbms_output.put_line('1: ' || retVal);
  7    dbms_output.put_line('2: ' || TO_CHAR(nblk));
  8  END;
  9  /
1:
2: 1

Related Topics
Advanced Queuing Demo 1
Advanced Queuing RAC Demo
Built-in Functions
Built-in Packages
DBMS_AQ
DBMS_AQADM
DBMS_AQELM
DBMS_AQIN
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_IMP_ZECURITY
What's New In 18cR3
What's New In 19cR3

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