Results for “schema_id”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
FND_AUDIT_SCHEMAS is a table owned by the APPLSYS schema within the Oracle E-Business Suite Application Object Library (FND) product family. Its documented description is simply "Audit schema" — it defines the audit schema registrations that the EBS auditing framework (the AuditTrail / audit schema infrastructure) uses to record which database schemas and Oracle accounts are subject to column-level auditing. Each row binds a schema identifier to a specific Oracle user (via ORACLE_ID) and an EBS application (via APPLICATION_ID), and it is the parent of the column-level audit definitions held in FND_AUDIT_COLUMNS.
From a Data Vault modeling perspective, the metadata's heuristic classification is satellite-leaning. This suggests the table behaves primarily as a descriptive satellite: it carries audit-schema attributes and context (creation/update audit stamps, state, edition name) tied to a business key composed of SCHEMA_ID, ORACLE_ID, and ZD_EDITION_NAME. Modelers may therefore treat it as a satellite attached to a hub or link representing the audited schema/Oracle-user/application relationship, rather than as a pure hub or link in its own right.
Key Information Stored
The table documents 10 columns. The most significant are:
- SCHEMA_ID — the surrogate primary key, enforced by FND_AUDIT_SCHEMAS_PK. It uniquely identifies each audit schema registration.
- ORACLE_ID — foreign key to FND_ORACLE_USERID; identifies the Oracle database account associated with the audit schema.
- APPLICATION_ID — foreign key to FND_APPLICATION; identifies the EBS application (product) to which the audit schema belongs.
- STATE — indicates the status/state of the audit schema registration.
- ZD_EDITION_NAME — the edition name used by EBS edition-based redefinition (EBR), supporting online patching in Release 12.2. It participates in the business-key unique index.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — the standard "Who" audit columns present on nearly all FND tables, recording row creation and last modification provenance.
The unique index FND_AUDIT_SCHEMAS_U1 spans (SCHEMA_ID, ORACLE_ID, ZD_EDITION_NAME), representing the documented business-key candidate combination rather than the surrogate PK alone.
Common Use Cases and Queries
Typical scenarios involve determining which schemas are audited, for which Oracle users, and within which applications, and then joining down to the column-level audit definitions.
- List audit schemas with application context:
SELECT s.schema_id, s.oracle_id, s.application_id, s.state FROM applsys.fnd_audit_schemas s WHERE s.zd_edition_name = 'SET1';
- Join to applications:
SELECT s.schema_id, a.application_short_name FROM applsys.fnd_audit_schemas s, applsys.fnd_application a WHERE s.application_id = a.application_id; - Reconcile schemas to Oracle users:
SELECT s.schema_id, o.oracle_username FROM applsys.fnd_audit_schemas s, applsys.fnd_oracle_userid o WHERE s.oracle_id = o.oracle_id; - Drill into audited columns:
SELECT s.schema_id, c.column_name FROM applsys.fnd_audit_schemas s, applsys.fnd_audit_columns c WHERE s.schema_id = c.schema_id;
Reporting use cases include auditing configuration reviews, migration validation between environments, and troubleshooting why a given schema's columns are (or are not) being audited.
Related Objects
- FND_AUDIT_COLUMNS — child table referencing FND_AUDIT_SCHEMAS via FND_AUDIT_COLUMNS.SCHEMA_ID; holds the individual column-level audit definitions.
- FND_ORACLE_USERID — parent lookup referenced by FND_AUDIT_SCHEMAS.ORACLE_ID; defines Oracle database accounts known to EBS.
- FND_APPLICATION — parent lookup referenced by FND_AUDIT_SCHEMAS.APPLICATION_ID; defines registered EBS applications/products.
- FND_AUDIT_SCHEMAS_PK / FND_AUDIT_SCHEMAS_U1 — the primary-key constraint and unique business-key index on the table.
These relationships position FND_AUDIT_SCHEMAS as the central registry linking audited schemas, Oracle users, applications, and the column audits that depend on them.
-
Audit schema
-
Audit schema
-
Table columns being audited
-
Table columns being audited
-
VIEW: SYS.DBA_XMLTYPE_COLS 12.1.1
-
VIEW: SYS.ALL_XMLTYPE_COLS 12.1.1
-
VIEW: SYS.CDB_XMLTYPE_COLS 12.2.2
-
VIEW: SYS.USER_XMLTYPE_COLS 12.1.1
-
TABLE: SYS.WRI$_REPT_REPORTS 12.1.1
-
VIEW: SYS.ALL_XMLTYPE_COLS 12.2.2
-
VIEW: SYS.CDB_XMLTYPE_COLS 12.1.1
-
TABLE: SYS.SSCR_RES$ 12.1.1
-
VIEW: SYS.DBA_XMLTYPE_COLS 12.1.1
-
VIEW: SYS.DBA_XMLTYPE_COLS 12.2.2
-
VIEW: SYS.USER_XMLTYPE_COLS 12.2.2
-
VIEW: SYS.USER_XML_SCHEMAS 12.1.1
-
VIEW: SYS.ALL_XMLTYPE_COLS 12.2.2
-
VIEW: SYS.DBA_XMLTYPE_COLS 12.2.2
-
VIEW: SYS.USER_XMLTYPE_COLS 12.1.1
-
TABLE: SYS.SSCR_RES$ 12.2.2
-
VIEW: SYS.CDB_XML_SCHEMAS 12.2.2
-
VIEW: SYS.CDB_XMLTYPE_COLS 12.2.2
-
VIEW: SYS.DBA_XML_SCHEMAS 12.1.1
-
VIEW: SYS.DBA_XML_SCHEMAS 12.2.2
-
TABLE: SYS.WRI$_REPT_REPORTS 12.2.2
-
TABLE: SYS.SSCR_CAP$ 12.1.1
-
TABLE: SYS.SSCR_CAP$ 12.2.2
-
VIEW: SYS.ALL_XMLTYPE_COLS 12.1.1
-
VIEW: SYS.CDB_XMLTYPE_COLS 12.1.1
-
VIEW: SYS.CDB_XML_SCHEMAS 12.1.1
-
VIEW: SYS.CDB_XML_SCHEMAS 12.2.2
-
VIEW: SYS.USER_XML_SCHEMAS 12.2.2
-
VIEW: SYS.ALL_XML_SCHEMAS 12.1.1
-
VIEW: SYS.CDB_XML_SCHEMAS 12.1.1
-
VIEW: SYS.USER_XMLTYPE_COLS 12.2.2
-
VIEW: SYS.ALL_XML_SCHEMAS 12.2.2
-
PACKAGE: SYS.DBMS_REPORT 12.2.2