Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037653 | Retail Modules | Web POS | public | 2018-01-17 10:14 | 2019-12-09 15:00 | |||||||
Reporter | aferraz | |||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR20Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037653: Performance problem in PaidReceipts | |||||||||||
Description | Performance problem in PaidReceipts | |||||||||||
Steps To Reproduce | Process takes around 50 ms. If you call this process many many times (to generate the JSON of orders stored in database), it will take many hours: 1,000,000 records * 50 ms. = 50,000,000 ms. = 13.88 hours. Attached yourkit snapshot. | |||||||||||
Proposed Solution | Following query is taking most of the time: PaidReceipts.java:323. Subquery inside it is almost the same as the query run just before in PaidReceipts.java:304. It seems subquery in line 323 could be replaced by the result of query in line 304. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=11461&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=11462&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=11687&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-01-17 10:14 | aferraz | New Issue | ||||||||||
2018-01-17 10:14 | aferraz | Assigned To | => Retail | |||||||||
2018-01-17 10:14 | aferraz | OBNetwork customer | => No | |||||||||
2018-01-17 10:14 | aferraz | Triggers an Emergency Pack | => No | |||||||||
2018-01-17 10:14 | aferraz | File Added: PaidReceipts.html | ||||||||||
2018-01-17 10:16 | aferraz | File Added: PaidReceipts.snapshot.zip | ||||||||||
2018-01-17 11:10 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16543#r16543 | |||||||||
2018-01-29 08:56 | aferraz | Proposed Solution updated | ||||||||||
2018-03-26 14:57 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | |||||||||
2018-03-26 14:57 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2018-03-28 08:14 | ranjith_qualiantech_com | File Added: issue 37653 source posterminal.patch | ||||||||||
2018-04-05 07:52 | hgbot | Checkin | ||||||||||
2018-04-05 07:52 | hgbot | Note Added: 0103680 | ||||||||||
2018-04-05 07:52 | hgbot | Status | scheduled => resolved | |||||||||
2018-04-05 07:52 | hgbot | Resolution | open => fixed | |||||||||
2018-04-05 07:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dcbcd845f19ac1ab4f58d76cd7365a5175dd5440 [^] | |||||||||
2018-04-16 18:09 | marvintm | Note Added: 0103915 | ||||||||||
2018-04-16 18:09 | marvintm | Status | resolved => new | |||||||||
2018-04-16 18:09 | marvintm | Resolution | fixed => open | |||||||||
2018-04-23 13:10 | ranjith_qualiantech_com | Status | new => scheduled | |||||||||
2018-06-26 14:03 | hgbot | Checkin | ||||||||||
2018-06-26 14:03 | hgbot | Note Added: 0105453 | ||||||||||
2019-12-07 08:11 | ranjith_qualiantech_com | Relationship added | related to 0042385 | |||||||||
2019-12-07 08:11 | ranjith_qualiantech_com | Note Added: 0116135 | ||||||||||
2019-12-07 08:11 | ranjith_qualiantech_com | Status | scheduled => resolved | |||||||||
2019-12-07 08:11 | ranjith_qualiantech_com | Resolution | open => fixed | |||||||||
2019-12-09 15:00 | marvintm | Review Assigned To | => marvintm | |||||||||
2019-12-09 15:00 | marvintm | Status | resolved => closed | |||||||||
2019-12-09 15:00 | marvintm | Fixed in Version | => RR20Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|