peter
94dbe4b228
fix(jobs): match the boolean partial predicates to the IS TRUE/IS FALSE queries (E2 S6 review)
...
The via_search / shorts_probed partials used `WHERE via_search` / `WHERE NOT
shorts_probed`, but the queries filter with `.is_(True)`/`.is_(False)` (SQL
`IS TRUE`/`IS FALSE`), which Postgres's partial-index prover does NOT match to a
bare-boolean predicate — so both fell back to a full seq scan (the shorts-probe
job kept full-scanning for its work queue, the exact thing PERF-3 meant to fix).
Align the predicates to the query form: `WHERE via_search IS TRUE` and
`WHERE shorts_probed IS FALSE`. Verified on the prod-sized localdev: both now
Index Only Scan (via_search 44,683 -> 3 buffers; shorts_probed 44,683 -> 1).
Gate green (346 pytest).
2026-08-18 18:31:38 +02:00
..
2026-06-11 01:01:37 +02:00
2026-06-11 01:22:07 +02:00
2026-06-11 01:57:19 +02:00
2026-06-11 02:11:02 +02:00
2026-06-11 03:07:49 +02:00
2026-06-11 04:15:25 +02:00
2026-06-11 23:07:09 +02:00
2026-06-12 01:43:07 +02:00
2026-06-12 02:47:55 +02:00
2026-06-14 18:40:05 +02:00
2026-06-15 14:37:09 +02:00
2026-06-15 15:33:53 +02:00
2026-06-15 23:00:56 +02:00
2026-06-16 09:17:14 +02:00
2026-06-16 15:58:23 +02:00
2026-06-18 03:20:17 +02:00
2026-06-18 03:20:17 +02:00
2026-06-18 04:37:08 +02:00
2026-06-19 02:16:42 +02:00
2026-06-19 11:48:11 +02:00
2026-06-19 12:22:36 +02:00
2026-06-19 14:03:11 +02:00
2026-06-19 19:52:12 +02:00
2026-06-19 19:52:02 +02:00
2026-06-21 00:38:47 +02:00
2026-06-25 22:05:35 +02:00
2026-06-25 22:05:35 +02:00
2026-06-29 02:01:31 +02:00
2026-06-29 02:30:37 +02:00
2026-06-30 00:39:09 +02:00
2026-06-30 00:39:09 +02:00
2026-06-30 02:00:38 +02:00
2026-06-30 02:52:44 +02:00
2026-07-01 00:42:32 +02:00
2026-07-01 03:17:36 +02:00
2026-07-02 23:57:40 +02:00
2026-07-02 23:57:40 +02:00
2026-07-03 00:26:40 +02:00
2026-07-03 03:00:08 +02:00
2026-07-03 04:08:53 +02:00
2026-07-04 01:01:46 +02:00
2026-07-04 04:19:29 +02:00
2026-07-04 21:25:37 +02:00
2026-07-05 01:35:08 +02:00
2026-07-05 23:45:55 +02:00
2026-07-06 00:56:01 +02:00
2026-07-06 02:25:48 +02:00
2026-07-06 19:05:12 +02:00
2026-07-07 20:19:18 +02:00
2026-07-07 22:28:49 +02:00
2026-07-09 14:42:18 +02:00
2026-07-10 21:43:09 +02:00
2026-07-12 03:00:16 +02:00
2026-07-12 07:32:41 +02:00
2026-07-12 16:12:39 +02:00
2026-07-19 03:31:34 +02:00
2026-07-19 04:50:45 +02:00
2026-07-22 01:19:31 +02:00
2026-07-23 03:38:57 +02:00
2026-07-26 13:54:42 +02:00
2026-07-28 01:40:22 +02:00
2026-08-13 02:42:41 +02:00
2026-08-16 22:16:54 +02:00
2026-08-16 22:16:54 +02:00
2026-08-16 23:11:15 +02:00
2026-08-18 01:39:46 +02:00
2026-08-18 04:16:08 +02:00
2026-08-18 04:30:07 +02:00
2026-08-18 18:31:38 +02:00