Re: Vacuum, Freeze and Analyze: the big picture
От
Josh Berkus
Тема
Re: Vacuum, Freeze and Analyze: the big picture
Дата
Msg-id
51ACE6E3.4000309@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>
On 06/03/2013 11:12 AM, Andres Freund wrote: > On 2013-06-03 11:00:38 -0700, Josh Berkus wrote: >> >>>> Also, locking while it does its work. >>> >>> Eh? >> >> Even if we're doing lazy vacuum, we have to lock a few pages at a time >> of each table. This does result in response time delays on the current >> workload, which can be quite bad if it's a highly contended table already. > > We don't really lock more pages at a time than normal DML does. 1 heap > page at a time, possibly several index pages at once. Really? I though vacuum held onto its locks until it reached vacuum_cost. If it doesn't, then maybe we should adjust the default for vacuum_cost_limit upwards. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com
В списке pgsql-hackers по дате отправления