aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHash.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2021-03-16 14:46:48 -0400
committerStephen Frost <sfrost@snowman.net>2021-03-16 14:46:48 -0400
commitc6fc50cb40285141fad401321ae21becbaea1c59 (patch)
treebd46171aa6e6880f86fc8f977891bdff933149d7 /src/backend/executor/nodeHash.c
parent94d13d474dc61800e8a17cc1959c55815b050ecd (diff)
downloadpostgresql-c6fc50cb40285141fad401321ae21becbaea1c59.tar.gz
postgresql-c6fc50cb40285141fad401321ae21becbaea1c59.zip
Use pre-fetching for ANALYZE
When we have posix_fadvise() available, we can improve the performance of an ANALYZE by quite a bit by using it to inform the kernel of the blocks that we're going to be asking for. Similar to bitmap index scans, the number of buffers pre-fetched is based off of the maintenance_io_concurrency setting (for the particular tablespace or, if not set, globally, via get_tablespace_maintenance_io_concurrency()). Reviewed-By: Heikki Linnakangas, Tomas Vondra Discussion: https://www.postgresql.org/message-id/VI1PR0701MB69603A433348EDCF783C6ECBF6EF0%40VI1PR0701MB6960.eurprd07.prod.outlook.com
Diffstat (limited to 'src/backend/executor/nodeHash.c')
0 files changed, 0 insertions, 0 deletions