Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0022417 | Openbravo ERP | 05. Production management | public | 2012-11-28 16:19 | 2020-03-04 18:17 |
|
Reporter | egoitz | |
Assigned To | Triage Omni OMS | |
Priority | urgent | Severity | minor | Reproducibility | always |
Status | new | Resolution | duplicate | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | ngarcia |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0022417: The Pareto Product Legacy reports takes long to show a big amount of data |
Description | The Pareto Product Legacy reports takes long to show a big amount of data. It takes arround 27 minutes to show 1300 lines. |
Steps To Reproduce | -On a production enviroment with a big amount of data execute the report
-It takes long to show the result and the cpu usage goes to 100% on a oracle process |
Proposed Solution | First change proposed:
On the m_get_pareto_abc_legacy function
replace
AND M_GET_PRODUCT_COST(MSD.M_PRODUCT_ID,TO_DATE(now()),null) IS NOT NULL
AND M_GET_PRODUCT_COST(MSD.M_PRODUCT_ID,TO_DATE(now()),null) <> 0
with
AND COALESCE(M_GET_PRODUCT_COST(MSD.M_PRODUCT_ID,TO_DATE(now()),null),0) <> 0
That change reduces the time to execute the reports, but it is not enough.
It reduces from 27 minutes to 20 minutes.
|
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0043416 | | new | Triage Omni WMS | PL-function m_get_product_cost could be made 2 * faster | related to | design defect | 0032493 | | closed | vmromanos | Pareto Product Report takes too long in an environment with big amount of data |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-11-28 16:19 | egoitz | New Issue | |
2012-11-28 16:19 | egoitz | Assigned To | => dmiguelez |
2012-11-28 16:19 | egoitz | Modules | => Core |
2012-11-28 17:36 | egoitz | Proposed Solution updated | |
2012-11-28 18:09 | egoitz | Note Added: 0054640 | |
2012-11-28 18:10 | egoitz | Note Added: 0054641 | |
2012-12-10 09:32 | dmiguelez | Assigned To | dmiguelez => jonalegriaesarte |
2012-12-12 09:42 | jonalegriaesarte | Triggers an Emergency Pack | => No |
2012-12-12 09:42 | jonalegriaesarte | Priority | immediate => urgent |
2013-01-14 09:53 | jonalegriaesarte | Note Added: 0055498 | |
2013-01-14 09:53 | jonalegriaesarte | Severity | major => minor |
2013-01-14 09:53 | jonalegriaesarte | Type | defect => design defect |
2016-08-02 13:38 | ngarcia | Review Assigned To | => ngarcia |
2016-08-02 13:38 | ngarcia | Relationship added | duplicate of 0032493 |
2016-08-02 13:38 | ngarcia | Status | new => closed |
2016-08-02 13:38 | ngarcia | Resolution | open => duplicate |
2016-08-02 13:40 | ngarcia | Relationship deleted | 0032493 |
2016-08-02 14:34 | ngarcia | Assigned To | jonalegriaesarte => |
2016-08-02 14:34 | ngarcia | Status | closed => new |
2016-08-02 14:34 | ngarcia | Relationship added | related to 0032493 |
2017-01-17 11:17 | plujan | Assigned To | => Triage Finance |
2017-01-17 11:17 | plujan | Note Added: 0093624 | |
2017-01-17 11:20 | plujan | Note Edited: 0093624 | bug_revision_view_page.php?bugnote_id=0093624#r14294 |
2020-03-04 18:17 | shuehner | Relationship added | related to 0043416 |
Notes |
|
(0054640)
|
egoitz
|
2012-11-28 18:09
|
|
When executing the report, on the java a temporary table should be crated a filled with the query done on the m_get_pareto_abc_legacy function |
|
|
(0054641)
|
egoitz
|
2012-11-28 18:10
|
|
That problem applies also to the new report for the new costing engine |
|
|
(0055498)
|
jonalegriaesarte
|
2013-01-14 09:53
|
|
This report should be designed from scratch |
|
|
(0093624)
|
plujan
|
2017-01-17 11:17
(edited on: 2017-01-17 11:20) |
|
Fixing wrong assignee (was changed to empty)
|
|