Increase statistics targets for the derivation_inputs table

It has a lot of rows, and this seems to help the query planning for
select-required-builds-that-failed, as I think it helps PostgreSQL better
estimate the row counts that different parts of the query will produce.
This commit is contained in:
Christopher Baines 2020-12-27 10:37:06 +00:00
parent 150d9c4390
commit 6e390c9b9d
4 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,7 @@
-- Verify guix-data-service:increase_derivation_inputs_statistics_targets on pg
BEGIN;
-- XXX Add verifications here.
ROLLBACK;