Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0021983 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2012-10-17 18:42 | 2012-10-31 10:55 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 5854f8e58719 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0021983: The ProductPrice query has a severe performance problem | |||||||
Description | Right now the ProductPrice query (which loads the masterdata information for prices) has a very severe performance problem. For every record found, a separate query will be issued to compute additional information (likely related either to the product referenced entity, or the identifier). This means that for moderately large datasets, this query will take a huge amount of time (for 23000 it took almost two minutes). | |||||||
Steps To Reproduce | Log in the POS with a large amount of prices. | |||||||
Proposed Solution | The query needs to be changed so the needed properties are explicitly specified. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0053437) hgbot (developer) 2012-10-17 18:43 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 5854f8e58719adbd2738d0208cd2a80eb0b8854e Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Oct 17 18:42:52 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5854f8e58719adbd2738d0208cd2a80eb0b8854e [^] Fixed issue 21983. The query has been fixed and will now be fast. --- M src/org/openbravo/retail/posterminal/master/ProductPrice.java --- |
(0053504) hgbot (developer) 2012-10-22 11:45 |
Repository: erp/pmods/org.openbravo.retail.posterminal-discounts Changeset: 5854f8e58719adbd2738d0208cd2a80eb0b8854e Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Oct 17 18:42:52 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-discounts/rev/5854f8e58719adbd2738d0208cd2a80eb0b8854e [^] Fixed issue 21983. The query has been fixed and will now be fast. --- M src/org/openbravo/retail/posterminal/master/ProductPrice.java --- |
(0053556) hgbot (developer) 2012-10-22 19:19 |
Repository: erp/pmods/org.openbravo.retail.posterminal-quotations Changeset: 5854f8e58719adbd2738d0208cd2a80eb0b8854e Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Oct 17 18:42:52 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-quotations/rev/5854f8e58719adbd2738d0208cd2a80eb0b8854e [^] Fixed issue 21983. The query has been fixed and will now be fast. --- M src/org/openbravo/retail/posterminal/master/ProductPrice.java --- |
(0053640) adrianromero (viewer) 2012-10-24 17:28 |
Closed for RMP16 |
(0053885) hgbot (developer) 2012-10-31 09:37 |
Repository: erp/pmods/org.openbravo.retail.posterminal-gal Changeset: 5854f8e58719adbd2738d0208cd2a80eb0b8854e Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Oct 17 18:42:52 2012 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal-gal/rev/5854f8e58719adbd2738d0208cd2a80eb0b8854e [^] Fixed issue 21983. The query has been fixed and will now be fast. --- M src/org/openbravo/retail/posterminal/master/ProductPrice.java --- |
Copyright © 2000 - 2009 MantisBT Group |