log_checkpoint's "0 transaction log file(s) added" is extremely misleading

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: log_checkpoint's "0 transaction log file(s) added" is extremely misleading
Date: 2016-01-22 01:12:35
Message-ID: 20160122011235.GA5546@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

While in theory correct, I think $subject is basically meaningless
because other backends may have added thousands of new segments. Yes, it
wasn't the checkpointer, but that's not particularly relevant
imo. Additionally, afaics, it will only ever be 0 or 1.

I think we should either remove that part of the log output, or make it
display the number of segments added since the beginning of the
checkpoint.

Greetings,

Andres Freund

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2016-01-22 02:29:44 Re: log_checkpoint's "0 transaction log file(s) added" is extremely misleading
Previous Message Haribabu Kommi 2016-01-21 23:24:06 Re: Combining Aggregates