pgsql: Logging running transactions every 15 seconds.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Logging running transactions every 15 seconds.
Date: 2014-01-15 17:42:16
Message-ID: E1W3UTo-0001gM-EC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-01-15 17:44:51 pgsql: test_shm_mq: Try again to fix compiler warning.
Previous Message Robert Haas 2014-01-15 16:05:22 Re: pgsql: Get rid of pg_class.reltoastidxid.