Обсуждение: pgsql: Allocate access strategy in parallel VACUUM workers.

Поиск
Список
Период
Сортировка

pgsql: Allocate access strategy in parallel VACUUM workers.

От
Amit Kapila
Дата:
Allocate access strategy in parallel VACUUM workers.

Currently, parallel vacuum workers don't use any buffer access strategy.
We can fix it either by propagating the access strategy from a leader or
allow each worker to use BAS_VACUUM access strategy type. We don't see
much use in propagating this information from leader as both leader and
workers are supposed to use the same strategy. We might want to use a
different access strategy for leader and workers but that would be a
separate optimization not suitable for back-branches. This has been fixed
in HEAD as commit f6b8f19a08.

Author: Amit Kapila
Reviewed-by: Sawada Masahiko, Bharath Rupireddy
Discussion: https://postgr.es/m/CAA4eK1KbmJgRV2W3BbzRnKUSrukN7SbqBBriC4RDB5KBhopkGQ@mail.gmail.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/48d4a8c88ba73c5e68461d1ced9090ac33827028

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 4 ++++
1 file changed, 4 insertions(+)