aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/sql/postgres_fdw.sql
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2020-09-07 13:31:59 -0700
committerJeff Davis <jdavis@postgresql.org>2020-09-07 13:31:59 -0700
commita547e6867527ca16628a3fb1cf3ef6f785210a31 (patch)
tree1d6c0862569114cf9061f8038b9d30cf56262a9d /contrib/postgres_fdw/sql/postgres_fdw.sql
parent53367e6c62e3111eccdd578a3fa607c48c3e1fb6 (diff)
downloadpostgresql-a547e6867527ca16628a3fb1cf3ef6f785210a31.tar.gz
postgresql-a547e6867527ca16628a3fb1cf3ef6f785210a31.zip
Adjust cost model for HashAgg that spills to disk.
Tomas Vondra observed that the IO behavior for HashAgg tends to be worse than for Sort. Penalize HashAgg IO costs accordingly. Also, account for the CPU effort of spilling the tuples and reading them back. Discussion: https://postgr.es/m/20200906212112.nzoy5ytrzjjodpfh@development Reviewed-by: Tomas Vondra Backpatch-through: 13
Diffstat (limited to 'contrib/postgres_fdw/sql/postgres_fdw.sql')
0 files changed, 0 insertions, 0 deletions