Details
Description
On MySQL and H2, mybatis pagination does not scale: if you do a
taskService.createTaskQuery().listPage(0,1)
Mybatis issues a SELECT * FROM ACT_RU_TASK_ (without something like "LIMIT 0,1").
Under the hood, Mybatis tries to use Scrollable JDBC ResultSets which is only partially supported on MySQL and H2.
This causes the database to fetch ALL
records and cache them in memory where we then only use a certain page.
Activity
Daniel Meyer (camunda)
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | In Progress [ 3 ] |
Daniel Meyer (camunda)
made changes -
| Source ID | HEMERA-2165 |
Tom Baeyens
made changes -
| Fix Version/s | 5.11 [ 18342 ] | |
| Fix Version/s | 5.10 [ 18341 ] |
Bernd Ruecker (camunda)
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Fix Version/s | 5.10 [ 18341 ] | |
| Fix Version/s | 5.11 [ 18342 ] | |
| Resolution | Fixed [ 1 ] |