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.

MySQL和SQLite的主要區別在於設計理念和使用場景:1.MySQL適用於大型應用和企業級解決方案,支持高性能和高並發;2.SQLite適合移動應用和桌面軟件,輕量級且易於嵌入。

MySQL中的索引是數據庫表中一列或多列的有序結構,用於加速數據檢索。 1)索引通過減少掃描數據量提升查詢速度。 2)B-Tree索引利用平衡樹結構,適合範圍查詢和排序。 3)創建索引使用CREATEINDEX語句,如CREATEINDEXidx_customer_idONorders(customer_id)。 4)複合索引可優化多列查詢,如CREATEINDEXidx_customer_orderONorders(customer_id,order_date)。 5)使用EXPLAIN分析查詢計劃,避

在MySQL中使用事務可以確保數據一致性。 1)通過STARTTRANSACTION開始事務,執行SQL操作後用COMMIT提交或ROLLBACK回滾。 2)使用SAVEPOINT可以設置保存點,允許部分回滾。 3)性能優化建議包括縮短事務時間、避免大規模查詢和合理使用隔離級別。

選擇PostgreSQL而非MySQL的場景包括:1)需要復雜查詢和高級SQL功能,2)要求嚴格的數據完整性和ACID遵從性,3)需要高級空間功能,4)處理大數據集時需要高性能。 PostgreSQL在這些方面表現出色,適合需要復雜數據處理和高數據完整性的項目。

MySQL數據庫的安全可以通過以下措施實現:1.用戶權限管理:通過CREATEUSER和GRANT命令嚴格控制訪問權限。 2.加密傳輸:配置SSL/TLS確保數據傳輸安全。 3.數據庫備份和恢復:使用mysqldump或mysqlpump定期備份數據。 4.高級安全策略:使用防火牆限制訪問,並啟用審計日誌記錄操作。 5.性能優化與最佳實踐:通過索引和查詢優化以及定期維護兼顧安全和性能。

如何有效監控MySQL性能?使用mysqladmin、SHOWGLOBALSTATUS、PerconaMonitoringandManagement(PMM)和MySQLEnterpriseMonitor等工具。 1.使用mysqladmin查看連接數。 2.用SHOWGLOBALSTATUS查看查詢數。 3.PMM提供詳細性能數據和圖形化界面。 4.MySQLEnterpriseMonitor提供豐富的監控功能和報警機制。

MySQL和SQLServer的区别在于:1)MySQL是开源的,适用于Web和嵌入式系统,2)SQLServer是微软的商业产品,适用于企业级应用。两者在存储引擎、性能优化和应用场景上有显著差异,选择时需考虑项目规模和未来扩展性。

在需要高可用性、高級安全性和良好集成性的企業級應用場景下,應選擇SQLServer而不是MySQL。 1)SQLServer提供企業級功能,如高可用性和高級安全性。 2)它與微軟生態系統如VisualStudio和PowerBI緊密集成。 3)SQLServer在性能優化方面表現出色,支持內存優化表和列存儲索引。


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

SublimeText3 英文版
推薦:為Win版本,支援程式碼提示!

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

mPDF
mPDF是一個PHP庫,可以從UTF-8編碼的HTML產生PDF檔案。原作者Ian Back編寫mPDF以從他的網站上「即時」輸出PDF文件,並處理不同的語言。與原始腳本如HTML2FPDF相比,它的速度較慢,並且在使用Unicode字體時產生的檔案較大,但支援CSS樣式等,並進行了大量增強。支援幾乎所有語言,包括RTL(阿拉伯語和希伯來語)和CJK(中日韓)。支援嵌套的區塊級元素(如P、DIV),

禪工作室 13.0.1
強大的PHP整合開發環境