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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030197
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Valued Stock Enhancedmajoralways2015-06-17 10:302016-12-28 10:56
ReporterioritzCiaView Statuspublic 
Assigned Topsarobe 
PriorityhighResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version6
OS VersionUbuntu 14.04Database version9.3Ant version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Toaferraz
Regression introduced in release
Summary

0030197: Enhanced valued stock report's performance is bad when no warehouse is filtered.

DescriptionEnhanced valued stock report takes too long (12 min for example) if no warehouse is specified on the filters. The query is quite old and complex and should be refactored. Appart from refactoring it to work better, while improving it, it may now take the advantage of cost being in m_transaction table (it was not before).

You can go here http://explain.depesz.com/s/lZpm [^] to see an explain of the query. Takes too long to join m_inoutline and m_transaction tables, row 10 on the explain.

We have a clone of an instance where this can be reproduced.

Note: There is a collaborative development called Consolidation of stock pending to be accepted for 15PRQ4, this should also be reviewed.
Steps To Reproduce- Go to Enhanced Valued Stock Report in an instance with lots of transactions.
- Launch the report without warehouse filter.
Proposed SolutionRefactor the query.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of feature request 0034482 closedTriage Omni OMS Openbravo ERP Improve performance in Enhanced Valued Stock Report 
related to design defect 0031874 closedTriage Omni OMS Modules Performance problems in Valued Stock Report Enhanced 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-06-17 10:30 ioritzCia New Issue
2015-06-17 10:30 ioritzCia Assigned To => jonalegriaesarte
2015-06-18 09:51 egoitz Resolution time => 1437343200
2015-06-22 13:06 jpcalvente Issue Monitored: jpcalvente
2015-06-22 13:34 VictorVillar Assigned To jonalegriaesarte => Triage Finance
2015-06-26 14:49 VictorVillar Assigned To Triage Finance => psarobe
2016-01-13 16:59 dmiguelez Relationship added related to 0031874
2016-04-22 14:41 ngarcia Issue Monitored: ngarcia
2016-12-28 10:56 aferraz Review Assigned To => aferraz
2016-12-28 10:56 aferraz Relationship added duplicate of 0034482
2016-12-28 10:56 aferraz Status new => closed
2016-12-28 10:56 aferraz Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker