pgsql: Logging running transactions every 15 seconds.
pgsql: Logging running transactions every 15 seconds.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
Logging running transactions every 15 seconds. Previously, we did this just once per checkpoint, but that could make Hot Standby take a long time to initialize. To avoid busying an otherwise-idle system, we don't do this if no WAL has been written since we did it last. Andres Freund Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/ed46758381ff63a422fcb0b1f2763eb13273640f Modified Files -------------- src/backend/postmaster/bgwriter.c | 62 +++++++++++++++++++++++++++++++++++++ src/backend/storage/ipc/standby.c | 27 +++++++++++++--- src/include/storage/standby.h | 2 +- 3 files changed, 86 insertions(+), 5 deletions(-)