Re: Improve eviction algorithm in ReorderBuffer
От
Masahiko Sawada
Тема
Re: Improve eviction algorithm in ReorderBuffer
Дата
Msg-id
CAD21AoBP5NcD3R6fJiX8QurH+Dhh2j_Ee1Ohc+b1XvSfvj6mnA@mail.gmail.com
Ответ на
Re: Improve eviction algorithm in ReorderBuffer (Amit Kapila)
Список
Дерево обсуждения
Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer "Euler Taveira" <euler@eulerto.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Dilip Kumar <dilipbalaut@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Shubham Khanna <khannashubham1197@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Ajin Cherian <itsajin@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Ajin Cherian <itsajin@gmail.com>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Tomas Vondra <tomas.vondra@enterprisedb.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Michael Paquier <michael@paquier.xyz>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Michael Paquier <michael@paquier.xyz>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
Re: Improve eviction algorithm in ReorderBuffer Jeff Davis <pgsql@j-davis.com>
Re: Improve eviction algorithm in ReorderBuffer Amit Kapila <amit.kapila16@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Michael Paquier <michael@paquier.xyz>
Re: Improve eviction algorithm in ReorderBuffer Heikki Linnakangas <hlinnaka@iki.fi>
RE: Improve eviction algorithm in ReorderBuffer "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Shubham Khanna <khannashubham1197@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer vignesh C <vignesh21@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Masahiko Sawada <sawada.mshk@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Dilip Kumar <dilipbalaut@gmail.com>
Re: Improve eviction algorithm in ReorderBuffer Peter Smith <smithpb2250@gmail.com>
On Tue, Dec 19, 2023 at 8:02 PM Amit Kapila wrote: > > On Tue, Dec 19, 2023 at 8:31 AM Masahiko Sawada wrote: > > > > On Sun, Dec 17, 2023 at 11:40 AM Amit Kapila wrote: > > > > > > > > > The individual transactions shouldn't cross > > > 'logical_decoding_work_mem'. I got a bit confused by your proposal to > > > maintain the lists: "...splitting it into two lists: transactions > > > consuming 5% < and 5% >= of the memory limit, and checking the 5% >= > > > list preferably.". In the previous sentence, what did you mean by > > > transactions consuming 5% >= of the memory limit? I got the impression > > > that you are saying to maintain them in a separate transaction list > > > which doesn't seems to be the case. > > > > I wanted to mean that there are three lists in total: the first one > > maintain the transactions consuming more than 10% of > > logical_decoding_work_mem, > > > > How can we have multiple transactions in the list consuming more than > 10% of logical_decoding_work_mem? Shouldn't we perform serialization > before any xact reaches logical_decoding_work_mem? Well, suppose logical_decoding_work_mem is set to 64MB, transactions consuming more than 6.4MB are added to the list. So for example, it's possible that the list has three transactions each of which are consuming 10MB while the total memory usage in the reorderbuffer is still 30MB (less than logical_decoding_work_mem). Regards, -- Masahiko Sawada Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления