diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-27 10:37:06 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-27 10:37:06 +0000 |
commit | 6e390c9b9d8784a7f37e2eb2d304d30ca2dc6c3a (patch) | |
tree | 021c22ac58aa2765337850f17c78ae254061356b /sqitch/verify | |
parent | 150d9c4390440dfaf4ac895c5b9a16aaccfac7a7 (diff) | |
download | data-service-6e390c9b9d8784a7f37e2eb2d304d30ca2dc6c3a.tar data-service-6e390c9b9d8784a7f37e2eb2d304d30ca2dc6c3a.tar.gz |
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.
Diffstat (limited to 'sqitch/verify')
-rw-r--r-- | sqitch/verify/increase_derivation_inputs_statistics_targets.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/verify/increase_derivation_inputs_statistics_targets.sql b/sqitch/verify/increase_derivation_inputs_statistics_targets.sql new file mode 100644 index 0000000..e647e8e --- /dev/null +++ b/sqitch/verify/increase_derivation_inputs_statistics_targets.sql @@ -0,0 +1,7 @@ +-- Verify guix-data-service:increase_derivation_inputs_statistics_targets on pg + +BEGIN; + +-- XXX Add verifications here. + +ROLLBACK; |