Measure MariaDB plans and index write tradeoffs #100

Open
opened 2026-12-02 13:21:41 +01:00 by cesnimda · 0 comments
Owner

Summary

Measure MariaDB plans and index write tradeoffs.

Background and evidence

JobTrackerContext indexes tenant jobs, follow-ups, documents, revisions, queues, notifications and saved searches. Check actual MariaDB plans for default application sorting, agenda, Audit timestamp and due operations on representative tenants. Compare rows examined, p95 and write cost. Migration gates remain.

Scope and expected outcome

Compare rows examined, p95 and write cost. Migration gates remain.

Acceptance criteria

  • Compare rows examined, p95 and write cost. Migration gates remain.
  • Use comparable baseline and candidate workloads. Keep production, schema and topology changes separately authorised.

Testing requirements

Record source, fixture size, environment, repetitions and latency or cost distribution. Preserve correctness under the same workload.

Dependencies and compatibility

Initial disposition: Ready. Production changes require separate release approval.

Definition of done

Link the verified result, revision or decision and remaining limitations. Obtain the acceptance required above before closing.

References

Related work

Parent epic: #36

### Summary Measure MariaDB plans and index write tradeoffs. ### Background and evidence `JobTrackerContext` indexes tenant jobs, follow-ups, documents, revisions, queues, notifications and saved searches. Check actual MariaDB plans for default application sorting, agenda, Audit timestamp and due operations on representative tenants. Compare rows examined, p95 and write cost. Migration gates remain. ### Scope and expected outcome Compare rows examined, p95 and write cost. Migration gates remain. ### Acceptance criteria - [ ] Compare rows examined, p95 and write cost. Migration gates remain. - [ ] Use comparable baseline and candidate workloads. Keep production, schema and topology changes separately authorised. ### Testing requirements Record source, fixture size, environment, repetitions and latency or cost distribution. Preserve correctness under the same workload. ### Dependencies and compatibility Initial disposition: Ready. Production changes require separate release approval. ### Definition of done Link the verified result, revision or decision and remaining limitations. Obtain the acceptance required above before closing. ### References - [Evidence 1](https://git.cesnimda.uk/cesnimda/jobtrackingapp/src/commit/b8d26aab2b52750cffa8de00578b982899942892/docs/direct-roadmap/ROADMAP_TODO.md#L266) <!-- jobbjakt:F-PERF-03 --> ### Related work Parent epic: #36 <!-- jobbjakt-links -->
cesnimda added the Status/Ready label 2026-12-02 13:30:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/jobtrackingapp#100