Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011451Openbravo ERPA. Platformpublic2009-11-20 20:322009-12-12 00:00
networkb 
shuehner 
highmajoralways
closedno change required 
20Community Appliance
2.40MP10 
2.40MP12 
Core
No
0011451: Time response of query generated by WAD is very high
In goodshipments window, in tab lines, the query generated by WAD to create a new record (set) is very slow when exists a lot of shipments.
enviroment with 20.000 shipments and 200.000 shipments lines.
Sales Management || Transactions || Goods Shipment || Header >> Lines ->
  edit line and click "save and new" button
the time to response is higher than 6 seconds
No tags attached.
related to backport 00109892.40MP11 closed shuehner Time response of query generated by WAD is very high 
depends on backport 00115302.40MP12 closed shuehner Time response of query generated by WAD is very high 
Issue History
2009-11-20 20:32networkbNew Issue
2009-11-20 20:32networkbAssigned To => rafaroda
2009-11-23 08:16rafarodaNote Added: 0022084
2009-11-23 08:16rafarodaAssigned Torafaroda => shuehner
2009-11-23 10:29shuehnerRelationship addedrelated to 0010989
2009-11-23 11:21shuehnerNote Added: 0022100
2009-11-23 11:43rafarodaNote Added: 0022103
2009-11-23 11:43rafarodaStatusnew => feedback
2009-11-23 13:13rafarodaIssue Monitored: rafaroda
2009-11-24 19:05networkbNote Added: 0022144
2009-11-25 10:08rafarodaNote Added: 0022158
2009-11-25 10:08rafarodaStatusfeedback => new
2009-11-27 15:21rafarodaPriorityimmediate => high
2009-11-27 15:21rafarodaStatusnew => scheduled
2009-11-27 15:21rafarodafix_in_branch => pi
2009-12-11 16:22shuehnerNote Added: 0022712
2009-12-11 16:22shuehnerStatusscheduled => closed
2009-12-11 16:22shuehnerResolutionopen => no change required
2009-12-12 00:00anonymoussf_bug_id0 => 2912998

Notes
(0022084)
rafaroda   
2009-11-23 08:16   
Stefan,

Can you please comment on this Openbravo ERP 2.40 issue?

Thanks.
(0022100)
shuehner   
2009-11-23 11:21   
According to the reporter i assume it is the same problem as in 10989 just in a different place. Some queries to not add the to_number function calls for id's. Which works in this case but can be quite slow, if the queried table contains many rows. Seems like the issue here is in some of the selectDef* methods generated by wad.
If this is the same issue as in 10989 then it concerns only 2.40 and only postgres.
(0022103)
rafaroda   
2009-11-23 11:43   
Thank you very much for your comments Stefan.

@networkb: 0010989 seems to have been fixed in Openbravo ERP 2.40 MP11. Please try to reproduce this issue there and inform about the result.

Thanks.
(0022144)
networkb   
2009-11-24 19:05   
i have applied the patch of 10989 ticket and the time is better in some queries, but to create new record in this window, the time is very high.
(0022158)
rafaroda   
2009-11-25 10:08   
Stefan, should we schedule this defect?
(0022712)
shuehner   
2009-12-11 16:22   
Issue is only related to 2.40 and postgres >=8.3. Closing defect, 2.40 will be handled in the scheduled backport.