Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009641Openbravo ERPA. Platformpublic2009-06-25 16:362009-07-23 00:00
shuehner 
shuehner 
normalmajorhave not tried
closedfixed 
5
2.40 
2.50MP3 
Core
No
0009641: Navigating to first record in generated windows is too slow with many records.
Example: #products = 1.000.000
Opening the product window in edit mode. Then press ok in the automatically opened search popup. Retrieving the first product (which is shown after pressing OK) takes more than 1.5s for a single user.

This is too slow when you try to scale to many users.
See description.
250MP3releasecandidate, leo
depends on backport 0009642 closed shuehner Navigating to first record in generated windows is too slow with many records. 
Issue History
2009-06-25 16:36shuehnerNew Issue
2009-06-25 16:36shuehnerAssigned To => shuehner
2009-06-25 16:36shuehnerStatusnew => scheduled
2009-06-25 16:36shuehnerfix_in_branch => pi
2009-06-25 16:55hgbotCheckin
2009-06-25 16:55hgbotNote Added: 0017590
2009-06-25 16:55hgbotStatusscheduled => resolved
2009-06-25 16:55hgbotResolutionopen => fixed
2009-06-25 16:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/79d24670c33942d5d80fb61c7d09440e9f6e782d [^]
2009-06-25 17:11shuehnerNote Added: 0017593
2009-07-21 16:24psarobeFixed in Version => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-21 18:43psarobeTag Attached: leo
2009-07-22 06:30elopioStatusresolved => closed
2009-07-23 00:00anonymoussf_bug_id0 => 2825605

Notes
(0017590)
hgbot   
2009-06-25 16:55   
Repository: erp/devel/pi
Changeset: 79d24670c33942d5d80fb61c7d09440e9f6e782d
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Thu Jun 25 16:55:10 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/79d24670c33942d5d80fb61c7d09440e9f6e782d [^]

Fixed 9641: Improve performance of generated window navigation
- Move rownum on oracle to better location
- Embedd limit/offset/rownum parameter values into sql-string instead of using preparedstatement parameters

---
M src/org/openbravo/erpCommon/utility/TableSQLData.java
---
(0017593)
shuehner   
2009-06-25 17:11   
@qa: this change affects all generated windows in edit & grid view.
- Navigation: first/previous/next/last
- grid edit->grid & grid->edit view
- scrolling in edit view (check for no duplicate rows, and no missing rows)
-- all three above with different sort order/filter/language (en_us + one more)