Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0040241 | Openbravo ERP | 09. Financial management | public | 2019-02-14 16:06 | 2019-02-20 15:27 | |||||||
| Reporter | joniturralde93 | |||||||||||
| Assigned To | AtulOpenbravo | |||||||||||
| Priority | urgent | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | 3.0PR18Q3.3 | |||||||||||
| Target Version | 3.0PR18Q4.2 | Fixed in Version | 3.0PR18Q4.2 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | Sandrahuguet | |||||||||||
| OBNetwork customer | Gold | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | 7685 | |||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0040241: Unpost process can be very slow | |||||||||||
| Description | In a customer instance with a lot of data in FACT_ACCT, the queries are too slow when filtering by record_id. Attached query from ResetAccounting (getDocbasetypes method) which makes the process slow. Also attached explain analyze before and after our proposed solution. | |||||||||||
| Steps To Reproduce | In customer environment: 1. Go to goods shipment. 2. Unpost a record. 3. Process time can vary, but sometimes can easily take 30-60 mins Almost all the time consumed by the attached query. | |||||||||||
| Proposed Solution | CREATE INDEX FACT_ACCT_RECORDID ON FACT_ACCT(recordid); | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2019-02-20 10:11 | AtulOpenbravo | Type | defect => backport | |||||||||
| 2019-02-20 10:11 | AtulOpenbravo | Target Version | 3.0PR18Q3.3 => 3.0PR18Q4.2 | |||||||||
| 2019-02-20 15:26 | hgbot | Checkin | ||||||||||
| 2019-02-20 15:26 | hgbot | Note Added: 0109960 | ||||||||||
| 2019-02-20 15:26 | hgbot | Status | scheduled => resolved | |||||||||
| 2019-02-20 15:26 | hgbot | Resolution | open => fixed | |||||||||
| 2019-02-20 15:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR18Q4.2/rev/bf5f0343dba5aa733d8e7c74d9ee9461621a6daf [^] | |||||||||
| 2019-02-20 15:27 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||
| 2019-02-20 15:27 | Sandrahuguet | Note Added: 0109961 | ||||||||||
| 2019-02-20 15:27 | Sandrahuguet | Status | resolved => closed | |||||||||
| 2019-02-20 15:27 | Sandrahuguet | Fixed in Version | => 3.0PR18Q4.2 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||