Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009909Openbravo ERPA. Platformpublic2009-07-15 15:282009-07-22 13:28
shuehner 
shuehner 
normalmajorhave not tried
closedfixed 
5
pi 
2.40MP8 
No
Core
No
0009909: Business Partner Multiple selector is slow with many business partners
This selector is slow with many business partners (i.e. 50k -100k)
No tags attached.
blocks defect 0009908 closed shuehner Business Partner Multiple selector is slow with many business partners 
Issue History
2009-07-15 15:32shuehnerTypedefect => backport
2009-07-15 15:32shuehnerfix_in_branch => 2.40
2009-07-17 15:23hgbotCheckin
2009-07-17 15:23hgbotNote Added: 0018374
2009-07-17 15:23hgbotStatusscheduled => resolved
2009-07-17 15:23hgbotResolutionopen => fixed
2009-07-17 15:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/011b8bbc6fd3dae4187d361bb60cb045e3850261 [^]
2009-07-22 13:28sureshbabuStatusresolved => closed
2009-07-22 13:28sureshbabuNote Added: 0018554
2009-07-22 13:28sureshbabuFixed in Version => 2.40MP8

Notes
(0018374)
hgbot   
2009-07-17 15:23   
Repository: erp/stable/2.40
Changeset: 011b8bbc6fd3dae4187d361bb60cb045e3850261
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed Jul 15 15:51:20 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/011b8bbc6fd3dae4187d361bb60cb045e3850261 [^]

Fixed 9909: Improve performance of the BusinessPartnerMultiple selector
- use select count(*) query for counting rows in current filter
- optimized placement of limit/offset & rownum on postgres/oracle
- refactor some unneeded coalesce in the query

---
M src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java
M src/org/openbravo/erpCommon/info/BusinessPartnerMultiple_data.xsql
---
(0018554)
sureshbabu   
2009-07-22 13:28   
Tested working fine