Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024394Openbravo ERPY. DBSourceManagerpublic2013-07-22 14:302013-07-23 12:38
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
 
3.0MP25 
marvintm
Core
No
0024394: pl standardization on postgresql could be made 10s faster
The pl function/trigger standardization can be made 10s faster (timing from some specific machine).

This would lead to 10s better runtime of at least create.database & ant export.database (latter by reducing time of the translation consistency).

That export.database speedup would also apply to users running oracle
-
No tags attached.
Issue History
2013-07-22 14:30shuehnerNew Issue
2013-07-22 14:30shuehnerAssigned To => shuehner
2013-07-22 14:30shuehnerModules => Core
2013-07-22 14:30shuehnerTriggers an Emergency Pack => No
2013-07-22 14:30shuehnerReview Assigned To => marvintm
2013-07-22 21:24hgbotCheckin
2013-07-22 21:24hgbotNote Added: 0060152
2013-07-22 21:24hgbotStatusnew => resolved
2013-07-22 21:24hgbotResolutionopen => fixed
2013-07-22 21:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/dbsm-main/rev/3ad18aac5b9c5b93a36d770f0bc4f768b93a7158 [^]
2013-07-22 21:25hgbotCheckin
2013-07-22 21:25hgbotNote Added: 0060154
2013-07-22 21:25hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/dbsm-main/rev/3ad18aac5b9c5b93a36d770f0bc4f768b93a7158 [^] => http://code.openbravo.com/erp/devel/pi/rev/c7975027a5bcd52cacc073db8d16fe188b14c5cf [^]
2013-07-23 05:33hudsonbotCheckin
2013-07-23 05:33hudsonbotNote Added: 0060162
2013-07-23 12:38marvintmStatusresolved => closed
2013-07-23 12:38marvintmFixed in Version => 3.0MP25

Notes
(0060152)
hgbot   
2013-07-22 21:24   
Repository: erp/devel/dbsm-main
Changeset: 3ad18aac5b9c5b93a36d770f0bc4f768b93a7158
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Jul 22 14:38:49 2013 +0200
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/3ad18aac5b9c5b93a36d770f0bc4f768b93a7158 [^]

Fixed 24394: Improve performance of pl translation
- Add info message just after pl translation finished before creating
  db structure in create.database. Allows for easier comparison of runtime
  of the translation part.
- In translation of varchar2 lines do two changes
  - Simplify [\\s|\\t]. First \s does imply \t already so no need to redo that
    in the regex. Second the | here is probably unwanted as it is written inside
    [] so the regex will match a literal |. Cleaning that up as it seems to be
    wrong in context of that regex
  - Merge $1 and $2 part of the regex as they are not needed individually but
    just both regions together in the replacement part.
Both changes together lead to runtime of around 10s less on some specific machine.

---
M src/org/apache/ddlutils/platform/PlatformImplBase.java
M src/org/apache/ddlutils/platform/postgresql/PostgrePLSQLTranslation.java
---
(0060154)
hgbot   
2013-07-22 21:25   
Repository: erp/devel/pi
Changeset: c7975027a5bcd52cacc073db8d16fe188b14c5cf
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Jul 22 14:44:31 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c7975027a5bcd52cacc073db8d16fe188b14c5cf [^]

Fixed 24394, Fixed 24395. Commit dbsm changes to pi

---
M src-db/database/lib/dbsourcemanager.jar
---
(0060162)
hudsonbot   
2013-07-23 05:33   
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/6a3af4b90642 [^]

Maturity status: Test