Notes |
|
|
|
|
(0026632)
|
hgbot
|
2010-04-23 13:51
|
|
Repository: erp/devel/pi
Changeset: 174274efc18c13327497926aa3591056b0199a20
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 23 13:51:11 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/174274efc18c13327497926aa3591056b0199a20 [^]
fixed bug 12683: Oracle build takes a lot of time
---
M build.xml
M config/Openbravo.properties.template
M src-wad/build.xml
M src/build.xml
M src/buildAD.xml
---
|
|
|
|
|
|
|
|
|
|
Reopening as some issues should be adressed.
The change done (if activated) is fixing the speed issue.
However two topic should be fixed:
a.) current change does set the property to "", instead of not setting it at all. Better would be to not touch the setting in this case (will add prototype diff to do that in a few minuteS)
b.) the change should be added to more actions doing something with the db (src-trl/build.xml, at least trl.lib, trl.clean, translate, (remove unuseD), and i.e. update.database (and more in src-db/database/build.xml) |
|
|
(0027366)
|
hgbot
|
2010-05-17 14:01
|
|
Repository: erp/devel/pi
Changeset: 2ccd08241915e13368092cec3eeb43f20c3b9fd4
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon May 17 13:54:40 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2ccd08241915e13368092cec3eeb43f20c3b9fd4 [^]
Related to bug 12683: Revert changes
Backed out changeset 174274efc18c
---
M build.xml
M config/Openbravo.properties.template
M src-wad/build.xml
M src/build.xml
M src/buildAD.xml
---
|
|
|
|
|
|
|
Note: Issue also happens in 2.40/oracle at runtime inside tomcat. Adding debugging code to the getPhysicalConnection from oracle (into pool) shows:
Getting new physical db-connection
Established new connection. Took: (getConnection - executeDefaultSQL): 30565 - 104
Getting new physical db-connection
Established new connection. Took: (getConnection - executeDefaultSQL): 25256 - 2
Where first time is time to get the connection (in ms) and second time is time needed to execute sessionConfig statement (just for completenesS) |
|
|
(0027980)
|
hgbot
|
2010-06-04 14:45
|
|
Repository: erp/devel/pi
Changeset: b349f71af836d8ef28e740673eb9414fd801b2ce
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 23 13:51:11 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b349f71af836d8ef28e740673eb9414fd801b2ce [^]
fixed bug 12683: Oracle build takes a lot of time
---
M build.xml
M config/Openbravo.properties.template
M src-wad/build.xml
M src/build.xml
M src/buildAD.xml
---
|
|
|
|
|
|
|
|
|
(0028292)
|
hgbot
|
2010-06-11 09:42
|
|
Repository: erp/devel/pi
Changeset: 85eb92e7e94b6901b4107033b35a16054c9a2d75
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jun 10 16:29:24 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/85eb92e7e94b6901b4107033b35a16054c9a2d75 [^]
Fixed issue 12683. Committed previous fix but with two improvements:
now the property is set if it needs to be, and not touched if it doesn't
hopefully all relevant tasks should have the property now
---
M build.xml
M config/Openbravo.properties.template
M src-db/database/build.xml
M src-trl/build.xml
M src-util/buildvalidation/build.xml
M src-util/modulescript/build.xml
M src-wad/build.xml
M src/build.xml
M src/buildAD.xml
---
|
|
|
|
|
|
(0028450)
|
hgbot
|
2010-06-15 15:36
|
|
|
|
|
Tested on pi/oracle, with the newparameter getting a connection took about 10-20s in the test-system. Using the new parameter this time went down to <=200ms n the same environment.
Property usage has been added to all build-targets where this is possible without big restructuring of the build scripts.
Patch only adds functional changes if the property is explicitely activated in the Openbravo.properties file. |
|
|
|
|