Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038708
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2018-06-05 17:422018-06-06 10:38
Reporterjorge-garciaView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038708: BusinessPartner query from backend is slow if there exists 150.000+ rows

DescriptionBusinessPartner 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 Reproduce1) 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 SolutionInstead of using offset to get each page, use the alternative way of using the id to retrieve each page
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker