Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024694 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2013-09-04 17:57 | 2013-09-17 19:02 | |||
Reporter | egoitz | View Status | public | |||||
Assigned To | shankarb | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP27 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e22dd1199630 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | PostgreSQL | Java version | ||||
OS Version | Database version | 9.1 | Ant version | |||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | AugustoMauch | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0024694: After adding product characteristics to core the product simple selector has bad performance. | |||||||
Description | A now join has been included on the productsimple selector. left join p.genericProduct gp This makes the query slow with big amount of data | |||||||
Steps To Reproduce | On a product with thousendof products with arrond 30 price lists the selector takes 2 seconds to show data. | |||||||
Proposed Solution | Create the following index CREATE INDEX m_product_gen__prod ON m_product USING btree (Generic_Product_ID COLLATE pg_catalog."default" ); analyze m_product; | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0060925) hgbot (developer) 2013-09-05 09:00 |
Repository: erp/devel/pi Changeset: e22dd1199630733aa54d13e028c028070bb07479 Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com> Date: Thu Sep 05 12:28:10 2013 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/e22dd1199630733aa54d13e028c028070bb07479 [^] Fixes Issue 0024694: Added index to m_product to improve simple product selector performance Added index m_product_gen_prod for m_product table. --- M src-db/database/model/tables/M_PRODUCT.xml --- |
(0061056) AugustoMauch (administrator) 2013-09-10 17:37 |
Code reviewed and verified in pi@e22dd1199630733aa54d13e028c028070bb07479 |
(0061219) hudsonbot (viewer) 2013-09-17 19:02 |
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/1c53d622fc50 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2013-09-04 17:57 | egoitz | New Issue | |
2013-09-04 17:57 | egoitz | Assigned To | => AugustoMauch |
2013-09-04 17:57 | egoitz | Modules | => Core |
2013-09-04 17:57 | egoitz | OBNetwork customer | => Yes |
2013-09-04 17:57 | egoitz | Triggers an Emergency Pack | => No |
2013-09-04 17:57 | egoitz | Tag Attached: Performance | |
2013-09-05 08:41 | shankarb | Assigned To | AugustoMauch => shankarb |
2013-09-05 08:58 | shankarb | Review Assigned To | => AugustoMauch |
2013-09-05 08:58 | shankarb | Issue Monitored: AugustoMauch | |
2013-09-05 09:00 | hgbot | Checkin | |
2013-09-05 09:00 | hgbot | Note Added: 0060925 | |
2013-09-05 09:00 | hgbot | Status | new => resolved |
2013-09-05 09:00 | hgbot | Resolution | open => fixed |
2013-09-05 09:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e22dd1199630733aa54d13e028c028070bb07479 [^] |
2013-09-10 17:37 | AugustoMauch | Note Added: 0061056 | |
2013-09-10 17:37 | AugustoMauch | Status | resolved => closed |
2013-09-10 17:37 | AugustoMauch | Fixed in Version | => 3.0MP27 |
2013-09-17 19:02 | hudsonbot | Checkin | |
2013-09-17 19:02 | hudsonbot | Note Added: 0061219 |
Copyright © 2000 - 2009 MantisBT Group |