Closed odscjames closed 3 years ago
I tried
CREATE INDEX normalised_data_updated_at_data_id_idx ON normalised_data (updated_at, data_id);
first, as I was worried to make sure the web end point didn't have issues. According to EXPLAIN, postgres doesn't care and does a Parallel Seq Scan anyway!
We added a bunch of useful indexes. See migrations for details.
Adding some might help some queries.