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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018313
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2011-08-18 13:522011-10-12 01:58
ReporteregoitzView Statuspublic 
Assigned Tomarvintm 
PriorityimmediateResolutionfixedFixed in Version3.0MP4
StatusclosedFix in branchFixed in SCM revision7e3fb4e2e7d4
ProjectionnoneETAnoneTarget Version3.0MP4
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version3.0MP2SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018313: Bad performance of the partner selector having arround 100.000 partners

DescriptionIn an application with arround 100.000 partners, the partner selector takes long to show the information, and also so filter data.
Steps To Reproduce-Enter 100.000 partners with location on the partner table. (you can use idl or a database script.
-Go to sales invoice.
-Create a new invoice
-Open de partner selector.
*It takes long to show and filter the data.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00181073.0MP4 closedalostale several minutes the CPU to 100 % when the table "product_price" has got a big number of records 

-  Notes
(0041061)
hgbot (developer)
2011-09-19 11:47

Repository: erp/devel/pi
Changeset: 7e3fb4e2e7d47d19406164738be63882fb51bde2
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 19 11:46:47 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7e3fb4e2e7d47d19406164738be63882fb51bde2 [^]

Fixed issue 18313. Performance of the Business partner selector has been improved.
A big improvement has been made by removing the count which (obviously) included retrieving all the selected records. However, although the selector is now usable, performance is still not ideal. To further improve it, separating the selector into multiple ones (ie. not having a business partner/business partner location/ business partner attributes selector) should be considered, because the custom query (which includes a 'distinct' operator) is what is currently killing performance.

---
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ReadOnlyDataSourceService.java
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
---
(0041192)
egoitz (developer)
2011-09-21 12:19

verified
(0041672)
hudsonbot (developer)
2011-10-12 01:58

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/9bd2b5c2d982 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-08-18 13:52 egoitz New Issue
2011-08-18 13:52 egoitz Assigned To => alostale
2011-08-18 13:52 egoitz Modules => Core
2011-08-18 13:54 egoitz Resolution time => 1315951200
2011-08-29 13:06 alostale Relationship added related to 0018107
2011-08-29 13:07 egoitz Target Version 2.50MP33 => 3.0RC4
2011-08-29 13:08 egoitz Target Version 3.0RC4 => 3.0MP4
2011-09-15 13:44 jonalegriaesarte Assigned To alostale => marvintm
2011-09-15 13:45 jonalegriaesarte Priority urgent => immediate
2011-09-19 11:47 hgbot Checkin
2011-09-19 11:47 hgbot Note Added: 0041061
2011-09-19 11:47 hgbot Status new => resolved
2011-09-19 11:47 hgbot Resolution open => fixed
2011-09-19 11:47 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7e3fb4e2e7d47d19406164738be63882fb51bde2 [^]
2011-09-21 12:19 egoitz Note Added: 0041192
2011-09-21 12:19 egoitz Status resolved => closed
2011-09-21 12:19 egoitz Fixed in Version => 3.0MP4
2011-10-12 01:58 hudsonbot Checkin
2011-10-12 01:58 hudsonbot Note Added: 0041672


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker