postgresql/src
Jeff Davis a547e68675 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
2020-09-07 13:31:59 -07:00
..
backend Adjust cost model for HashAgg that spills to disk. 2020-09-07 13:31:59 -07:00
bin Refactor pg_get_line() to expose an alternative StringInfo-based API. 2020-09-06 14:13:19 -04:00
common Skip unnecessary stat() calls in walkdir(). 2020-09-07 18:28:06 +12:00
fe_utils Move connect.h from fe_utils to src/include/common. 2020-08-10 09:22:54 -07:00
include Add d_type to our Windows dirent emulation. 2020-09-07 23:38:19 +12:00
interfaces Remove arbitrary line length limits in pg_regress (plain and ECPG). 2020-09-06 14:13:19 -04:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Remove unused parameter 2020-09-02 15:17:33 +02:00
port Add d_type to our Windows dirent emulation. 2020-09-07 23:38:19 +12:00
template Fix compiler warning for ppoll() on Cygwin 2019-12-22 23:20:00 +01:00
test Add additional tests to test streaming of in-progress transactions. 2020-09-07 08:08:58 +05:30
timezone Ensure that distributed timezone abbreviation files are plain ASCII. 2020-07-17 11:03:55 -04:00
tools Skip unnecessary stat() calls in walkdir(). 2020-09-07 18:28:06 +12:00
tutorial doc: Change table alias names to lower case in tutorial chapter 2020-09-04 08:45:57 +02:00
.gitignore
DEVELOPERS
Makefile
Makefile.global.in Split Makefile symbol CFLAGS_VECTOR into two symbols. 2020-09-06 21:28:16 -04:00
Makefile.shlib Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00