From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, Sawada Masahiko <sawada(dot)mshk(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] More stats about skipped vacuums |
Date: | 2018-02-07 21:59:20 |
Message-ID: | 3246.1518040760@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> It seems to me that there was a thread where Tom proposed removing
> support for dynamic_shared_memory_type = none.
I think you're recalling <32138(dot)1502675970(at)sss(dot)pgh(dot)pa(dot)us>, wherein
I pointed out that
>>> Whether that's worth the trouble is debatable. The current code
>>> in initdb believes that every platform has some type of DSM support
>>> (see choose_dsm_implementation). Nobody's complained about that,
>>> and it certainly works on every buildfarm animal. So for all we know,
>>> dynamic_shared_memory_type = none is broken already.
(That was in fact in the same thread Kyotaro-san just linked to about
reimplementing the stats collector.)
It's still true that we've no reason to believe there are any supported
platforms that haven't got some sort of DSM. Performance might be a
different question, of course ... but it's hard to believe that
transferring stats through DSM wouldn't be better than writing them
out to files.
> I suggest we remove support for dynamic_shared_memory_type = none first,
> and see if we get any complaints. If we don't, then future patches can
> rely on it being present.
If we remove it in v11, it'd still be maybe a year from now before we'd
have much confidence from that alone that nobody cares. I think the lack
of complaints about it in 9.6 and 10 is a more useful data point.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2018-02-07 22:05:05 | PDF Builds on borka (Debian/stretch) broken - 9.6 |
Previous Message | Dmitry Dolgov | 2018-02-07 21:51:10 | Re: [HACKERS] Bug in to_timestamp(). |