
|
If you were logged in you would be able to see more operations.
|
|
|
Sakai
Created: 21-Nov-2005 19:36
Updated: 24-Oct-2008 06:40
|
|
| Component/s: |
Global
|
| Affects Version/s: |
2.1.0
|
| Fix Version/s: |
2.1.0
|
|
|
Environment:
|
Sakai with Oracle
|
|
| 2.4.x Status: |
None
|
| 2.5.x Status: |
None
|
| 2.6.x Status: |
None
|
|
Certain SQL commands and settings were found to be major performance problems with CTools' Oracle. These were:
- validating the db connection with a simple SQL statement
- setting the default transaction isolation level
(Note: doing a rollback after each connection use, and setting the auto-commit each time to the default value were also a problem and have been fixed already in the TRUNK)
Changes were put in CTools to address this, but the kernel db configuration was not structured to allow these changes to be applied to the TRUNK, so that the OOTB Sakai supports HSQLDB with these settings, and for Oracle, we can disable them as needed in the sakai.properties files.
Change the kernel db configuration to allow this, and recommend the Oracle settings (here, and in the various distributed properties files and examples).
|
|
Description
|
Certain SQL commands and settings were found to be major performance problems with CTools' Oracle. These were:
- validating the db connection with a simple SQL statement
- setting the default transaction isolation level
(Note: doing a rollback after each connection use, and setting the auto-commit each time to the default value were also a problem and have been fixed already in the TRUNK)
Changes were put in CTools to address this, but the kernel db configuration was not structured to allow these changes to be applied to the TRUNK, so that the OOTB Sakai supports HSQLDB with these settings, and for Oracle, we can disable them as needed in the sakai.properties files.
Change the kernel db configuration to allow this, and recommend the Oracle settings (here, and in the various distributed properties files and examples).
|
Show » |
|
defaultTransactionIsolationString@javax.sql.BaseDataSource=TRANSACTION_READ_COMMITTED
* * *
For Oracle, we (CTools at University of Michigan) found it best for performance to leave the validation query and isolation level default unset. To get these values unset now, put this in you sakai.properties file:
# for best oracle performance
validationQuery@javax.sql.BaseDataSource=
testOnBorrow@javax.sql.BaseDataSource=false
defaultTransactionIsolationString@javax.sql.BaseDataSource=