Search Results serviços de transporte e logística
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.
-
SYNONYM: PUBLIC.oracle/net/aso/e
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:oracle/net/aso/e, status:VALID,
-
SYNONYM: PUBLIC.oracle/net/aso/e
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:oracle/net/aso/e, status:VALID,
-
JAVA CLASS: SYS.oracle/net/aso/e
12.2.2
owner:SYS, object_type:JAVA CLASS, object_name:oracle/net/aso/e, status:VALID,
-
JAVA CLASS: SYS.oracle/net/aso/e
12.1.1
owner:SYS, object_type:JAVA CLASS, object_name:oracle/net/aso/e, status:VALID,
-
File: Oracle E-Business Tax Logical Data Model R12.pdf
12.1.1
product: ZX - E-Business Tax , size: 93.47 KBytes , file_type: PDF Diagram ,
-
APPS.JL_BR_AR_GENERATE_DEBIT_MEMO dependencies on RA_CUST_TRX_TYPES
12.1.1
-
APPS.JL_BR_AR_GENERATE_DEBIT_MEMO dependencies on RA_CUST_TRX_TYPES
12.2.2
-
Lookup Type: ES_BANKS
12.2.2
product: PER - Human Resources , meaning: Spanish Banks , description: Spanish Banks ,
-
Lookup Type: ES_BANKS
12.1.1
product: PER - Human Resources , meaning: Spanish Banks , description: Spanish Banks ,
-
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
-
File: Oracle E-Business Tax Logical Data Model R12.pdf
12.2.2
product: ZX - E-Business Tax , size: 93.47 KBytes , file_type: PDF Diagram ,
-
Lookup Type: HU_DRIVING_LIC_CAT
12.1.1
product: PER - Human Resources , meaning: Driving License Category , description: Hungarian Driving License Category ,
-
Lookup Type: HU_DRIVING_LIC_CAT
12.2.2
product: PER - Human Resources , meaning: Driving License Category , description: Hungarian Driving License Category ,
-
Lookup Type: BEN_ELIG_ENRT_REPORT_PARAMS
12.2.2
product: BEN - Advanced Benefits , meaning: BEN_ELIG_ENRT_REPORT_PARAMS , description: Column headings used by Eligibility and Enrollment List report ,
-
Lookup Type: BEN_ELIG_ENRT_REPORT_PARAMS
12.1.1
product: BEN - Advanced Benefits , meaning: BEN_ELIG_ENRT_REPORT_PARAMS , description: Column headings used by Eligibility and Enrollment List report ,
-
Lookup Type: PQP_FUEL_TYPE
12.1.1
product: PAY - Payroll , meaning: PQP_FUEL_TYPE , description: Fuel Types ,
-
Lookup Type: PQP_FUEL_TYPE
12.2.2
product: PAY - Payroll , meaning: PQP_FUEL_TYPE , description: Fuel Types ,
-
TYPE BODY: SYS.WRI$_ADV_SQLTUNE
12.1.1
-
TYPE BODY: SYS.WRI$_ADV_SQLTUNE
12.2.2
-
Lookup Type: MVT_AREA
12.1.1
product: INV - Inventory , meaning: MVT AREA , description: Area ,
-
Lookup Type: MVT_AREA
12.2.2
product: INV - Inventory , meaning: MVT AREA , description: Area ,
-
APPS.PSB_WRHR_EXTRACT_PROCESS dependencies on PSB_DATA_EXTRACTS
12.1.1
-
TYPE BODY: SYS.ANYDATA
12.1.1
-
TYPE BODY: SYS.ANYDATA
12.2.2
-
SYS.DBMS_WLM dependencies on DBMS_WLM
12.1.1
-
SYS.DBMS_WLM dependencies on DBMS_WLM
12.2.2
-
Lookup Type: MVT_PORT
12.1.1
product: INV - Inventory , meaning: MVT PORT , description: Port ,
-
Lookup Type: MVT_PORT
12.2.2
product: INV - Inventory , meaning: MVT PORT , description: Port ,
-
PACKAGE BODY: APPS.JL_BR_AR_PRINT_AMNT
12.1.1
-
PACKAGE BODY: APPS.JL_BR_AR_PRINT_AMNT
12.2.2
-
Lookup Type: PER_MX_STATE_CODES
12.1.1
product: PER - Human Resources , meaning: Mexican State Codes , description: List of States in Mexico ,
-
PACKAGE BODY: SYS.DBMS_REPCAT_RQ
12.2.2
-
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 ,
-
ODM.ODM_STOP_MONITOR dependencies on ODM_INTERNAL_CONFIGURATION
12.1.1
-
PACKAGE BODY: SYS.DBMS_REPCAT_RQ
12.1.1
-
Lookup Type: PER_MX_STATE_CODES
12.2.2
product: PER - Human Resources , meaning: Mexican State Codes , description: List of States in Mexico ,
-
ODM.ODM_STOP_MONITOR dependencies on DBMS_JOB
12.2.2
-
ODM.ODM_STOP_MONITOR dependencies on ODM_INTERNAL_CONFIGURATION
12.2.2
-
ODM.ODM_STOP_MONITOR dependencies on DBMS_JOB
12.1.1
-
ODM.ODM_STOP_MONITOR dependencies on DBMS_OUTPUT
12.2.2
-
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 ,
-
ODM.ODM_STOP_MONITOR dependencies on DBMS_OUTPUT
12.1.1
-
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