pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Make autovacuum launcher more responsive to pg_log_backend_memor 2+ messages / 1 participants [nested] [flat]
* pgsql: Make autovacuum launcher more responsive to pg_log_backend_memor @ 2021-10-12 00:51 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Fujii Masao @ 2021-10-12 00:51 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Make autovacuum launcher more responsive to pg_log_backend_memory_contexts(). Previously when pg_log_backend_memory_contexts() sent the request to the autovacuum launcher, it could take more than several seconds to log its memory contexts. Because the function (HandleAutoVacLauncherInterrupts) to process any new interrupts that autovacuum launcher received didn't handle the request for logging of memory contexts. This commit changes the function so that it handles the request, to make autovacuum launcher more responsitve to pg_log_backend_memory_contexts(). Back-patch to v14 where pg_log_backend_memory_contexts() was added. Author: Koyu Tanigawa Reviewed-by: Bharath Rupireddy, Atsushi Torikoshi Discussion: https://postgr.es/m/0aae3e074face409b35153451be5cc11@oss.nttdata.com Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/62e821ad28e1f08ea9734d7338bdebd783228a1c Modified Files -------------- src/backend/postmaster/autovacuum.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Make autovacuum launcher more responsive to pg_log_backend_memor @ 2021-10-12 00:51 Fujii Masao <fujii@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Fujii Masao @ 2021-10-12 00:51 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Make autovacuum launcher more responsive to pg_log_backend_memory_contexts(). Previously when pg_log_backend_memory_contexts() sent the request to the autovacuum launcher, it could take more than several seconds to log its memory contexts. Because the function (HandleAutoVacLauncherInterrupts) to process any new interrupts that autovacuum launcher received didn't handle the request for logging of memory contexts. This commit changes the function so that it handles the request, to make autovacuum launcher more responsitve to pg_log_backend_memory_contexts(). Back-patch to v14 where pg_log_backend_memory_contexts() was added. Author: Koyu Tanigawa Reviewed-by: Bharath Rupireddy, Atsushi Torikoshi Discussion: https://postgr.es/m/0aae3e074face409b35153451be5cc11@oss.nttdata.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e3e29cec10d15bbcedc6b41887d8f4e138d719bd Modified Files -------------- src/backend/postmaster/autovacuum.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-10-12 00:51 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-10-12 00:51 pgsql: Make autovacuum launcher more responsive to pg_log_backend_memor Fujii Masao <fujii@postgresql.org> 2021-10-12 00:51 pgsql: Make autovacuum launcher more responsive to pg_log_backend_memor Fujii Masao <fujii@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox