Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0038708 | Retail Modules | Web POS | public | 2018-06-05 17:42 | 2018-06-06 10:38 |
| Reporter | jorge-garcia | ||||
| Assigned To | jorge-garcia | ||||
| Priority | normal | Severity | major | Reproducibility | sometimes |
| Status | scheduled | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0038708: BusinessPartner query from backend is slow if there exists 150.000+ rows | ||||
| Description | BusinessPartner query from backend is slow if there exists 150.000+ rows. After the analysis of the query, we detected that the performance problem was in the offset search of each page takes longer when the offset increase. | ||||
| Steps To Reproduce | 1) Execute JMeter test with 400 terminals doing login in 5 minutes. 2) Wait until server starts to be overloaded. 3) Check pg_stack_activity from server and realize the problem is that db threads are being consuming mostly from business partner sqls. | ||||
| Proposed Solution | Instead of using offset to get each page, use the alternative way of using the id to retrieve each page | ||||
| Additional Information | |||||
| Tags | Performance | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2018-06-05 17:42 | jorge-garcia | New Issue | |||
| 2018-06-05 17:42 | jorge-garcia | Assigned To | => jorge-garcia | ||
| 2018-06-05 17:42 | jorge-garcia | OBNetwork customer | => No | ||
| 2018-06-05 17:42 | jorge-garcia | Triggers an Emergency Pack | => No | ||
| 2018-06-05 17:42 | jorge-garcia | Tag Attached: Performance | |||
| 2018-06-06 10:38 | jorge-garcia | Status | new => scheduled | ||
| There are no notes attached to this issue. |