Re: patch to allow disable of WAL recycling

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: patch to allow disable of WAL recycling
Дата
Msg-id
20180705213910.lextkj7tv23rcxvb@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Andres Freund <andres@anarazel.de>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Tom Lane <tgl@sss.pgh.pa.us>
Re: patch to allow disable of WAL recycling Stephen Frost <sfrost@snowman.net>
Re: patch to allow disable of WAL recycling Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Andres Freund <andres@anarazel.de>
Re: patch to allow disable of WAL recycling Tom Lane <tgl@sss.pgh.pa.us>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Michael Paquier <michael@paquier.xyz>
Re: patch to allow disable of WAL recycling Andres Freund <andres@anarazel.de>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Andres Freund <andres@anarazel.de>
Re: patch to allow disable of WAL recycling Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Thomas Munro <thomas.munro@enterprisedb.com>
Re: patch to allow disable of WAL recycling Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Michael Paquier <michael@paquier.xyz>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Thomas Munro <thomas.munro@gmail.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Thomas Munro <thomas.munro@gmail.com>
Re: patch to allow disable of WAL recycling Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: patch to allow disable of WAL recycling Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: patch to allow disable of WAL recycling Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: patch to allow disable of WAL recycling Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: patch to allow disable of WAL recycling Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Robert Haas <robertmhaas@gmail.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Alvaro Herrera <alvherre@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling David Pacheco <dap@joyent.com>
Re: patch to allow disable of WAL recycling Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Thomas Munro <thomas.munro@enterprisedb.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Andres Freund <andres@anarazel.de>
Re: patch to allow disable of WAL recycling "Joshua D. Drake" <jd@commandprompt.com>
Re: patch to allow disable of WAL recycling Thomas Munro <thomas.munro@enterprisedb.com>
Re: patch to allow disable of WAL recycling David Pacheco <dap@joyent.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Thomas Munro <thomas.munro@enterprisedb.com>
Re: patch to allow disable of WAL recycling Jerry Jelinek <jerry.jelinek@joyent.com>
Re: patch to allow disable of WAL recycling Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Hi,

On 2018-06-26 07:35:57 -0600, Jerry Jelinek wrote:
> +     
> +      wal_recycle (boolean)
> +      
> +       wal_recycle configuration parameter
> +      
> +      
> +      
> +       
> +        When this parameter is on, past log file segments
> +        in the pg_wal directory are recycled for future
> +        use.
> +       
> +
> +       
> +        Turning this parameter off causes past log files segments to be deleted
> +        when no longer needed. This can improve performance by eliminating
> +        read-modify-write operations on old files which are no longer in the
> +        filesystem cache.
> +       
> +      
> +     

This is formulated *WAY* too positive. It'll have dramatic *NEGATIVE*
performance impact of non COW filesystems, and very likely even negative
impacts in a number of COWed scenarios (when there's enough memory to
keep all WAL files in memory).

I still think that fixing this another way would be preferrable. This'll
be too much of a magic knob that depends on the fs, hardware and
workload.

Greetings,

Andres Freund

В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
От: Alvaro Herrera
Дата:
FAQ