Re: Reducing power consumption on idle servers

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Reducing power consumption on idle servers
Дата
Msg-id CABUevEyRzcq4tFDHzsMZ-x2prH_7-qGC8LuA_ZtA90GY3Ot+gQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Reducing power consumption on idle servers  (Simon Riggs <simon.riggs@enterprisedb.com>)
Ответы Re: Reducing power consumption on idle servers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Feb 21, 2022 at 5:11 PM Simon Riggs
<simon.riggs@enterprisedb.com> wrote:
>
> On Sat, 19 Feb 2022 at 17:03, Andres Freund <andres@anarazel.de> wrote:
> >
> > Hi,
> >
> > On 2022-02-19 14:10:39 +0000, Simon Riggs wrote:
> > IMO we should instead consider either deprecating file based promotion, or
> > adding an optional dependency on filesystem monitoring APIs (i.e. inotify etc)
> > that avoid the need to poll for file creation.

Came here to suggest exactly that :)


> Deprecating explicit file-based promotion is possible and simple, so
> that is the approach in the latest version of the patch.

Is there any actual use-case for this other than backwards
compatibility? The alternative has certainly been around for some time
now, so if we don't know a specific use-case for the file-based one
it's definitely time to deprecate it properly.


-- 
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Shay Rojansky
Дата:
Сообщение: Re: Document ordering guarantees on INSERT/UPDATE RETURNING clause
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Reducing power consumption on idle servers