Search Results mapa de riesgos de un restaurante
In Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2, the deepseekAPPS.FND_STATS
package plays a critical role in gathering and maintaining optimizer statistics for schema objects, ensuring optimal SQL execution plans. A key dependency of this package is on DBA_EXTERNAL_TABLES
, a data dictionary view that provides metadata about external tables defined in the database. Understanding this dependency is essential for EBS administrators and developers, particularly when troubleshooting performance issues or configuring statistics gathering processes.
Overview of FND_STATS and DBA_EXTERNAL_TABLES
TheFND_STATS
package is part of the Oracle Applications Technology Layer (ATL) and is responsible for automating statistics collection for EBS schemas, including APPS
, GL
, AR
, and others. It leverages Oracle's DBMS_STATS
internally but extends functionality with EBS-specific optimizations. Meanwhile, DBA_EXTERNAL_TABLES
is a dynamic performance view that lists all external tables accessible to the current user, including their defining attributes such as directory objects, access parameters, and file formats.
Dependency Analysis
The dependency betweenFND_STATS
and DBA_EXTERNAL_TABLES
arises in scenarios where EBS modules utilize external tables for data integration or reporting. Key aspects of this relationship include:
- Statistics Gathering Exclusion Logic:
FND_STATS
queriesDBA_EXTERNAL_TABLES
to identify external tables that should be excluded from statistics collection. Since external tables reference flat files rather than stored data, gathering statistics on them is unnecessary and could cause performance overhead. - Schema-Level Processing: During schema-wide statistics gathering (e.g., via
FND_STATS.GATHER_SCHEMA_STATISTICS
), the package dynamically filters out external tables by joining withDBA_EXTERNAL_TABLES
to avoid processing them. - Partitioned External Tables: In EBS 12.2.2, where partitioned external tables might be used for large-scale data loads,
FND_STATS
validates their metadata againstDBA_EXTERNAL_TABLES
to ensure proper handling.
Technical Implementation
The dependency manifests in SQL queries embedded withinFND_STATS
procedures. For example:
SELECT table_name FROM dba_external_tables WHERE owner = :p_schema;This query helps
FND_STATS
build an exclusion list. The package also checks DBA_EXTERNAL_TABLES
for properties like DEFAULT_DIRECTORY_OWNER
and REJECT_LIMIT
to determine if special handling is required.
Impact on EBS Operations
- Performance: The dependency adds minimal overhead during statistics gathering, as the view is memory-resident.
- Security:
FND_STATS
requires SELECT privilege onDBA_EXTERNAL_TABLES
, typically granted via theSELECT_CATALOG_ROLE
. - Customizations: If custom external tables are added to EBS, they are automatically excluded from statistics collection due to this dependency.
Version-Specific Considerations
- EBS 12.1.1: The dependency is straightforward, with basic filtering logic.
- EBS 12.2.2: Enhanced to handle Oracle Database 12c features like in-memory external tables.
Troubleshooting
Common issues include:- ORA-00942 errors if
DBA_EXTERNAL_TABLES
access is revoked. - Performance degradation if the view contains thousands of entries.
- Incorrect statistics if external tables are erroneously included due to view corruption.
deepseekAPPS.FND_STATS
package's dependency on DBA_EXTERNAL_TABLES
is a deliberate design choice to optimize statistics gathering in Oracle EBS environments. It ensures external tables—which don't benefit from statistics—are efficiently excluded while maintaining the integrity of the statistics collection process.
-
Lookup Type: MVT_PORT
12.1.1
product: INV - Inventory , meaning: MVT PORT , description: Port ,
-
Lookup Type: ES_BANKS
12.2.2
product: PER - Human Resources , meaning: Spanish Banks , description: Spanish Banks ,
-
Lookup Type: MVT_PORT
12.2.2
product: INV - Inventory , meaning: MVT PORT , description: Port ,
-
Lookup Type: PER_MX_STATE_CODES
12.1.1
product: PER - Human Resources , meaning: Mexican State Codes , description: List of States in Mexico ,
-
Lookup Type: ES_BANKS
12.1.1
product: PER - Human Resources , meaning: Spanish Banks , description: Spanish Banks ,
-
APPS.HR_DE_ASSIGNMENT_API dependencies on HR_UTILITY
12.2.2
-
APPS.FND_STATS dependencies on DBA_EXTERNAL_TABLES
12.2.2
-
APPS.HR_DE_EMPLOYEE_API dependencies on HR_UTILITY
12.2.2
-
Lookup Type: MVT_STATISTICAL_TYPE
12.2.2
product: INV - Inventory , meaning: MVT STATISTICAL TYPE , description: Statistical Type ,
-
Lookup Type: PER_MX_STATE_CODES
12.2.2
product: PER - Human Resources , meaning: Mexican State Codes , description: List of States in Mexico ,
-
TABLE: AR.HZ_GEOGRAPHIES
12.1.1
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_GEOGRAPHIES, object_name:HZ_GEOGRAPHIES, status:VALID,
-
Lookup Type: MVT_STATISTICAL_TYPE
12.1.1
product: INV - Inventory , meaning: MVT STATISTICAL TYPE , description: Statistical Type ,
-
TABLE: AR.HZ_GEOGRAPHIES
12.2.2
owner:AR, object_type:TABLE, fnd_design_data:AR.HZ_GEOGRAPHIES, object_name:HZ_GEOGRAPHIES, status:VALID,
-
APPS.HR_DE_ASSIGNMENT_API dependencies on HR_UTILITY
12.1.1
-
APPS.HR_DE_EMPLOYEE_API dependencies on HR_UTILITY
12.1.1
-
Lookup Type: LOCAL_BUS_IDEN_TYPE
12.1.1
product: AR - Receivables , meaning: Local Bus Iden Type , description: Local Bus Identify Type ,
-
Lookup Type: JLBR_SPED_ACCT_NATURE
12.2.2
product: JL - Latin America Localizations , meaning: JLBR_SPED_ACCT_NATURE , description: Account Type Associated to Natural Accounts ,
-
VIEW: APPS.PER_PREVIOUS_JOBS1_DFV
12.1.1
-
APPS.PQH_DE_CONT_EMPLOYMENT_PKG dependencies on HR_UTILITY
12.2.2
-
VIEW: APPS.PER_QUALIFICATIONS1_DFV
12.2.2
-
Lookup Type: LOCAL_BUS_IDEN_TYPE
12.2.2
product: AR - Receivables , meaning: Local Bus Iden Type , description: Local Bus Identify Type ,
-
APPS.JL_BR_AR_GENERATE_DEBIT_MEMO dependencies on RA_SALESREPS
12.1.1
-
APPS.JL_BR_AR_GENERATE_DEBIT_MEMO dependencies on RA_SALESREPS
12.2.2
-
VIEW: APPS.PER_PREVIOUS_JOBS1_DFV
12.2.2
-
APPS.JL_BR_AR_GENERATE_DEBIT_MEMO dependencies on RA_CUST_TRX_TYPES
12.1.1
-
APPS.FND_STATS dependencies on DBA_EXTERNAL_TABLES
12.1.1
-
VIEW: APPS.PER_DISABILITIES_F_DFV
12.2.2
-
Lookup Type: PAY_MX_STATE_IDS
12.1.1
product: PAY - Payroll , meaning: State IDs for Mexico Year End Reporting ,
-
APPS.CN_CALC_POPULATE_PVT dependencies on CN_DIM_EXPLOSION_ALL
12.2.2
-
VIEW: APPS.MRPFV_FORECAST_SETS
12.2.2
-
Lookup Type: FR_DEPARTMENT
12.2.2
product: PER - Human Resources , meaning: Department , description: Department ,
-
Lookup Type: DE_PREFIX
12.1.1
product: PER - Human Resources , meaning: DE PREFIX , description: Prefixes ,
-
Lookup Type: DE_PREFIX
12.2.2
product: PER - Human Resources , meaning: DE PREFIX , description: Prefixes ,
-
Lookup Type: JTF_TASK_ESC_LEVEL
12.2.2
product: JTF - CRM Foundation , meaning: Escalation Levels , description: Escalation Levels ,
-
Lookup Type: JTF_EC_ESC_LEVEL
12.2.2
product: FND - Application Object Library , meaning: Escalation Level , description: Escalation Level ,
-
VIEW: APPS.PER_WORK_INCIDENTS1_DFV
12.1.1
-
VIEW: APPS.PER_DISABILITIES_F_DFV
12.1.1
-
Concurrent Program: ARHLVOUT
12.1.1
execution_filename: ARHLVOUT , product: AR - Receivables , user_name: ARHLVOUT , description: Import Batch De-Duplication Report , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
APPS.PQH_DE_CONT_EMPLOYMENT_PKG dependencies on HR_UTILITY
12.1.1
-
APPS.JL_BR_AR_GENERATE_DEBIT_MEMO dependencies on RA_CUST_TRX_TYPES
12.2.2
-
Lookup Type: FR_REGION
12.1.1
product: PER - Human Resources , meaning: FR REGION ,
-
Lookup Type: FR_REGION
12.2.2
product: PER - Human Resources , meaning: FR REGION ,
-
Concurrent Program: GHMTODES
12.1.1
execution_filename: GHMTODES , product: GHR - US Federal Human Resources , user_name: GHMTODES , description: Mass Transfer Out De-selection , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Lookup Type: PAY_MX_STATE_IDS
12.2.2
product: PAY - Payroll , meaning: State IDs for Mexico Year End Reporting ,
-
Concurrent Program: GHMAWDES
12.1.1
execution_filename: GHMAWDES , product: GHR - US Federal Human Resources , user_name: GHMAWDES , description: Mass Awards De-Selection Report , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,
-
Concurrent Program: PNLOCACT
12.2.2
execution_filename: pn_loc_status_change_pkg.activate_deact_location , product: PN - Property Manager , user_name: PNLOCACT , description: Activate / De-activate locations , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Lookup Type: JTF_TASK_ESC_LEVEL
12.1.1
product: JTF - CRM Foundation , meaning: Escalation Levels , description: Escalation Levels ,
-
Lookup Type: JTF_EC_ESC_LEVEL
12.1.1
product: FND - Application Object Library , meaning: Escalation Level , description: Escalation Level ,
-
VIEW: APPS.PER_WORK_INCIDENTS1_DFV
12.2.2
-
Concurrent Program: GHMREDES
12.2.2
execution_filename: GHMREDES , product: GHR - US Federal Human Resources , user_name: GHMREDES , description: Mass Realignment De-selection , argument_method: Standard , enabled: Yes , execution_method: Oracle Reports ,