Oracle DBMS_ODCI
Version 19.2.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 This is a generic package that can be used by all the extensibility projects
AUTHID CURRENT_USER
Dependencies
DBMS_ASSERT IND$ ORA_FI_T
DBMS_METADATA OBJ$ PLITBLM
DBMS_SQL ODCIINDEXINFO SECOBJ$
DBMS_STANDARD ODCISECOBJ SEM_INDEXTYPE_IM
DBMS_SYS_SQL ODCISECOBJTABLE USER$
DUAL ODCI_EXTOPT_LIB  
Documented Yes
First Available 9.0.1
Security Model Owned by SYS with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/rdbms/admin/catodci.sql
Subprograms
 
CLEANUP
Undocumented dbms_odci.estimate_cleanup(
ia          IN SYS.ODCIIndexInfo,
gtn_context IN NUMBER);
TBD
 
ESTIMATE_CPU_UNITS
Estimate instructions per second used in the specified time cycle in milliseconds dbms_odci.estimate_cpu_units(elapsed_time IN NUMBER) RETURN NUMBER;
SELECT dbms_odci.estimate_cpu_units(1) * 1000
FROM dual;
 
GETMETADATA
Undocumented dbms_odci.getmetadata(
ia          IN  SYS.ODCIIndexInfo,
exp_version IN  VARCHAR2,
idx_version IN  NUMBER DEFAULT 1,
stmt_string OUT VARCHAR2,
new_block   OUT NUMBER);
TBD
 
GETTABLENAMES
Undocumented dbms_odci.gettablenames(
ia          IN  SYS.ODCIIndexInfo,
read_only   IN  NUMBER,
exp_version IN  VARCHAR2,
idx_version IN  NUMBER,
stmt_string OUT VARCHAR2,
gtn_context OUT NUMBER,
status      OUT NUMBER);
TBD
 
RESTOREREFCURSOR
Undocumented PROCEDURE RestoreRefCursor(rc OUT SYS_REFCURSOR, curnum IN NUMBER)
IS LANGUAGE C
LIBRARY odci_extopt_lib
NAME "RestoreRefCursor"
WITH CONTEXT
PARAMETERS (CONTEXT, rc, curnum OCINumber, curnum INDICATOR);
TBD
 
SAVEREFCURSOR
Undocumented dbms_odci.SaveRefCursor(rc IN SYS_REFCURSOR, curnum OUT NUMBER)
IS LANGUAGE C
LIBRARY odci_extopt_lib
NAME "SaveRefCursor"
WITH CONTEXT
PARAMETERS (CONTEXT, rc, curnum OCINumber, curnum INDICATOR);
TBD
 
UPGRADE_SECOBJ
Used to maintain secobj$ during upgrade dbms_odci.upgrade_secobj(objlist IN ODCISecObjTable);
TBD

Related Topics
Built-in Functions
Built-in Packages
Extensible Optimizer
What's New In 18cR3
What's New In 19cR2

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