Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0043390 | Retail Modules | Layaway order | public | 2020-03-02 17:51 | 2020-03-12 13:14 |
Reporter | ALopetegui | ||||
Assigned To | rqueralta | ||||
Priority | high | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | RR20Q2 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0043390: Void Layaway BGProcess bad performance | ||||
Description | Automatic void of layaway BGProcess has bad performance query getting the layaway List. | ||||
Steps To Reproduce | In high volume environment run "Automatic void of layaway" BGProcess. Here the query explain plan https://explain.depesz.com/s/FJ8b [^] | ||||
Proposed Solution | The launched query needs to be filtered also for ad_client_id in order to perform correctly the core index c_order_client_org_date_docno. In the past there was a custom index of symmetric DS, only ad_org_id in c_order, but after symmetricDS unistall, the core index doesn't work properly if we dont' filter by ad_client_id. Attached diff to filter also by ad_client_id, doing a subselect to get the id: Here the new explain plan: https://explain.depesz.com/s/3ybN [^] | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | VoidLayawaysBGProcess.diff (899) 2020-03-02 17:51 https://issues.openbravo.com/file_download.php?file_id=14119&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2020-03-02 17:51 | ALopetegui | New Issue | |||
2020-03-02 17:51 | ALopetegui | Assigned To | => Retail | ||
2020-03-02 17:51 | ALopetegui | File Added: VoidLayawaysBGProcess.diff | |||
2020-03-02 17:51 | ALopetegui | Resolution time | => 1581807600 | ||
2020-03-02 17:51 | ALopetegui | Triggers an Emergency Pack | => No | ||
2020-03-04 19:09 | marvintm | Resolution time | 1581807600 => 1585004400 | ||
2020-03-09 16:30 | rqueralta | Assigned To | Retail => rqueralta | ||
2020-03-09 16:30 | rqueralta | Status | new => scheduled | ||
2020-03-09 22:03 | hgbot | Checkin | |||
2020-03-09 22:03 | hgbot | Note Added: 0118432 | |||
2020-03-09 22:03 | hgbot | Status | scheduled => resolved | ||
2020-03-09 22:03 | hgbot | Resolution | open => fixed | ||
2020-03-09 22:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.autocancelreservation/rev/f6e7f24277354ad196efc79fa0eb903ef658e023 [^] | ||
2020-03-12 12:46 | ALopetegui | Issue Monitored: ALopetegui | |||
2020-03-12 13:14 | marvintm | Review Assigned To | => marvintm | ||
2020-03-12 13:14 | marvintm | Status | resolved => closed | ||
2020-03-12 13:14 | marvintm | Fixed in Version | => RR20Q2 |
Notes | |||||
|
|||||
|
|