order by downloaded time to improve ebs read performance

This commit is contained in:
Joe Lothan 2026-05-26 23:10:53 -04:00
parent df2eaa251c
commit a799c05f81
4 changed files with 28 additions and 19 deletions

View file

@ -13,6 +13,7 @@ CREATE TABLE IF NOT EXISTS hosts (
html_title TEXT,
iframe_allowed BOOLEAN,
best_icon_hash TEXT,
icon_downloaded_at TIMESTAMPTZ,
parsed BOOLEAN DEFAULT FALSE,
random_order DOUBLE PRECISION DEFAULT random()
);