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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029226
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementmajoralways2015-03-10 16:322015-05-07 22:16
ReporteregoitzView Statuspublic 
Assigned ToTriage Omni WMS 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisionf431237fa5b4
ProjectionnoneETAnoneTarget Version3.0PR15Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toumartirena
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029226: The value stock reports is slow with many rows on the m_transaction_cost table and most of the them are for the same locator

DescriptionThe execution of the report for an environment with the folloiwng amount of that on the affected tables takes arround 20 minutes.
Most of the transactions are for the same locator.

'm_transaction_cost';385315
'm_inout';26405
'm_product';3530
Steps To ReproduceExecute the report without selecting product categories for a date bigger than the biggest one on the transaction cost table.

After execute the information of the sequencial scans igoniring the information genrated by the ad_column_identifier table is the following:
table,tot,seq_scan
'm_transaction_cost';385315;1
'm_inout';26405;1
'm_product';3530;1
'm_product_category';135;1
'c_uom';14;1
'm_locator';8;1

TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0076785)
hgbot (developer)
2015-04-27 14:04

Repository: erp/devel/pi
Changeset: f431237fa5b4a609157730ed5a234e7dbcc8cb60
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Apr 16 10:17:04 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f431237fa5b4a609157730ed5a234e7dbcc8cb60 [^]

Fixed issue 29226: Value stock report is slow with many rows on m_transaction

The value stock reports is slow with many rows on the m_transaction_cost table
and most of the them are for the same locator.

The problem was in the sql query from the report. This query needed an
improvement.

The sql query from ReportValuationStockData has changed and now the report is
faster and the return values are the same as before.

---
M src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_data.xsql
---
(0076786)
umartirena (reporter)
2015-04-27 14:05

Code Review + Testing OK
(0077161)
hudsonbot (developer)
2015-05-07 22:16

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/a1817f84bd8b [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-03-10 16:32 egoitz New Issue
2015-03-10 16:32 egoitz Assigned To => Sandrahuguet
2015-03-10 16:32 egoitz Modules => Core
2015-03-10 16:32 egoitz Resolution time => 1396303200
2015-03-10 16:32 egoitz Triggers an Emergency Pack => No
2015-03-10 16:34 egoitz Tag Attached: Performance
2015-03-26 11:46 egoitz Type design defect => defect
2015-03-26 11:47 egoitz Resolution time 1396303200 => 1397599200
2015-04-14 12:48 Triage Finance Assigned To Sandrahuguet => Triage Finance
2015-04-15 10:16 ngarcia Issue Monitored: ngarcia
2015-04-17 16:55 agarcia_tegik Issue Monitored: agarcia_tegik
2015-04-27 14:04 hgbot Checkin
2015-04-27 14:04 hgbot Note Added: 0076785
2015-04-27 14:04 hgbot Status new => resolved
2015-04-27 14:04 hgbot Resolution open => fixed
2015-04-27 14:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f431237fa5b4a609157730ed5a234e7dbcc8cb60 [^]
2015-04-27 14:05 umartirena Review Assigned To => umartirena
2015-04-27 14:05 umartirena Note Added: 0076786
2015-04-27 14:05 umartirena Status resolved => closed
2015-04-27 14:05 umartirena Fixed in Version => pi
2015-05-07 22:16 hudsonbot Checkin
2015-05-07 22:16 hudsonbot Note Added: 0077161


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker