Oracle DBMS_TG_DBG
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 Transaction Guard application continuity debugging. Enables an application to determine the outcome of a transaction.
AUTHID DEFINER
Constants
Name Data Type Value
TG_FAILPOINT_PRE_COMMIT NUMBER(2) 1
TG_FAILPOINT_POST_COMMIT NUMBER(2) 2
TG_FAILPOINT_FORCE_OUTCOME NUMBER(2) 4
Dependencies
DBMS_TG_DBG_LIB    
Documented No
First Available 12.2.0.1
Security Model Owned by SYS with no privileges granted.
Source {ORACLE_HOME}/rdbms/admin/dbmsappcont.sql
Subprograms
 
CLEAR_FAILPOINT
Clear all failpoints dbms_tg_dbg.clear_failpoint;
exec dbms_tg_dbg.clear_failpoint;
 
SET_FAILPOINT
Set a Transaction Guard failpoint dbms_tg_dbg.set_failpoint(
failpoint IN NUMBER,
sid       IN NUMBER,
serial    IN NUMBER);
exec dbms_tg_dbg.set_failpoint(dbms_tg_dbg.tg_failpoint_post_commit);
 
SET_SESSION_DRAINABLE
Sets the current session as drainable dbms_tg_dbg.set_session_drainable;
exec dbms_tg_dbg.set_session_drainable;

Related Topics
Built-in Functions
Built-in Packages
RAC
Transaction Guard
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