Re: [HACKERS] Increase Vacuum ring buffer.
От
Alvaro Herrera
Тема
Re: [HACKERS] Increase Vacuum ring buffer.
Дата
Msg-id
20170727171001.e6gl7oo4t6rgsh62@alvherre.pgsql
Ответ на
Re: [HACKERS] Increase Vacuum ring buffer. (Claudio Freire)
Список
Дерево обсуждения
[HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Increase Vacuum ring buffer. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Jeff Janes <jeff.janes@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Increase Vacuum ring buffer. Sokolov Yura <funny.falcon@postgrespro.ru>
Re: [HACKERS] Increase Vacuum ring buffer. Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] Increase Vacuum ring buffer. Jeff Janes <jeff.janes@gmail.com>
Claudio Freire wrote: > On Thu, Jul 27, 2017 at 1:46 PM, Alvaro Herrera > wrote: > > Claudio Freire wrote: > > > >> > The vacuuming the very large table with no index could also take a > >> > long time, and it scans and vacuums blocks one by one. So I imagined > >> > that we can vacuum the FSM once vacuumed a certain amount of blocks. > >> > And that can avoid bloating table during the long-time vacuum. > >> > >> Could do that. I'll see about doing something of the sort and > >> submitting it as a separate patch. > > > > Vacuuming of the FSM is in no way strictly tied to vacuuming the heap > > (it's not really "vacuuming", it's just about updating the upper layers > > to match the data in the leaves). I think we could use the new autovac > > "workitem" infrastructure and tack an item there once in a while for FSM > > vacuuming ... > > Well, it *is* tied in the sense that vacuum is the one massively > adding free space. Yes, but if vacuum dies after releasing lots of space but before vacuuming FSM, then it's not tied anymore and you could just as well run it anytime. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления