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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037581
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail Widgetsminorhave not tried2018-01-03 22:132018-01-09 21:55
ReporteryaimaView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava 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

0037581: Slowness when executing Widget query.

DescriptionThe widget (Best Selling Store) takes 5 minutes to execute the query for environments with 23 or more organizations when trying to obtain sales for the date range from 01-01-1900 to 01-01-2999 used by the client. For a date range of one year, the execution time is approximately 2 min.


The query was executed in a test with 13 organization and took 3 min to execute. Although in the query between the tables and the joints it is not so slow, it has an acceptable cost (img 1), but when does the summation, the cost increases a lot (img 2), so that the execution time is doubled or more for those who have more data.

It was reviewed and found through ticket 49988.
Steps To Reproduce1. Add a new widget to the workspace
2. Select the Best Selling Store widget.
3. Fill the parameters for the widget (one year range as input parameter)
4. Analyze the cost of the query using any explanation tool
TagsNo tags attached.
Attached Fileszip file icon IMG.zip [^] (218,954 bytes) 2018-01-03 22:13

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-01-03 22:13 yaima New Issue
2018-01-03 22:13 yaima Assigned To => Retail
2018-01-03 22:13 yaima File Added: IMG.zip
2018-01-03 22:13 yaima Triggers an Emergency Pack => No
2018-01-04 15:13 rbianchini Issue Monitored: rbianchini
2018-01-08 12:36 Practics Issue Monitored: Practics
2018-01-09 21:55 rbianchini Severity trivial => minor


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker