Openbravo Issue Tracking System - Retail Modules | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0047423 | Retail Modules | Web POS | public | 2021-07-21 12:00 | 2021-09-01 07:55 | |||||||||||||||||||||
Reporter | egoitz | |||||||||||||||||||||||||
Assigned To | ranjith_qualiantech_com | |||||||||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | RR21Q4 | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | ||||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | ||||||||||||||||||||||||||
Regression date | ||||||||||||||||||||||||||
Regression introduced in release | ||||||||||||||||||||||||||
Regression introduced by commit | ||||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0047423: Slow incremental refresh of products | |||||||||||||||||||||||||
Description | The incremental refresh in environment with lots of products, and stores, and one assortment and pricelist per store, is very slow. The query reads lot of information from disk and create also general slowness on the server. | |||||||||||||||||||||||||
Steps To Reproduce | - Update 30.000 of prices of a catalog of 240.000 on an environment as explained in the Description. | |||||||||||||||||||||||||
Proposed Solution | Initial query: select ... from ... where ... AND ( product1_.updated>'2021-07-20 10:06:39.019' OR obretco_pr0_.updated>'2021-07-20 10:06:39.019' OR uom4_.updated>'2021-07-20 10:06:39.019' OR pricingpro2_.updated>'2021-07-20 10:06:39.019') ... Proposed change: select ... from ... where ... AND product1_.m_product_id in ( SELECT o.m_product_id FROM obretco_prol_product o WHERE o.updated > '2021-07-20 10:06:39.019' AND o.obretco_productlist_id='F5E7536B8CEA476D82AE0CF40555A426' --> to filter by the assortment of the store UNION SELECT p.m_product_id FROM m_productprice p WHERE p.updated > '2021-07-20 10:06:39.019' AND p.m_pricelist_version_id='49D82092B886446CAB1245A5227CE9C9' --> to filter by the price list of the store UNION SELECT mp.m_product_id FROM m_product mp INNER JOIN m_uom u ON u.m_uom_id = mp.m_uom_id WHERE u.updated > '2021-07-20 10:06:39.019' UNION SELECT pro.m_product_id FROM m_product pro WHERE pro.updated > '2021-07-20 10:06:39.019' ) | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | NOR | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2021-07-21 12:00 | egoitz | New Issue | ||||||||||||||||||||||||
2021-07-21 12:00 | egoitz | Assigned To | => Retail | |||||||||||||||||||||||
2021-07-21 12:00 | egoitz | Resolution time | => 1628546400 | |||||||||||||||||||||||
2021-07-21 12:00 | egoitz | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2021-07-21 22:30 | rafaroda | Tag Attached: NOR | ||||||||||||||||||||||||
2021-07-21 22:30 | rafaroda | Issue Monitored: rafaroda | ||||||||||||||||||||||||
2021-07-21 22:31 | rafaroda | Relationship added | related to 0044911 | |||||||||||||||||||||||
2021-07-30 09:41 | adrianromero | Status | new => acknowledged | |||||||||||||||||||||||
2021-08-03 14:39 | adrianromero | Assigned To | Retail => ranjith_qualiantech_com | |||||||||||||||||||||||
2021-08-03 14:39 | adrianromero | Status | acknowledged => scheduled | |||||||||||||||||||||||
2021-08-04 14:31 | hgbot | Note Added: 0130974 | ||||||||||||||||||||||||
2021-08-06 12:25 | adrianromero | Relationship added | related to 0047510 | |||||||||||||||||||||||
2021-08-11 09:22 | adrianromero | Relationship added | related to 0047262 | |||||||||||||||||||||||
2021-08-19 14:30 | marvintm | Resolution time | 1628546400 => 1629842400 | |||||||||||||||||||||||
2021-08-24 13:44 | marvintm | Note Deleted: 0130974 | ||||||||||||||||||||||||
2021-08-24 13:44 | hgbot | Note Added: 0131321 | ||||||||||||||||||||||||
2021-08-27 07:22 | marvintm | Resolution time | 1629842400 => 1630620000 | |||||||||||||||||||||||
2021-08-27 11:38 | hgbot | Note Added: 0131401 | ||||||||||||||||||||||||
2021-09-01 07:55 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2021-09-01 07:55 | hgbot | Status | scheduled => closed | |||||||||||||||||||||||
2021-09-01 07:55 | hgbot | Fixed in Version | => RR21Q4 | |||||||||||||||||||||||
2021-09-01 07:55 | hgbot | Note Added: 0131467 | ||||||||||||||||||||||||
2021-09-01 07:55 | hgbot | Note Added: 0131468 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|