Results for “g_sess_max_commit_wait_time”

1 result




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

FND_ADG_MANAGE is an internal Oracle E-Business Suite package body that supports the Active Data Guard (ADG) functionality used to coordinate an EBS application tier with a physical standby database. Its role is to manage session state and synchronize commit activity between a primary EBS database and a standby configuration, ensuring that RPC (remote procedure call) execution and related validation routines behave correctly when a session is designated as slave to a standby database.

The package maintains several global session-level variables, including G_SESSION_IS_SLAVE_TO_STANDBY, G_SLAVE_SESSION_ID, G_SESS_MAX_COMMIT_WAIT_TIME, and related debug flags. These variables are initialized conservatively (typically to false or null) and are mutated by the package's validation and coordination procedures. The constant C_COMMIT_WAIT_SLEEP_TIME (set to 1) governs the polling interval used when waiting for commit counts to reach a target. The header comment ($Header: AFDGMGRB.pls 120.0 ...) confirms this is a shipped, supported component of the ADG management framework rather than a customer extension.

Key Procedures and Functions

The package exposes fourteen documented procedures and functions. The table below summarizes their roles based on the ETRM metadata and the visible source excerpt.

Tables Accessed

The package references these objects through APPS synonyms: FND_ADG_PACKAGE (metadata about RPC packages), FND_ADG_COMMIT_WAIT (the commit-wait coordination table used by GET_COMMIT_WAIT_SEQ, INCREMENT_COMMIT_COUNT, and WAIT_FOR_COMMIT_COUNT), DBA_OBJECTS and DBA_SYNONYMS (for VALIDATE_RPC_SYNONYM), DBMS_LOCK (for serialized coordination), and the dynamic performance views V$DATABASE, V$MYSTAT, and V$SESSION (for database/session identification).

Usage Notes

FND_ADG_MANAGE is invoked implicitly by the EBS ADG machinery rather than by end users. It is called from other EBS packages (the metadata reports it is referenced by two other packages) and at session initialization when the ADG standby context must be established. Developers and DBAs encountering wait_for_commit_count in a trace or error log should understand that a session is intentionally polling FND_ADG_COMMIT_WAIT for a commit completion signal; persistent blocking generally indicates that the coordinating session did not increment the commit count, which may point to a failed or stalled RPC on the standby side. Because the package manipulates session-global state and relies on V$ views and DBMS_LOCK, it should be exercised only within the supported ADG configuration and not invoked directly from custom forms or concurrent programs.