Re: [HACKERS] GUC for cleanup indexes threshold.
От
Peter Geoghegan
Тема
Re: [HACKERS] GUC for cleanup indexes threshold.
Дата
Msg-id
CAH2-Wz=K1CT=_XT6bLkCVw24X6E_7oK+FDnPK_ibzAH0ovc0dQ@mail.gmail.com
Ответ на
Re: [HACKERS] GUC for cleanup indexes threshold. (Stephen Frost)
Список
Дерево обсуждения
[HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. "Ideriha, Takeshi" <ideriha.takeshi@jp.fujitsu.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. David Steele <david@pgmasters.net>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Amit Kapila <amit.kapila16@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. David Steele <david@pgmasters.net>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: GUC for cleanup indexes threshold. David Steele <david@pgmasters.net>
Re: GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: GUC for cleanup indexes threshold. David Steele <david@pgmasters.net>
Re: GUC for cleanup indexes threshold. Robert Haas <robertmhaas@gmail.com>
Re: GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: GUC for cleanup indexes threshold. Andres Freund <andres@anarazel.de>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Sokolov Yura <y.sokolov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Darafei Praliaskouski <me@komzpa.net>
Re: [HACKERS] GUC for cleanup indexes threshold. Pavel Golub <pavel@microolap.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Sokolov Yura <y.sokolov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Darafei "Komяpa" Praliaskouski <me@komzpa.net>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Darafei "Komяpa" Praliaskouski <me@komzpa.net>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Teodor Sigaev <teodor@sigaev.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Alexander Korotkov <a.korotkov@postgrespro.ru>
Re: [HACKERS] GUC for cleanup indexes threshold. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] GUC for cleanup indexes threshold. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] GUC for cleanup indexes threshold. Peter Geoghegan <pg@bowt.ie>
Re: [HACKERS] GUC for cleanup indexes threshold. Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Hi Stephen, On Sat, Jan 6, 2018 at 4:02 PM, Stephen Frost wrote: > Perhaps it should really be in Needs review state then..? Probably. As I pointed out already some time ago, this RecentGlobalXmin interlock stuff is our particular implementation of what Lanin & Shasha call "The Drain Technique" within "2.5 Freeing Empty Nodes". It's not easy to understand why this is necessary in general (you have to understand the whole paper for that), but our implementation of the drain technique is simple. I'm afraid that I made the problem sound scarier than it actually is. As Lanin & Shasha put it: "freeing empty nodes by the drain technique is transparent to the rest of the algorithm and can be added by a separate module". nbtree doesn't actually care very much about XIDs -- testing an XID against RecentGlobalXmin was just the most convenient way of using L&S's technique to defer recycling until it is definitely safe. We only need to make sure that _bt_page_recyclable() cannot become confused by XID wraparound to fix this problem -- that's it. -- Peter Geoghegan
В списке pgsql-hackers по дате отправления