Openbravo Issue Tracking System - Retail Modules  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0042364 | Retail Modules | Web POS | public | 2019-11-21 16:56 | 2020-03-02 19:53 | 
| Reporter | ioritzCia | ||||
| Assigned To | Retail | ||||
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | acknowledged | Resolution | open | ||
| Platform | OS | 30 | OS Version | Ubuntu 18.04 | |
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | Gold | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0042364: [Performance] Create index to improve time of query to check if there are services for a product | ||||
| Description | The query makes a bitmapAnd Index scan and looses a lot of time in the re-check condition in the Bitmap Heap scan making a double partial double column index accelerates this a lot and avoids the re-check. Plan without index: https://explain.depesz.com/s/8To9 [^] Plan with index: https://explain.depesz.com/s/c6B [^]  | ||||
| Steps To Reproduce | Add a product to a ticket in WebPOS | ||||
| Proposed Solution | create index em_obpos_product_type_org on m_product (ad_org_id, producttype) where producttype = 'S' and islinkedtoproduct = 'Y'; The index is really small and affects very few rows due to producttype = 'S' and islinkedtoproduct = 'Y' clause  | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2019-11-21 16:56 | ioritzCia | New Issue | |||
| 2019-11-21 16:56 | ioritzCia | Assigned To | => Retail | ||
| 2019-11-21 16:56 | ioritzCia | OBNetwork customer | => Gold | ||
| 2019-11-21 16:56 | ioritzCia | Triggers an Emergency Pack | => No | ||
| 2020-03-02 19:51 | rqueralta | Assigned To | Retail => rqueralta | ||
| 2020-03-02 19:51 | rqueralta | Status | new => scheduled | ||
| 2020-03-02 19:53 | rqueralta | Status | scheduled => acknowledged | ||
| 2020-03-02 19:53 | rqueralta | Assigned To | rqueralta => Retail | ||
| There are no notes attached to this issue. |