Search Results cadastro de produtos no sistema
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: YES/NO
12.1.1
product: PO - Purchasing , meaning: Yes/No , description: Yes/No ,
-
Lookup Type: YES/NO
12.2.2
product: CE - Cash Management , meaning: Yes/No , description: Yes/No ,
-
Lookup Type: NO SUPERVISOR
12.2.2
product: PA - Projects , meaning: NO SUPERVISOR , description: No Supervisor ,
-
Lookup Type: JEBE_YES/NO
12.1.1
product: JE - European Localizations , meaning: JEBE YES/NO , description: Yes or No ,
-
Lookup Type: JEBE_YES/NO
12.2.2
product: JE - European Localizations , meaning: JEBE YES/NO , description: Yes or No ,
-
Lookup Type: YES/NO
12.2.2
product: AR - Receivables , meaning: Yes/No , description: Yes/No ,
-
Lookup Type: YES/NO
12.1.1
product: GL - General Ledger , meaning: Yes/No , description: Yes/No ,
-
Lookup Type: YES/NO
12.1.1
product: CE - Cash Management , meaning: Yes/No , description: Yes/No ,
-
Lookup Type: YES/NO
12.1.1
product: AR - Receivables , meaning: Yes/No , description: Yes/No ,
-
Lookup Type: YES/NO
12.2.2
product: GL - General Ledger , meaning: Yes/No , description: Yes/No ,
-
Lookup Type: YES/NO
12.2.2
product: PO - Purchasing , meaning: Yes/No , description: Yes/No ,
-
Lookup Type: LOCAL_BUS_IDEN_TYPE
12.1.1
product: AR - Receivables , meaning: Local Bus Iden Type , description: Local Bus Identify Type ,
-
Lookup Type: LOCAL_BUS_IDEN_TYPE
12.2.2
product: AR - Receivables , meaning: Local Bus Iden Type , description: Local Bus Identify Type ,
-
VIEW: APPS.PER_QUALIFICATIONS1_DFV
12.2.2
-
VIEW: APPS.PER_PREVIOUS_JOBS1_DFV
12.1.1
-
VIEW: APPS.PER_PREVIOUS_JOBS1_DFV
12.2.2
-
Lookup Type: MVT_STATISTICAL_TYPE
12.2.2
product: INV - Inventory , meaning: MVT STATISTICAL TYPE , description: Statistical Type ,
-
Lookup Type: MVT_STATISTICAL_TYPE
12.1.1
product: INV - Inventory , meaning: MVT STATISTICAL TYPE , description: Statistical Type ,
-
APPS.FND_STATS dependencies on DBA_EXTERNAL_TABLES
12.1.1
-
APPS.HZ_ORG_INFO_PUB dependencies on HZ_MIXNM_UTILITY
12.1.1
-
APPS.HZ_ORG_INFO_PUB dependencies on HZ_MIXNM_UTILITY
12.2.2
-
APPS.HZ_PARTY_SITE_V2PUB dependencies on HZ_MIXNM_UTILITY
12.1.1
-
VIEW: APPS.PER_WORK_INCIDENTS1_DFV
12.1.1
-
VIEW: APPS.PER_WORK_INCIDENTS1_DFV
12.2.2
-
VIEW: APPS.PER_QUALIFICATIONS1_DFV
12.1.1
-
APPS.HZ_PARTY_SITE_V2PUB dependencies on HZ_MIXNM_UTILITY
12.2.2
-
VIEW: APPS.XLE_ENTITY_PROFILES1_DFV
12.1.1
-
VIEW: APPS.XLE_ENTITY_PROFILES1_DFV
12.2.2
-
APPS.HZ_ORGANIZATION_INFO_V2PUB dependencies on HZ_MIXNM_UTILITY
12.1.1
-
APPS.HZ_LOCATION_V2PUB dependencies on HZ_MIXNM_UTILITY
12.1.1
-
APPS.HZ_ORGANIZATION_INFO_V2PUB dependencies on HZ_MIXNM_UTILITY
12.2.2
-
APPS.HZ_LOCATION_V2PUB dependencies on HZ_MIXNM_UTILITY
12.2.2
-
APPS.QA_FLEX_UTIL dependencies on PJM_PROJECTS_ALL_V
12.1.1
-
APPS.QA_FLEX_UTIL dependencies on PJM_PROJECTS_ALL_V
12.2.2
-
Concurrent Program: IEMADMWW
12.1.1
execution_filename: IEM_WFSTARTPROCESS_PUB.LaunchProcess , product: IEM - Email Center , user_name: Email Center Workflow Worker , description: The worker program for the workflow for de-queing emails , argument_method: Standard , enabled: No , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: IEMADMWW
12.2.2
execution_filename: IEM_WFSTARTPROCESS_PUB.LaunchProcess , product: IEM - Email Center , user_name: Email Center Workflow Worker , description: The worker program for the workflow for de-queing emails , argument_method: Standard , enabled: No , execution_method: PL/SQL Stored Procedure ,
-
APPS.PAY_RETRO_NOTIF_PKG dependencies on HR_UTILITY
12.2.2
-
APPS.PAY_ELEMENT_ENTRY_BK2 dependencies on HR_API
12.1.1
-
Concurrent Program: IEMADMWF
12.1.1
execution_filename: IEM_CONCURRENT_PVT.StartProcess , product: IEM - Email Center , user_name: Email Center Workflow Controller , description: The controller program for the workflow for de-queing emails , argument_method: Standard , enabled: No , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: IEMADMWF
12.2.2
execution_filename: IEM_CONCURRENT_PVT.StartProcess , product: IEM - Email Center , user_name: Email Center Workflow Controller , description: The controller program for the workflow for de-queing emails , argument_method: Standard , enabled: No , execution_method: PL/SQL Stored Procedure ,
-
APPS.PAY_ELEMENT_ENTRY_BK1 dependencies on HR_API
12.1.1
-
APPS.PAY_ELEMENT_ENTRY_BK1 dependencies on HR_API
12.2.2
-
APPS.PAY_ELEMENT_ENTRY_BK2 dependencies on HR_API
12.2.2
-
APPS.CTO_DEACTIVATE_CONFIG_PK dependencies on BOM_ATO_CONFIGURATIONS
12.1.1
-
APPS.CTO_DEACTIVATE_CONFIG_PK dependencies on BOM_ATO_CONFIGURATIONS
12.2.2
-
TYPE: SYS.KUPC$_STOP_JOB
12.2.2
owner:SYS, object_type:TYPE, object_name:KUPC$_STOP_JOB, status:VALID,
-
TYPE: SYS.KUPC$_STOP_JOB
12.1.1
owner:SYS, object_type:TYPE, object_name:KUPC$_STOP_JOB, status:VALID,
-
Lookup Type: DE_TAX_STATUS
12.1.1
product: PER - Human Resources , meaning: DE TAX STATUS , description: German Tax Status ,
-
PACKAGE: APPS.HR_LOOKUPS_UTIL_PKG
12.2.2
-
Lookup Type: DE_TAX_STATUS
12.2.2
product: PER - Human Resources , meaning: DE TAX STATUS , description: German Tax Status ,