Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0024680 | Openbravo ERP | A. Platform | public | 2013-09-03 14:53 | 2013-09-17 19:02 |
|
Reporter | shuehner | |
Assigned To | shuehner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP28 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0024680: Improve performance of translation import - part2 |
Description | The translation import code is doing a commit per inserted translation row. That is very inefficient for performance.
Doing 1 commit per imported file does improve performance a lot. |
Steps To Reproduce | Install i.e. spanish core translation module and observe runtime of the part importing translation into the database. |
Proposed Solution | |
Additional Information | |
Tags | Performance |
Relationships | related to | defect | 0024533 | 3.0MP27 | closed | shuehner | Improve performance of translation import |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-09-03 14:53 | shuehner | New Issue | |
2013-09-03 14:53 | shuehner | Assigned To | => shuehner |
2013-09-03 14:53 | shuehner | Modules | => Core |
2013-09-03 14:53 | shuehner | OBNetwork customer | => No |
2013-09-03 14:53 | shuehner | Triggers an Emergency Pack | => No |
2013-09-03 14:54 | shuehner | Relationship added | related to 0024533 |
2013-09-04 15:51 | hgbot | Checkin | |
2013-09-04 15:51 | hgbot | Note Added: 0060917 | |
2013-09-04 15:51 | hgbot | Status | new => resolved |
2013-09-04 15:51 | hgbot | Resolution | open => fixed |
2013-09-04 15:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d9b490f70ad2976ec248bcaf37ae8cf53e252847 [^] |
2013-09-04 15:53 | shuehner | Review Assigned To | => alostale |
2013-09-04 15:53 | shuehner | Note Added: 0060919 | |
2013-09-04 15:53 | alostale | Tag Attached: Performance | |
2013-09-13 07:55 | alostale | Note Added: 0061123 | |
2013-09-13 07:55 | alostale | Status | resolved => closed |
2013-09-13 07:55 | alostale | Fixed in Version | => 3.0MP28 |
2013-09-17 19:02 | hudsonbot | Checkin | |
2013-09-17 19:02 | hudsonbot | Note Added: 0061217 | |
Notes |
|
(0060917)
|
hgbot
|
2013-09-04 15:51
|
|
Repository: erp/devel/pi
Changeset: d9b490f70ad2976ec248bcaf37ae8cf53e252847
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed Sep 04 15:49:58 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d9b490f70ad2976ec248bcaf37ae8cf53e252847 [^]
Fixed 24680: Speed up translation import by not doing commits per _trl row.
This commit changes translation import to not do an implicit commit per row
updated but bigger transaction + a single commit per imported xml file.
This speed ups translation import greatly.
---
M src/org/openbravo/erpCommon/ad_forms/TranslationHandler.java
M src/org/openbravo/erpCommon/ad_forms/TranslationManager.java
---
|
|
|
|
Testing done:
preparation: install spanish core translations
- ant apply.module (on postgres + oracle)
Rest of tests only done on postgres as there is no special need to repeat on both db's
- export translation to attachment folder via application (import/export translation window)
- import translation via same window
- install 'Translation management extension' module
- Use export+import using that module for the module containing the spanish core translation (two new buttons in module window).
|
|
|
|
Code reviewed + tested in Oracle and PG |
|
|
|
|