-last_user_touchpoint_what: "PR-5.1.5 commit 1 (sargable) + INSTANCE UPSIZE DONE (agent ran it via bench-prod, user-authorized): db.t4g.micro->medium (4GiB), custom param group vortex-bench-pg16 (work_mem=32MB; shared_buffers ~910MB + effective_cache_size ~1.78GB auto-scaled), pgStatus in-sync, available. MEASURE-DRIVEN results (warm EXPLAIN ANALYZE on prod post-upsize): CHART PATH SOLVED — tpch chart 34.6s(micro,old) -> 13.8s(micro,sargable) -> 75ms(medium,sargable warm, all buffer hits). /api/groups REMAINING (still needed, validates comprehensive scope): (b) query-group discovery GROUP BY = 2.1s (index-only scan but HashAggregate over 4.85M; needs skip-scan/loose-index-scan); (c) DOMINANT — per-group query-summary row_number window = 6.2s for tpcds (scans 872K rows; needs index-backed latest-per-series, i.e. denormalize commit_timestamp into fact tables + supporting index, OR a recent-commits-window restriction — DESIGN FORK, touches write path); (d) collectFilterUniverse ~4s every page (DISTINCT over 4 fact tables; needs lookup/skip-scan); (e) parallelize the 64 N+1 summaries. NEXT: design migration 006 (commit_timestamp denorm for c + skip-scan indexes for b/d) + write-path populate (post-ingest.py + migrate loader) — pending user input on the (c) approach. migrations dir = repo-root migrations/."
0 commit comments