Re: Vacuum, Freeze and Analyze: the big picture
От
Josh Berkus
Тема
Re: Vacuum, Freeze and Analyze: the big picture
Дата
Msg-id
51ACD227.7020806@agliodbs.com
Список
Дерево обсуждения
Vacuum, Freeze and Analyze: the big picture Josh Berkus <josh@agliodbs.com>
Re: Vacuum, Freeze and Analyze: the big picture Andres Freund <andres@2ndquadrant.com>
Re: Vacuum, Freeze and Analyze: the big picture Simon Riggs <simon@2ndQuadrant.com>
Re: Vacuum, Freeze and Analyze: the big picture Robert Haas <robertmhaas@gmail.com>
Re: Vacuum, Freeze and Analyze: the big picture Craig Ringer <craig@2ndquadrant.com>
Re: Vacuum, Freeze and Analyze: the big picture Kevin Grittner <kgrittn@ymail.com>
Re: Vacuum, Freeze and Analyze: the big picture Jeff Janes <jeff.janes@gmail.com>
Re: Vacuum, Freeze and Analyze: the big picture Peter Geoghegan <pg@heroku.com>
Re: Vacuum, Freeze and Analyze: the big picture Craig Ringer <craig@2ndquadrant.com>
Re: Vacuum, Freeze and Analyze: the big picture Jim Nasby <jim@nasby.net>
Re: Vacuum, Freeze and Analyze: the big picture Peter Geoghegan <pg@heroku.com>
Re: Vacuum, Freeze and Analyze: the big picture Jeff Janes <jeff.janes@gmail.com>
Re: Vacuum, Freeze and Analyze: the big picture Jeff Janes <jeff.janes@gmail.com>
Re: Vacuum, Freeze and Analyze: the big picture Craig Ringer <craig@2ndquadrant.com>
Re: Vacuum, Freeze and Analyze: the big picture Kevin Grittner <kgrittn@ymail.com>
Vacuum, Freeze and Analyze: the big picture Jeff Janes <jeff.janes@gmail.com>
Re: Vacuum, Freeze and Analyze: the big picture Andres Freund <andres@2ndquadrant.com>
Re: Vacuum, Freeze and Analyze: the big picture Jeff Janes <jeff.janes@gmail.com>
Re: Vacuum, Freeze and Analyze: the big picture Kevin Grittner <kgrittn@ymail.com>
Re: Vacuum, Freeze and Analyze: the big picture Andres Freund <andres@2ndquadrant.com>
Re: Vacuum, Freeze and Analyze: the big picture Robert Haas <robertmhaas@gmail.com>
Re: Vacuum, Freeze and Analyze: the big picture Ants Aasma <ants@cybertec.at>
Re: Vacuum, Freeze and Analyze: the big picture Martijn van Oosterhout <kleptog@svana.org>
Re: Vacuum, Freeze and Analyze: the big picture Robert Haas <robertmhaas@gmail.com>
Re: Vacuum, Freeze and Analyze: the big picture Kevin Grittner <kgrittn@ymail.com>
Re: Vacuum, Freeze and Analyze: the big picture Peter Geoghegan <pg@heroku.com>
Re: Vacuum, Freeze and Analyze: the big picture Andres Freund <andres@2ndquadrant.com>
Re: Vacuum, Freeze and Analyze: the big picture Thom Brown <thom@linux.com>
Re: Vacuum, Freeze and Analyze: the big picture Andres Freund <andres@2ndquadrant.com>
Re: Vacuum, Freeze and Analyze: the big picture Greg Stark <stark@mit.edu>
Jeff, > Do we know why anti-wraparound uses so many resources in the first place? > The default settings seem to be quite conservative to me, even for a > system that has only a single 5400 rpm hdd (and even more so for any real > production system that would be used for a many-GB database). > > I wonder if there is something simple but currently unknown going on which > is causing it to damage performance out of all proportion to the resources > it ought to be using. Does anti-wraparound vacuum (AWAV) write synchronously? If so, there's a potential whole world of hurt there. Otherwise, the effect you're seeing is just blowing out various caches: the CPU cache, storage cache, and filesystem cache. While we can (and do) prevent vacuum from blowing out shared_buffers, we can't do much about the others. Also, locking while it does its work. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com
В списке pgsql-hackers по дате отправления