欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

OFA计算折旧运行慢

程序员文章站 2022-06-07 15:28:35
...

OFA计算折旧运行慢R12.1 Depreciation Program (FADEPR) Running Slow Poor Performance (文档 ID 1361909.1) Applies to: Oracle Assets - Version 12.1.1 and later Information in this document applies to any platform. FADEPR - Depreciation Program

 OFA计算折旧运行慢 R12.1 Depreciation Program (FADEPR) Running Slow Poor Performance (文档 ID 1361909.1)

Applies to:
Oracle Assets - Version 12.1.1 and later
Information in this document applies to any platform.
FADEPR - Depreciation Program

***Checked for relevance on 30-Oct-2012***

Symptoms

Depreciation is not completing, running for 30 hours, expected it to complete within reasonable time.

Cause

select from fa_additions_b ad ,fa_asset_history ah ,fa_methods mt ,fa_deprn_summary ds , fa_books bk resulting in over 3 billion rows queried and 1200 rows returned.

Solution

To implement the solution, please execute the following steps:

1. For R12.1.x (R12.FA.B) Customers: Apply Patch 8706842:R12.FA.B

2. Have your DBA recreate the FA_BOOKS_N1 index as follows:

create index fa_books_n1 on fa_books(asset_id,book_type_code);

3. Then, have your DBA run "GATHER SCHEMA STATISTICS" program.


The following points provide some tips and suggestions which might help to reduce the overall runtime of the Depreciation Request Set.

1. Check the following profile options making sure they are NOT checked or enabled, as these can all affect performance:

FA: Deprn Single
FA: Print Debug
FA: Print Timing Diagnostics
FND: Debug Log Enabled

2. Check that you do not have the 'Trace' option checked on any of the concurrent programs in the Depreciation request set (Generate Accounts, Calculate Gains & Losses, Depreciation, Journal Entry Reserve Ledger Report).

You can check this in the Concurrent > Program > Define form, from the System Administrator responsibility.

3. Check the following profile options which can impact the performance:

FA: Security Profile
If this profile is set, it means that security is enabled for the responsibility and this should be expected to slow down the processing slightly.

FA: Number of Parallel Requests
You may wish to consider setting this profile to improve the performance. Please see the 'Oracle Assets Profile Options' Chapter in the Oracle Assets User Guide, for more information about this profile option.

4. Consider applying more recent code for any of the programs which seem to be taking the most time in the Depreciation Request Set. In particular, it is recommended to be on the latest FA rollup patch for your patchset level.
Refer to the following note for the latest rollup patch numbers:
Note 466607.1 : R12 / 11i FA.M-P RECOMMENDED PATCH LIST

5. Are all required init_SID.ora parameters set correctly according to the script in Note 174605.1?

在系统管理员职责下运行‘统计数据收集模式’请求后解决
6. Ensure you run 'Gather Statistics' for the FA Schema on a regular basis; particularly important after any big data load.