Search Results ad_patch_runs
Overview
The AD_PATCH_RUNS table is a core repository for high-level patching history within Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2. Owned by the APPLSYS schema and part of the Applications DBA (AD) product module, it serves as the primary audit log for Autopatch operations. As its description states, it records one row for each patch driver file applied to the system, providing a centralized, chronological record of all patching activities. This table is fundamental for tracking the evolution of an EBS instance, enabling administrators to verify patch application, understand the system's patching sequence, and troubleshoot deployment issues.
Key Information Stored
The table's structure is designed to capture essential metadata about each patch run. Its primary key, PATCH_RUN_ID, uniquely identifies each driver application. Critical foreign key relationships provide context: PATCH_DRIVER_ID links to AD_PATCH_DRIVERS for driver-specific details, while APPL_TOP_ID references AD_APPL_TOPS, identifying the APPL_TOP where the patch was applied. The RELEASE_ID and UPDATED_TO_RELEASE_ID columns, both referencing AD_RELEASES, document the system's release state before and after the patch run, which is vital for tracking release updates. While specific column names beyond the keys are not detailed in the provided metadata, typical data stored includes timestamps for the start and end of the run, the execution status, the name of the applied driver, and the invoking user.
Common Use Cases and Queries
The primary use case is generating patching history reports for audit and compliance. Database administrators frequently query this table to list all applied patches, determine the last patch applied, or investigate failed patching sessions. A common query retrieves a chronological summary of patch runs:
- SELECT patch_run_id, driver_file_name, start_time, end_time, status FROM applsys.ad_patch_runs ORDER BY start_time DESC;
Another critical scenario involves correlating a patch run with the specific bugs it fixed by joining with the AD_PATCH_RUN_BUGS table. This is essential for validating that a particular bug fix or mandatory patch has been successfully implemented in the environment. Troubleshooting often involves examining runs with a failed or warning status to identify problematic patching cycles.
Related Objects
AD_PATCH_RUNS is a central node in the patching data model. It has direct foreign key relationships with several key tables: AD_PATCH_DRIVERS (details of the driver file), AD_APPL_TOPS (the target application tier), and AD_RELEASES (release identifiers). Most importantly, it has a one-to-many relationship with the AD_PATCH_RUN_BUGS table, which lists every bug fixed in a given patch run. This relationship is crucial for detailed patch reporting. The table is also referenced by various internal Oracle Applications Manager (OAM) views and patching utilities that provide a user-friendly interface to the underlying patching history data stored in AD_PATCH_RUNS.
-
Table: AD_PATCH_RUNS
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:AD.AD_PATCH_RUNS, object_name:AD_PATCH_RUNS, status:VALID, product: AD - Applications DBA , description: High level Autopatch history, one row per driver applied , implementation_dba_data: APPLSYS.AD_PATCH_RUNS ,
-
APPS.AD_PATCH dependencies on AD_PATCH_RUNS
12.1.1
-
APPS.FND_OAM_COLLECTION dependencies on AD_PATCH_RUNS
12.1.1
-
APPS.AD_ZD_ADOP dependencies on AD_PATCH_RUNS
12.2.2
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_RUNS
12.2.2
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_PATCH_RUNS
12.2.2
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_RUNS
12.1.1
-
APPS.AD_PATCH_HIST_MIGR_PKG dependencies on AD_PATCH_RUNS
12.1.1
-
APPS.AD_PATCH dependencies on AD_PATCH_RUNS
12.2.2
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_PATCH_RUNS
12.1.1
-
APPS.FND_OAM_COLLECTION dependencies on AD_PATCH_RUNS
12.2.2
-
APPS.AD_PATCH_HIST_MIGR_PKG dependencies on AD_PATCH_RUNS
12.2.2
-
APPS.AD_PATCH dependencies on AD_PATCH
12.1.1
-
APPS.AD_PATCH_HIST_REPS dependencies on AD_PATCH_DRIVERS
12.1.1
-
APPS.AD_PATCH dependencies on AD_PATCH
12.2.2
-
Table: AD_RELEASES
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:AD.AD_RELEASES, object_name:AD_RELEASES, status:VALID, product: AD - Applications DBA , description: Oracle Applications releases , implementation_dba_data: APPLSYS.AD_RELEASES ,
-
APPS.AD_PATCH_HIST_REPS dependencies on AD_PATCH_DRIVERS
12.2.2
-
APPS.FND_OAM_COLLECTION dependencies on AD_PATCH_DRIVERS
12.2.2
-
APPS.FND_OAM_COLLECTION dependencies on AD_PATCH_DRIVERS
12.1.1
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_RUN_BUG_ACTIONS
12.2.2
-
APPS.AD_STATS_UTIL_PKG dependencies on FND_STATS
12.1.1
-
APPS.AD_STATS_UTIL_PKG dependencies on FND_STATS
12.2.2
-
SYNONYM: APPS.AD_PATCH_RUNS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AD_PATCH_RUNS, status:VALID,
-
VIEW: APPLSYS.AD_PATCH_RUNS#
12.2.2
owner:APPLSYS, object_type:VIEW, object_name:AD_PATCH_RUNS#, status:VALID,
-
SYNONYM: APPS.AD_PATCH_RUNS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AD_PATCH_RUNS, status:VALID,
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_RUN_BUGS
12.1.1
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_RUN_BUG_ACTIONS
12.1.1
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_RUN_BUGS
12.2.2
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_COMMON_ACTIONS
12.2.2
-
VIEW: APPLSYS.AD_PATCH_RUNS#
12.2.2
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_COMMON_ACTIONS
12.1.1
-
APPS.AD_PATCH SQL Statements
12.1.1
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_PATCH_RUN_BUG_ACTIONS
12.1.1
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_FILE_VERSIONS
12.1.1
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_FILE_VERSIONS
12.2.2
-
APPS.AD_PATCH_HIST_REPS dependencies on AD_APPLIED_PATCHES
12.1.1
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_PATCH_RUN_BUG_ACTIONS
12.2.2
-
APPS.AD_PATCH SQL Statements
12.2.2
-
APPS.AD_PATCH_HIST_REPS dependencies on AD_APPLIED_PATCHES
12.2.2
-
APPS.AD_PATCH_HIST_MIGR_PKG SQL Statements
12.1.1
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_CHECK_FILES
12.2.2
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_DRIVERS
12.1.1
-
APPS.AD_PATCH_HIST_MIGR_PKG SQL Statements
12.2.2
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_CHECK_FILES
12.1.1
-
Table: AD_APPL_TOPS
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:AD.AD_APPL_TOPS, object_name:AD_APPL_TOPS, status:VALID, product: AD - Applications DBA , description: APPL_TOP names , implementation_dba_data: APPLSYS.AD_APPL_TOPS ,
-
APPS.AD_PATCH_HISTORY_PKG dependencies on DUAL
12.2.2
-
PACKAGE BODY: APPS.AD_PATCH_HISTORY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AD_PATCH_HISTORY_PKG, status:VALID,
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_HIST_SNAPS_TEMP
12.1.1
-
APPS.AD_FILE_SYS_SNAPSHOTS_PKG dependencies on AD_PATCH_HIST_SNAPS_TEMP
12.2.2
-
Table: AD_PATCH_DRIVERS
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:AD.AD_PATCH_DRIVERS, object_name:AD_PATCH_DRIVERS, status:VALID, product: AD - Applications DBA , description: Patch drivers in a patch , implementation_dba_data: APPLSYS.AD_PATCH_DRIVERS ,