aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/parallel.c
diff options
context:
space:
mode:
authorMelanie Plageman <melanieplageman@gmail.com>2025-02-14 12:57:03 -0500
committerMelanie Plageman <melanieplageman@gmail.com>2025-02-14 12:57:49 -0500
commitc3e775e608f2a6d0bcfba147bf08a506827cc567 (patch)
treedb91ab96dc2230c2423b00301623274d9bef916a /src/backend/access/transam/parallel.c
parent9256822608f3b0636cfd88c3436cdceda7003cf3 (diff)
downloadpostgresql-c3e775e608f2a6d0bcfba147bf08a506827cc567.tar.gz
postgresql-c3e775e608f2a6d0bcfba147bf08a506827cc567.zip
Use streaming read I/O in VACUUM's third phase
Make vacuum's third phase (its second pass over the heap), which reaps dead items collected in the first phase and marks them as reusable, use the read stream API. This commit adds a new read stream callback, vacuum_reap_lp_read_stream_next(), that looks ahead in the TidStore and returns the next block number to read for vacuum. Author: Melanie Plageman <melanieplageman@gmail.com> Co-authored-by: Thomas Munro <thomas.munro@gmail.com> Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com> Discussion: https://postgr.es/m/CA%2BhUKGKN3oy0bN_3yv8hd78a4%2BM1tJC9z7mD8%2Bf%2ByA%2BGeoFUwQ%40mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/parallel.c')
0 files changed, 0 insertions, 0 deletions