Search Results tags
The MSD.MSD_AUDIT_SQL_STATEMENTS
table in Oracle E-Business Suite (EBS) 12.1.1 or 12.2.2 is a critical repository for auditing SQL statements executed within the Manufacturing Scheduling/Demphis (MSD) module. This table captures detailed information about SQL operations, enabling administrators to monitor, analyze, and troubleshoot database activities for compliance, performance optimization, and security purposes. Below is a comprehensive breakdown of its structure, purpose, and relevance in Oracle EBS environments.
1. Purpose and Context
TheMSD_AUDIT_SQL_STATEMENTS
table is part of Oracle's Manufacturing Scheduling module (MSD), which handles production planning, scheduling, and supply chain operations. This audit table logs SQL statements executed by the application, providing visibility into database interactions. Key use cases include:
- Compliance Tracking: Ensures adherence to regulatory requirements by recording SQL operations.
- Performance Analysis: Identifies inefficient queries impacting system performance.
- Security Auditing: Detects unauthorized or suspicious SQL activities.
- Troubleshooting: Helps diagnose issues by tracing SQL execution paths.
2. Table Structure and Key Columns
The table typically includes the following columns (exact schema may vary by EBS version):- AUDIT_ID: Primary key, uniquely identifying each audit record.
- SQL_STATEMENT: The full text of the executed SQL query.
- EXECUTION_TIMESTAMP: Date and time when the SQL was executed.
- USER_NAME: Oracle EBS username initiating the query.
- MODULE_NAME: Application module (e.g., MSD) generating the SQL.
- SESSION_ID: Database session identifier.
- EXECUTION_STATUS: Success/failure status of the query.
- EXECUTION_TIME: Duration of query execution (for performance analysis).
- BIND_VARIABLES: Values of bind variables used (if applicable).
3. Integration with Oracle EBS
In EBS 12.1.1 and 12.2.2, this table integrates with:- Oracle Audit Vault: For centralized auditing across modules.
- Workflow Notifications: Alerts for anomalous SQL patterns.
- APEX or BI Publisher: Custom reporting on audit data.
4. Administrative Considerations
- Purge Policies: Audit data can grow rapidly; implement periodic archiving/purging.
- Indexing: Ensure indexes on
AUDIT_ID
,EXECUTION_TIMESTAMP
, andUSER_NAME
for efficient querying. - Access Control: Restrict direct table access to authorized roles (e.g., SYSADMIN).
5. Example Use Case
A manufacturing firm notices slowdowns in MSD. By queryingMSD_AUDIT_SQL_STATEMENTS
, they identify a recurring inefficient query joining large tables without proper indexes. The DBA optimizes the query and adds indexes, restoring performance.
6. Limitations
- Volume: High-frequency SQL operations may bloat the table.
- Selective Logging: Not all SQL may be captured; verify audit settings.
Conclusion
TheMSD.MSD_AUDIT_SQL_STATEMENTS
table is a vital tool for maintaining transparency and efficiency in Oracle EBS Manufacturing Scheduling. Proper configuration and monitoring of this table enhance security, compliance, and performance in 12.1.1 and 12.2.2 environments.
-
APPS.WMS_RFID_DEVICE_PUB dependencies on WMS_EPC_TAGID_TYPE
12.1.1
-
TABLE: MSD.MSD_AUDIT_SQL_STATEMENTS
12.2.2
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_AUDIT_SQL_STATEMENTS, object_name:MSD_AUDIT_SQL_STATEMENTS, status:VALID,
-
TABLE: MSD.MSD_AUDIT_SQL_STATEMENTS
12.1.1
owner:MSD, object_type:TABLE, fnd_design_data:MSD.MSD_AUDIT_SQL_STATEMENTS, object_name:MSD_AUDIT_SQL_STATEMENTS, status:VALID,
-
APPS.WMS_RFID_DEVICE_PUB dependencies on WMS_EPC_TAGID_TYPE
12.2.2
-
APPS.WMS_RFID_DEVICE_PUB dependencies on WMS_EPC_TAGID_TYPE
12.1.1
-
Concurrent Program: INVARPTP
12.1.1
execution_filename: INVARPTP , product: INV - Inventory , user_name: INVARPTP , description: Physical Inventory Tags , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Concurrent Program: INVARPTP
12.2.2
execution_filename: INVARPTP , product: INV - Inventory , user_name: INVARPTP , description: Physical Inventory Tags , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Concurrent Program: INCAPT
12.1.1
execution_filename: INCAPT , product: INV - Inventory , user_name: INCAPT , description: Generate physical inventory tags , argument_method: Database fetch , enabled: Yes , execution_method: Spawned ,
-
Concurrent Program: INCAPT
12.2.2
execution_filename: INCAPT , product: INV - Inventory , user_name: INCAPT , description: Generate physical inventory tags , argument_method: Database fetch , enabled: Yes , execution_method: Spawned ,
-
APPS.WMS_RFID_DEVICE_PUB dependencies on WMS_EPC_TAGID_TYPE
12.2.2
-
Lookup Type: HELP_DOWNLOAD_FORMATS
12.2.2
product: FND - Application Object Library , meaning: HELP DOWNLOAD FORMATS , description: Help text downloading formats ,
-
Lookup Type: HELP_DOWNLOAD_FORMATS
12.1.1
product: FND - Application Object Library , meaning: HELP DOWNLOAD FORMATS , description: Help text downloading formats ,
-
APPS.PO_XML_DELIVERY dependencies on PO_CXML_DELIVERTO_ARCH_V
12.1.1
-
APPS.PO_XML_DELIVERY dependencies on PO_CXML_DELIVERTO_ARCH_V
12.2.2
-
PACKAGE: APPS.PAY_US_PSD_GENERIC_EXTRACT
12.2.2
-
Lookup Type: MTL_TAG_GENERATION
12.1.1
product: INV - Inventory , meaning: MTL TAG GENERATION ,
-
Lookup Type: MTL_PHYSICAL_TYPE
12.2.2
product: INV - Inventory , meaning: MTL PHYSICAL TYPE ,
-
Concurrent Program: INVARPTP_XML
12.2.2
product: INV - Inventory , user_name: Physical Inventory Tags (XML) , description: Physical Inventory Tags , argument_method: Standard , enabled: Yes , execution_method: Java Concurrent Program ,
-
Table: OKC_REPORT_TAG_TL
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REPORT_TAG_TL, object_name:OKC_REPORT_TAG_TL, status:VALID, product: OKC - Contracts Core , description: Published XML tags. Used in Contracts Printing.Prior to 11.5.9 tags published in help tab. , implementation_dba_data: OKC.OKC_REPORT_TAG_TL ,
-
Lookup Type: MTL_TAG_GENERATION
12.2.2
product: INV - Inventory , meaning: MTL TAG GENERATION ,
-
Table: OKC_REPORT_TAG_B
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REPORT_TAG_B, object_name:OKC_REPORT_TAG_B, status:VALID, product: OKC - Contracts Core , description: Published XML tags. Used for Contract Printing.Prior to 11.5.9 tags published in help tab. , implementation_dba_data: OKC.OKC_REPORT_TAG_B ,
-
Concurrent Program: INVARPTP_XML
12.1.1
product: INV - Inventory , user_name: Physical Inventory Tags (XML) , description: Physical Inventory Tags , argument_method: Standard , enabled: Yes , execution_method: Java Concurrent Program ,
-
Table: OKC_REPORT_TAG_B
12.1.1
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REPORT_TAG_B, object_name:OKC_REPORT_TAG_B, status:VALID, product: OKC - Contracts Core , description: Published XML tags. Used for Contract Printing.Prior to 11.5.9 tags published in help tab. , implementation_dba_data: OKC.OKC_REPORT_TAG_B ,
-
Table: OKC_REPORT_TAG_TL
12.2.2
owner:OKC, object_type:TABLE, fnd_design_data:OKC.OKC_REPORT_TAG_TL, object_name:OKC_REPORT_TAG_TL, status:VALID, product: OKC - Contracts Core , description: Published XML tags. Used in Contracts Printing.Prior to 11.5.9 tags published in help tab. , implementation_dba_data: OKC.OKC_REPORT_TAG_TL ,
-
Lookup Type: MTL_PHYSICAL_TYPE
12.1.1
product: INV - Inventory , meaning: MTL PHYSICAL TYPE ,
-
APPS.WF_MAILER_PARAMETER dependencies on WF_MAILER_TAGS
12.1.1
-
APPS.WF_MAILER_PARAMETER dependencies on WF_MAILER_TAGS
12.2.2
-
APPS.ICX_TAG dependencies on JS
12.1.1
-
APPS.WMS_RFID_DEVICE_PUB dependencies on WMS_EPC_TAGDATA_TYPE
12.1.1
-
APPS.WMS_RFID_DEVICE_PUB dependencies on WMS_EPC_TAGDATA_TYPE
12.2.2
-
VIEW: SYS.V_$ASM_ACFSREPL
12.1.1
-
APPS.ICX_TAG dependencies on JS
12.2.2
-
APPS.WMS_RFID_DEVICE_PUB dependencies on WMS_EPC
12.2.2
-
APPS.INV_DIAG_PHY_INV_DUMP dependencies on JTF_DIAGNOSTIC_COREAPI
12.2.2
-
VIEW: SYS.GV_$ASM_ACFSREPL
12.2.2
-
VIEW: SYS.GV_$ASM_ACFSREPL
12.1.1
-
APPS.INV_DIAG_PI_SUBLOC dependencies on JTF_DIAG_DEPENDTBL
12.1.1
-
APPS.INV_DIAG_PHY_INV_DUMP dependencies on JTF_DIAGNOSTIC_COREAPI
12.1.1
-
APPS.IEM_CLIENTLAUNCH_PUB dependencies on IEM_ENCRYPTED_TAGS
12.2.2
-
APPS.PAY_US_PSD_GENERIC_EXTRACT dependencies on PAY_US_PSD_GENERIC_EXTRACT
12.2.2
-
APPS.PAY_US_W2_GENERIC_EXTRACT dependencies on PAY_US_W2_GENERIC_EXTRACT
12.1.1
-
APPS.INV_DIAG_PI_ONHAND dependencies on JTF_DIAG_DEPENDTBL
12.1.1
-
APPS.INV_DIAG_PI_SUBLOC dependencies on JTF_DIAG_DEPENDTBL
12.2.2
-
APPS.BIS_VG_KEY_FLEX dependencies on BIS_VIEW_GENERATOR_PVT
12.2.2
-
APPS.WMS_RFID_DEVICE_PUB dependencies on WMS_EPC
12.1.1
-
VIEW: SYS.V_$ASM_ACFSREPL
12.2.2
-
APPS.WMS_RFID_DEVICE_PUB dependencies on WMS_EPC_TAGDATA_TYPE
12.1.1
-
APPS.INV_DIAG_PI_ONHAND dependencies on JTF_DIAG_DEPENDTBL
12.2.2
-
APPS.BIS_VG_KEY_FLEX dependencies on BIS_VIEW_GENERATOR_PVT
12.1.1
-
APPS.PAY_US_W2_GENERIC_EXTRACT dependencies on PAY_US_W2_GENERIC_EXTRACT
12.2.2