(0018120)
|
hgbot
|
2009-07-10 19:43
|
|
Repository: erp/stable/2.40
Changeset: 3d4dc5b588f721ce8a786009dd38de1ed19188e7
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Jul 10 19:43:16 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/3d4dc5b588f721ce8a786009dd38de1ed19188e7 [^]
Fixed 9837: Optimize ProductComplete selector performance with many products
- When use with command=KEY limit to two rows, as only one row content, and count={0,1,2} is needed here
- Better placement of limit/offset on postgres
- Better placement of rownum <= clause on oracle
- Remove unneded joins from count queries: countRowsNotStored & countRowsNotStoredTrl
- Merge these two count queries as they were identical after the last step
---
M src/org/openbravo/erpCommon/info/ProductComplete.java
M src/org/openbravo/erpCommon/info/ProductComplete_data.xsql
---
|
|