Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0038708 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| defect | [Retail Modules] Web POS | major | sometimes | 2018-06-05 17:42 | 2018-06-06 10:38 | |||||||
| Reporter | jorge-garcia | View Status | public | |||||||||
| Assigned To | jorge-garcia | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| 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 | |||||||||||
| Tags | Performance | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
| Copyright © 2000 - 2009 MantisBT Group |