-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
MyBatis has the special mode of pprocessing SQL statements in batches.
The task is:
- to switch it on
- to measure performance improvement
This is the controller panel for Smart Panels app
[CAM-8327] Switch on MyBatis batch processing mode
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Fix Version/s | New: 7.8.0 [ 14894 ] |
Summary | Original: Switch on MyBatis "reuse prepared statements" mode | New: Switch on MyBatis batch processing mode |
Description |
Original:
MyBatis has the special mode of reusing prepared statements when executing queries.
The task is: * to switch it on * to measure performance improvement |
New:
MyBatis has the special mode of pprocessing SQL statements in batches.
The task is: * to switch it on * to measure performance improvement |
Assignee | Original: Svetlana Dorokhova [ svetlana.dorokhova ] | New: Roman Smirnov [ roman.smirnov ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Remaining Estimate | New: 0 minutes [ 0 ] | |
Original Estimate | New: 0 minutes [ 0 ] |
Assignee | Original: Roman Smirnov [ roman.smirnov ] | New: Svetlana Dorokhova [ svetlana.dorokhova ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Performance test consisted of the following:
1. FULL history level
2. Process looks like this:
3. Process is started with 500 process variables. 1st Service task does nothing, but the transaction is committed after it is completed (asyncAfter). 2nd service task update all 500 process variables with new values and the transaction is committed afterwards. 3rd service task removes all the variables and process finishes.
The testing was done with the help of QA Performance test suite. It was running the test in 2 threads with 50 repeations. The result are the following:
It looks like MySQL does not distinguish batch and not batch operations, but SQL Server and Oracle do.