Skip to content

Commit febef02

Browse files
committed
Stabilize ordered_append by widening device count
The CTE query in ordered_append-* sat at the cost crossover between Index Only Scan via device_id_time_idx and Index Scan via time_idx on metrics_space chunks. With one device per chunk after hash partitioning, IOS had no selectivity advantage at the chunk level, so any small relallvisible drop tipped the plan choice. Bumping the metrics_space pair to 20 devices gives ~7 devices per chunk, restoring IOS's structural advantage and making the choice robust to VM noise.
1 parent 57374a7 commit febef02

5 files changed

Lines changed: 1422 additions & 1378 deletions

File tree

0 commit comments

Comments
 (0)