Measure analytics query plans and throughput #103

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

Summary

Measure analytics query plans and throughput.

Background and evidence

Statistics scalar counts combined atf604f028:SQLite5to3commands(active)/4to2empty,51related+1SQLgenerationchecks pass. Actual MariaDB execution qualified at63db9c8a (98 prior-source cases); plans/throughput remain unqualified. AnalyticsService already projects counts, date groups and bounded inputs. Measure serial counts and group scans before combining SQL or caching. Career completeness is computed from the current profile. Preserve null/deleted/stage/date semantics and mutation consistency.

Scope and expected outcome

Career completeness is computed from the current profile. Preserve null/deleted/stage/date semantics and mutation consistency.

Acceptance criteria

  • Career completeness is computed from the current profile. Preserve null/deleted/stage/date semantics and mutation consistency.
  • 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 analytics query plans and throughput. ### Background and evidence Statistics scalar counts combined atf604f028:SQLite5to3commands(active)/4to2empty,51related+1SQLgenerationchecks pass. Actual MariaDB execution qualified at63db9c8a (98 prior-source cases); plans/throughput remain unqualified. `AnalyticsService` already projects counts, date groups and bounded inputs. Measure serial counts and group scans before combining SQL or caching. Career completeness is computed from the current profile. Preserve null/deleted/stage/date semantics and mutation consistency. ### Scope and expected outcome Career completeness is computed from the current profile. Preserve null/deleted/stage/date semantics and mutation consistency. ### Acceptance criteria - [ ] Career completeness is computed from the current profile. Preserve null/deleted/stage/date semantics and mutation consistency. - [ ] 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#L269) <!-- jobbjakt:F-PERF-06 --> ### Related work Parent epic: #36 <!-- jobbjakt-links -->
cesnimda added the Status/Ready label 2026-12-02 13:30:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/jobtrackingapp#103