Results for “ad_snapshot_files”

50+ results




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

Overview

AD_SNAPSHOT_FILES is a core Applications DBA (AD) repository table owned by the APPLSYS schema in Oracle E-Business Suite releases 12.1.1 and 12.2.2. It records the file-level detail captured within an Applications snapshot. In EBS, a snapshot is a point-in-time inventory of the application tier — the consolidated set of files that make up an APPL_TOP and its associated product directories — and AD_SNAPSHOT_FILES is the table that resolves each snapshot down to the individual files it contained, together with integrity, versioning, and topology attributes for those files.

The table therefore sits at the intersection of two modeling concerns: it enumerates the membership and physical characteristics of files in a snapshot, and it links snapshots to the central file registry and file version history. Under the heuristic Data Vault classification supplied in the metadata, AD_SNAPSHOT_FILES is best treated as a link table — it associates a snapshot with files (and their versions, containment parents, and APPL_TOP placements) rather than serving as a pure reference hub or a descriptive satellite. This is consistent with its dependency structure: nearly every non-key column either describes the file's state at snapshot time or points to another entity.

Key Information Stored

The table contains 23 documented columns. The most consequential are:

The unique index AD_SNAPSHOT_FILES_U2 on (FILE_ID, SNAPSHOT_ID, CONTAINING_FILE_ID) is the strongest business-key candidate: it guarantees that a given file appears only once per snapshot under a given container. Standard audit columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) are also present.

Common Use Cases and Queries

Administrators and DBAs use this table to compare snapshots, audit patch impact, and detect file inconsistencies. A typical query reconstructs the file listing of a snapshot:

  • List files in a snapshot: SELECT sf.SNAPSHOT_FILE_ID, f.FILE_NAME, sf.FILE_SIZE, sf.CHECKSUM FROM APPLSYS.AD_SNAPSHOT_FILES sf JOIN APPLSYS.AD_FILES f ON f.FILE_ID = sf.FILE_ID WHERE sf.SNAPSHOT_ID = :snapshot_id;
  • Identify inconsistent files: SELECT * FROM APPLSYS.AD_SNAPSHOT_FILES WHERE INCONSISTENT_FLAG = 'Y';
  • Compare two snapshots on size/checksum to find changed files: join two filtered instances of the table on FILE_ID and APPL_TOP_ID where FILE_SIZE or CHECKSUM differ.

Because the table carries server-type flags, it also supports tier-oriented reporting — determining which files belong to admin, forms, node, or web tiers — which is useful during cloning and multi-node deployments.

Related Objects

  • AD_SNAPSHOTS — parent snapshot definition, joined on SNAPSHOT_ID.
  • AD_FILES — the file registry, joined on FILE_ID and again on CONTAINING_FILE_ID.
  • AD_FILE_VERSIONS — version history, joined on FILE_VERSION_ID.
  • AD_APPL_TOPS — application top definitions, joined on APPL_TOP_ID.
  • AD_SNAPSHOT_FILES_TEMP — a staging table whose SNAPSHOT_FILE_ID references this table's primary key, used during snapshot generation and reconciliation.
  • AD_SNAPSHOT_FILES_U1 / AD_SNAPSHOT_FILES_U2 — unique indexes enforcing identity and business-key uniqueness.