Search Results ad_check_files
Overview
The AD_CHECK_FILES table is a core Applications DBA (AD) repository within the Oracle E-Business Suite (EBS) APPLSYS schema. Its primary function is to serve as a checkfile registry, systematically tracking the highest version of executable SQL and program files that have ever been run on the system. This table is fundamental to the patching and upgrade architecture of EBS, enabling the AD utilities (such as AutoPatch) to determine whether a specific file version from a patch has already been applied. By maintaining this historical version control, it prevents the redundant execution of upgrade scripts, ensuring data integrity and consistency across the application tier and database during maintenance operations.
Key Information Stored
The table's structure is designed to uniquely identify and version application files. While the full column list is not detailed in the provided metadata, its defined primary and foreign keys reveal its critical data points. The CHECK_FILE_ID column serves as the primary key, uniquely identifying each record in the repository. The FILE_ID column is a foreign key linking to the AD_FILES table, which contains metadata about the file itself (e.g., filename, application). The FILE_VERSION_ID column is a foreign key linking to the AD_FILE_VERSIONS table, storing the specific version details. Collectively, a record in AD_CHECK_FILES signifies that a particular file (FILE_ID) has been executed at least up to a specific version (FILE_VERSION_ID), and this version is the highest one recorded for that file.
Common Use Cases and Queries
The primary use case is during patch application, where the AD utilities query this table to decide if a script needs to be run. DBAs may also query it for auditing and reporting on the patching history of the system. A common diagnostic query involves joining to related tables to see the status of specific files. For example, to list the highest applied version for files in a particular application:
- SELECT f.FILE_NAME, f.APP_SHORT_NAME, v.VERSION
FROM APPLSYS.AD_CHECK_FILES cf,
APPLSYS.AD_FILES f,
APPLSYS.AD_FILE_VERSIONS v
WHERE cf.FILE_ID = f.FILE_ID
AND cf.FILE_VERSION_ID = v.FILE_VERSION_ID
AND f.APP_SHORT_NAME = 'PO';
Another critical pattern is verifying if a specific file version from a new patch is already recorded, which would instruct AutoPatch to skip its execution.
Related Objects
The AD_CHECK_FILES table is centrally linked to two other key AD tables, as defined by its foreign key constraints:
- AD_FILES: Related via the foreign key column AD_CHECK_FILES.FILE_ID. This table stores master information about executable files managed by AutoPatch.
- AD_FILE_VERSIONS: Related via the foreign key column AD_CHECK_FILES.FILE_VERSION_ID. This table stores the specific version numbers and other attributes for the files referenced in AD_FILES.
The primary key constraint AD_CHECK_FILES_PK on CHECK_FILE_ID ensures the uniqueness of each version tracking record. This set of tables forms the backbone of the EBS file versioning system.
-
Table: AD_CHECK_FILES
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:AD.AD_CHECK_FILES, object_name:AD_CHECK_FILES, status:VALID, product: AD - Applications DBA , description: Checkfile-repository: Highest versions of sql/exec files ever executed , implementation_dba_data: APPLSYS.AD_CHECK_FILES ,
-
APPS.AD_FILE_UTIL dependencies on AD_CHECK_FILES
12.2.2
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_CHECK_FILES
12.2.2
-
APPS.AD_FILE_UTIL dependencies on AD_CHECK_FILES
12.1.1
-
APPS.BIS_BIA_RSG_LOG_MGMNT dependencies on AD_CHECK_FILES
12.2.2
-
APPS.BIS_BIA_RSG_LOG_MGMNT dependencies on AD_CHECK_FILES
12.1.1
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_CHECK_FILES
12.1.1
-
APPS.AD_FILE_UTIL dependencies on AD_CHECK_FILES_S
12.2.2
-
APPS.AD_FILE_UTIL dependencies on AD_CHECK_FILES_S
12.1.1
-
VIEW: APPLSYS.AD_CHECK_FILES#
12.2.2
owner:APPLSYS, object_type:VIEW, object_name:AD_CHECK_FILES#, status:VALID,
-
SYNONYM: APPS.AD_CHECK_FILES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AD_CHECK_FILES, status:VALID,
-
APPS.AD_FILE_UTIL dependencies on AD_CHECK_FILE_HISTORY
12.2.2
-
VIEW: APPLSYS.AD_CHECK_FILES#
12.2.2
-
SYNONYM: APPS.AD_CHECK_FILES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AD_CHECK_FILES, status:VALID,
-
APPS.BIS_BIA_RSG_LOG_MGMNT dependencies on AD_FILES
12.1.1
-
APPS.BIS_BIA_RSG_LOG_MGMNT dependencies on AD_FILES
12.2.2
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_PATCH_RUNS
12.1.1
-
APPS.AD_PATCH_HISTORY_PKG dependencies on AD_PATCH_RUNS
12.2.2
-
TABLE: APPLSYS.AD_CHECK_FILES
12.1.1
owner:APPLSYS, object_type:TABLE, object_name:AD_CHECK_FILES, status:VALID,
-
APPS.AD_PATCH_HISTORY_PKG dependencies on DUAL
12.2.2
-
TABLE: APPLSYS.AD_CHECK_FILES
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:AD.AD_CHECK_FILES, object_name:AD_CHECK_FILES, status:VALID,
-
Table: AD_FILE_VERSIONS
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:AD.AD_FILE_VERSIONS, object_name:AD_FILE_VERSIONS, status:VALID, product: AD - Applications DBA , description: File Versions repository: Versions of Oracle Applications files , implementation_dba_data: APPLSYS.AD_FILE_VERSIONS ,
-
APPS.AD_PATCH_HISTORY_PKG dependencies on DUAL
12.1.1
-
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_ZD_ADOP dependencies on AD_CHECK_FILE_HISTORY
12.2.2
-
APPS.AD_FILE_UTIL dependencies on AD_FILE_UTIL
12.2.2
-
Table: AD_FILES
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:AD.AD_FILES, object_name:AD_FILES, status:VALID, product: AD - Applications DBA , description: Files repository: Oracle Applications files , implementation_dba_data: APPLSYS.AD_FILES ,
-
PACKAGE BODY: APPS.AD_PATCH_HISTORY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AD_PATCH_HISTORY_PKG, status:VALID,
-
APPS.AD_FILE_UTIL dependencies on AD_FILE_UTIL
12.1.1
-
PACKAGE BODY: APPS.AD_FILE_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AD_FILE_UTIL, status:VALID,
-
APPS.AD_FILE_UTIL dependencies on AD_CHECK_FILE_TEMP
12.2.2
-
PACKAGE BODY: APPS.BIS_BIA_RSG_LOG_MGMNT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BIS_BIA_RSG_LOG_MGMNT, status:VALID,
-
PACKAGE BODY: APPS.AD_FILE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AD_FILE_UTIL, status:VALID,
-
PACKAGE BODY: APPS.BIS_BIA_RSG_LOG_MGMNT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:BIS_BIA_RSG_LOG_MGMNT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.AD_FILE_UTIL dependencies on AD_FILE_VERSIONS
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.AD_PATCH_HISTORY_PKG
12.1.1
-
APPS.AD_FILE_UTIL dependencies on AD_FILE_VERSIONS
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.AD_PATCH_HISTORY_PKG
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.AD_FILE_UTIL
12.2.2
-
PACKAGE: APPS.AD_FILE_UTIL
12.1.1
-
PACKAGE BODY: APPS.AD_PATCH_HISTORY_PKG
12.1.1
-
APPS.AD_PATCH_HISTORY_PKG SQL Statements
12.1.1
-
APPS.AD_FILE_UTIL SQL Statements
12.2.2
-
APPS.AD_PATCH_HISTORY_PKG SQL Statements
12.2.2