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

@ -76,3 +76,4 @@ git_repositories_add_fetch_with_authentication_field 2020-10-07T17:31:20Z Christ
create_latest_build_status 2020-10-13T17:22:39Z Christopher Baines <mail@cbaines.net> # Create the latest_build_status table
regenerate_latest_build_status 2020-10-21T18:39:03Z Christopher Baines <mail@cbaines.net> # Regenerate the latest_build_status table
guix_revision_package_derivations_add_package_derivation_index 2020-10-27T16:58:08Z Christopher Baines <mail@cbaines.net> # Add index for guix_revision_package_derivations.package_derivation_id
increase_derivation_inputs_statistics_targets 2020-12-27T10:34:58Z Christopher Baines <mail@cbaines.net> # Increase stats targets on derivation_inputs fields