Re: Idea for getting rid of VACUUM FREEZE on cold pages

Поиск
Список
Период
Сортировка
Искать
От
Jan Wieck
Тема
Re: Idea for getting rid of VACUUM FREEZE on cold pages
Дата
в 17:53:38
Msg-id
4BFC38E0.3040409@Yahoo.com
Ответ на
Список
Дерево обсуждения
Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Jan Wieck <JanWieck@Yahoo.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Jan Wieck <JanWieck@Yahoo.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Jesper Krogh <jesper@krogh.cc>
Re: Idea for getting rid of VACUUM FREEZE on cold pages "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Joe Conway <mail@joeconway.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Russell Smith <mr-russ@pws.com.au>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Alvaro Herrera <alvherre@commandprompt.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Alvaro Herrera <alvherre@commandprompt.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Bruce Momjian <bruce@momjian.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Jan Wieck <JanWieck@Yahoo.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Simon Riggs <simon@2ndQuadrant.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Simon Riggs <simon@2ndQuadrant.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Simon Riggs <simon@2ndQuadrant.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Alvaro Herrera <alvherre@commandprompt.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Simon Riggs <simon@2ndQuadrant.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Jan Wieck <JanWieck@Yahoo.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages marcin mank <marcin.mank@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Stephen Frost <sfrost@snowman.net>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Greg Stark <gsstark@mit.edu>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Stephen Frost <sfrost@snowman.net>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Jan Wieck <JanWieck@Yahoo.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Greg Smith <greg@2ndquadrant.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Bruce Momjian <bruce@momjian.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Bruce Momjian <bruce@momjian.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Bruce Momjian <bruce@momjian.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Alvaro Herrera <alvherre@commandprompt.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Bruce Momjian <bruce@momjian.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Greg Stark <gsstark@mit.edu>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Greg Stark <gsstark@mit.edu>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Bruce Momjian <bruce@momjian.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Jan Wieck <JanWieck@Yahoo.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Robert Haas <robertmhaas@gmail.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Jesper Krogh <jesper@krogh.cc>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Tom Lane <tgl@sss.pgh.pa.us>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Josh Berkus <josh@agliodbs.com>
Re: Idea for getting rid of VACUUM FREEZE on cold pages Florian Pflug <fgp@phlo.org>
On 5/24/2010 9:30 AM, Heikki Linnakangas wrote:
> On 22/05/10 16:35, Tom Lane wrote:
>> Josh Berkus  writes:
>>>    From a discussion at dinner at pgcon, I wanted to send this to the list
>>> for people to poke holes in it:
>>
>> Somebody (I think Joe or Heikki) poked a big hole in this last night at
>> the Royal Oak.
> 
> Me.
> 
>>  Although the scheme would get rid of the need to replace
>> old XIDs with FrozenXid, it does not get rid of the need to set hint
>> bits before you can truncate CLOG.
> 
> Hmm, we don't rely on setting hint bits to truncate CLOG anymore 
> (http://archives.postgresql.org/pgsql-committers/2006-11/msg00026.php). 
> It's the replacement of xids with FrozenXid that matters, the hint bits 
> are really just hints.
> 
> Doesn't change the conclusion, though: you still need to replace XIDs 
> with FrozenXids to truncate the clog. Conceivably we could keep around 
> more than 2^32 transactions in clog with this scheme, but then you need 
> a lot more space for the clog. But perhaps it would be better to do that 
> than to launch anti-wraparound vacuums, or to refuse more updates in the 
> extreme cases.

Correct. The problem actually are aborted transactions. Just because an 
XID is really old doesn't mean it was committed.


Jan

-- 
Anyone who trades liberty for security deserves neither
liberty nor security. -- Benjamin Franklin

В списке pgsql-hackers по дате отправления
От: Simon Riggs
Дата:
От: Josh Berkus
Дата:
FAQ