Search Results ad_files




Overview

The AD_FILES table is a core repository within the Oracle E-Business Suite Applications DBA (AD) module. It serves as the central metadata registry for physical files that are integral to the Applications technology stack, including patch drivers, seed data loaders, and other system files. Its primary role is to provide a controlled, versioned inventory of these files, enabling critical AD utilities—such as AutoPatch, AutoUpgrade, and AD Administration—to manage, track, and validate file dependencies during patching, maintenance, and upgrade cycles. By maintaining a definitive reference, it ensures the integrity and consistency of file operations across the EBS environment.

Key Information Stored

While the provided ETRM excerpt does not list specific columns, the structure and foreign key relationships indicate the table's critical data elements. The primary key, FILE_ID, is a unique identifier for each registered file record. Based on its purpose and related tables, the table typically stores metadata such as the logical file name, physical path or location, file type classification (e.g., SQL, EXE, JAR), and status indicators. It acts as a master catalog, with detailed version-specific information—like checksums, timestamps, and action histories—stored in related child tables such as AD_FILE_VERSIONS.

Common Use Cases and Queries

A primary use case is auditing and validating files referenced in patching sessions. Database administrators may query AD_FILES to identify files associated with a specific patch action or to verify the existence of files before an upgrade. For instance, to list all files registered in the repository, a basic query would be: SELECT file_id, file_name FROM applsys.ad_files ORDER BY file_name;. A more advanced scenario involves joining with AD_PATCH_RUN_BUG_ACTIONS to trace which files were processed for a particular bug fix. Troubleshooting failed patch applications often requires verifying that the files referenced in AD_CHECK_FILES or AD_SNAPSHOT_FILES are correctly registered and accessible in this master table.

Related Objects

The AD_FILES table is a central hub with several documented foreign key relationships, as per the provided metadata. The following tables reference AD_FILES.FILE_ID:

  • AD_CHECK_FILES: References files involved in integrity checks.
  • AD_FILE_VERSIONS: Stores version-specific details for each master file record.
  • AD_PATCH_COMMON_ACTIONS: Links to loader data files via LOADER_DATA_FILE_ID.
  • AD_PATCH_RUN_BUG_ACTIONS: References files used in specific patch bug actions.
  • AD_SNAPSHOT_FILES: Has two relationships: one for the FILE_ID itself and another for a CONTAINING_FILE_ID, likely for managing file archives or bundles.
These relationships underscore AD_FILES' role as the authoritative source for file metadata consumed by various patching and snapshot mechanisms.