Status-only turn-item read: production server service measurement
Environment: Linux x86_64; Node v26.13.1; same machine, sequential runs
Method: production ProjectionStore and migrated SQLite persistence; real reader/writer workers.
Seed: 31,000 target items (~96 MiB text), nine live items; 31,000 unrelated padding items.
Database: ~3.33 GiB each; identical deterministic events applied through production ProjectionStore.apply.
Warm: 1 discarded warmup then 15 reads per commit.
Cold: 7 fresh processes per commit, alternating order; POSIX_FADV_DONTNEED on own DB before opening.
No global cache flush. Migration/setup work happens before timing.
Timing: complete getThreadRecords effect, including reader routing, transaction, query and payload decode.
Not measured: HTTP/WebSocket or a user interaction.

BASE 90fc3e900b3d839d0be2fc5b49e60b71a52b9c61
Database bytes: 3574763520
warm: 30.225, 27.407, 26.541, 26.121, 26.798, 26.954, 26.912, 27.022, 26.957, 27.227, 27.513, 28.803, 29.187, 28.392, 26.267 ms
median 27.022 ms; range 26.121-30.225; spread 4.104
cold: 3083.276, 3247.225, 3014.906, 2892.062, 2966.711, 3618.205, 2942.871 ms
median 3014.906 ms; range 2892.062-3618.205; spread 726.142
Returned ordinals: [3100, 6200, 9300, 12400, 15500, 18600, 21700, 24800, 27900]
SHA256 of entire returned records: f51945078b35747aa728a74450c54e77df1a1a16b0b60753e443c1e75cf659cb
Query plan:
SEARCH orchestration_v2_projection_turn_items USING INDEX orchestration_v2_projection_turn_items_thread_ordinal_idx (thread_id=?)
LIST SUBQUERY 1
SCAN json_each VIRTUAL TABLE INDEX 1:
CREATE BLOOM FILTER

HEAD 1afd5cb2123eda0364897765ff8391d8aadc613f
Database bytes: 3574763520
warm: 2.137, 2.223, 2.499, 1.995, 1.983, 1.680, 1.786, 1.817, 1.685, 1.691, 1.651, 1.635, 1.634, 1.633, 1.601 ms
median 1.691 ms; range 1.601-2.499; spread 0.898
cold: 61.603, 68.000, 58.437, 55.718, 205.543, 62.214, 57.862 ms
median 61.603 ms; range 55.718-205.543; spread 149.825
Returned ordinals: [3100, 6200, 9300, 12400, 15500, 18600, 21700, 24800, 27900]
SHA256 of entire returned records: f51945078b35747aa728a74450c54e77df1a1a16b0b60753e443c1e75cf659cb
Query plan:
SEARCH orchestration_v2_projection_turn_items USING INTEGER PRIMARY KEY (rowid=?)
LIST SUBQUERY 2
SEARCH orchestration_v2_projection_turn_items USING COVERING INDEX orchestration_v2_projection_turn_items_thread_type_idx (thread_id=?)
LIST SUBQUERY 1
SCAN json_each VIRTUAL TABLE INDEX 1:
CREATE BLOOM FILTER
USE TEMP B-TREE FOR ORDER BY

warm: 15.98x speedup; median difference 25.331 ms; sum of spreads 5.002 ms
coldSummary: 48.94x speedup; median difference 2953.303 ms; sum of spreads 875.967 ms
Identical full returned records and order on both commits.
