Re: [RFC] Should we fix postmaster to avoid slow shutdown? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [RFC] Should we fix postmaster to avoid slow shutdown?
Date
Msg-id CAB7nPqRWQEwX65mcT5hZczKJNpG01JA532M1p6RbuLuk1Uo75A@mail.gmail.com
Whole thread Raw
In response to Re: [RFC] Should we fix postmaster to avoid slow shutdown?  (Magnus Hagander <magnus@hagander.net>)
Responses Re: [RFC] Should we fix postmaster to avoid slow shutdown?  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-hackers
On Wed, Nov 23, 2016 at 6:15 PM, Magnus Hagander <magnus@hagander.net> wrote:
> There's also the consideration of what to do with stats *on the standby*. If
> we WAL log the stats file, then when it replays onthe standby, the stats
> there will be overwritten. And stats like number of index vs seq scans on
> the standby are still interesting and would be lost.

Perhaps it would make sense to separate the stat files by type then?
The action taken for each file depends on its type.
-- 
Michael



pgsql-hackers by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: UNDO and in-place update
Next
From: Rushabh Lathia
Date:
Subject: Re: Push down more UPDATEs/DELETEs in postgres_fdw