Training a 4B model to produce 81% faster query plans than Postgres
A 4B model is being trained to generate query plans 81% faster than Postgres. The process involves optimizing join orderings, as demonstrated by a scenario where filtering 2m movie_companies entries to a 5% slice of Japanese companies results in approximately 100k rows. Subsequent joining with a filtered title table further reduces this to 20% of those rows. The importance of accurate early estimates is highlighted, as a single poor estimate in an initial join can negatively impact all subsequent estimates in the join tree.
This report details a specific 4B model achieving 81% faster query plans than Postgres, unlike general discussions of query optimization.
Time & source
Times shown in UTC
Display time zone: UTC
Local time zone unavailable; showing UTC.
IngestedOffset at this time: UTC+0Sep 16, 2026, 20:00 UTC
- Ingested
- Sep 16, 2026, 20:00
- Source type
- Unclassified
- Basis
- Running about 6.2× the median of this source's recent listed items
- Metric comparison
- 502 vs median 80.5 (20 baseline samples)
- Detected
- 09/17, 00:00
Full text isn't available here.
Read at source →