Re: Fix checkpoint skip logic on idle systems by tracking LSN progress
От
David Steele
Тема
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress
Дата
Msg-id
74b0e04f-7b53-3ce4-e90b-10f7c738fd68@pgmasters.net
Ответ на
Список
Дерево обсуждения
Fix checkpoint skip logic on idle systems by tracking LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress David Steele <david@pgmasters.net>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress David Steele <david@pgmasters.net>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress David Steele <david@pgmasters.net>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Amit Kapila <amit.kapila16@gmail.com>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Amit Kapila <amit.kapila16@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Amit Kapila <amit.kapila16@gmail.com>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Amit Kapila <amit.kapila16@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Amit Kapila <amit.kapila16@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Andres Freund <andres@anarazel.de>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Andres Freund <andres@anarazel.de>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Andres Freund <andres@anarazel.de>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Fix checkpoint skip logic on idle systems bytracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress David Steele <david@pgmasters.net>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Andres Freund <andres@anarazel.de>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress David Steele <david@pgmasters.net>
Re: [HACKERS] Fix checkpoint skip logic on idle systems by trackingLSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Amit Kapila <amit.kapila16@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress David Steele <david@pgmasters.net>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Stephen Frost <sfrost@snowman.net>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress David Steele <david@pgmasters.net>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress "Joshua D. Drake" <jd@commandprompt.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Stephen Frost <sfrost@snowman.net>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress David Steele <david@pgmasters.net>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Andres Freund <andres@anarazel.de>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by
tracking LSN progress Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress David Steele <david@pgmasters.net>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress David Steele <david@pgmasters.net>
Re: Fix checkpoint skip logic on idle systems by tracking
LSN progress Michael Paquier <michael.paquier@gmail.com>
Re: Fix checkpoint skip logic on idle systems by tracking LSN progress Michael Paquier <michael.paquier@gmail.com>
On 11/10/16 10:28 AM, Stephen Frost wrote:
>> diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
> [...]
>> + if (log_checkpoints)
>> + ereport(LOG, (errmsg("checkpoint skipped")));
>
> Do we really need to log that we're skipping a checkpoint..? As the
> point of this is to avoid write activity on a system which is idle, it
> doesn't make sense to me to add a new cause for writes to happen when
> we're idle.
log_checkpoints is not enabled by default, though, so if the user does
enable it don't you think they would want to know when checkpoints
*don't* happen?
Or are you thinking the main use of this logging is to determine when
checkpoints are too close together and so skipped checkpoints aren't
very important?
Thanks,
--
-David
david@pgmasters.net
В списке pgsql-hackers по дате отправления
От: Joshua D. Drake
Дата: