Re: [WIP] In-place upgrade

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: [WIP] In-place upgrade
Дата
Msg-id
200811061836.mA6Ia7o13784@momjian.us
Ответ на
Список
Дерево обсуждения
[WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Gregory Stark <stark@enterprisedb.com>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Gregory Stark <stark@enterprisedb.com>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Gregory Stark <stark@enterprisedb.com>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Gregory Stark <stark@enterprisedb.com>
Re: [WIP] In-place upgrade "Joshua D. Drake" <jd@commandprompt.com>
Re: [WIP] In-place upgrade Gregory Stark <stark@enterprisedb.com>
Re: [WIP] In-place upgrade "Joshua D. Drake" <jd@commandprompt.com>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Greg Stark <greg.stark@enterprisedb.com>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade Martijn van Oosterhout <kleptog@svana.org>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Gregory Stark <stark@enterprisedb.com>
Re: [WIP] In-place upgrade Martijn van Oosterhout <kleptog@svana.org>
Re: [WIP] In-place upgrade Gregory Stark <stark@enterprisedb.com>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Bruce Momjian <bruce@momjian.us>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade Bruce Momjian <bruce@momjian.us>
Re: [WIP] In-place upgrade Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade Greg Smith <gsmith@gregsmith.com>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade Greg Smith <gsmith@gregsmith.com>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Bruce Momjian <bruce@momjian.us>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade Decibel! <decibel@decibel.org>
Re: [WIP] In-place upgrade Tom Lane <tgl@sss.pgh.pa.us>
Re: [WIP] In-place upgrade "Joshua D. Drake" <jd@commandprompt.com>
Re: [WIP] In-place upgrade Jeff <threshar@torgo.978.org>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Alvaro Herrera <alvherre@commandprompt.com>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade "Matthew T. O'Connor" <matthew@zeut.net>
Re: [WIP] In-place upgrade "Joshua D. Drake" <jd@commandprompt.com>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Re: [WIP] In-place upgrade Zdenek Kotala <Zdenek.Kotala@Sun.COM>
Re: [WIP] In-place upgrade "Robert Haas" <robertmhaas@gmail.com>
Tom Lane wrote:
> Bruce Momjian  writes:
> > I envision a similar system where we have utilities to guarantee all
> > pages have enough free space, and all pages are the current version,
> > before allowing an upgrade-in-place to the next version.  Such a
> > consistent API will make the job for users easier and our job simpler,
> > and with upgrade-in-place, where we have limited time and resources to
> > code this for each release, simplicity is important.
> 
> An external utility doesn't seem like the right way to approach it.
> For example, given the need to ensure X amount of free space in each
> page, the only way to guarantee that would be to shut down the database
> while you run the utility over all the pages --- otherwise somebody
> might fill some page up again.  And that completely defeats the purpose,
> which is to have minimal downtime during upgrade.
> 
> I think we can have a notion of pre-upgrade maintenance, but it would
> have to be integrated into normal operations.  For instance, if
> conversion to 8.4 requires extra free space, we'd make late releases
> of 8.3.x not only be able to force that to occur, but also tweak the
> normal code paths to maintain that minimum free space.
> 
> The full concept as I understood it (dunno why Bruce left all these
> details out of his message) went like this:

Exactly.  I didn't go into the implementation details to make it easer
for people to see my general goals.  Tom's implementation steps are the
correct approach, assuming we can get agreement on the general goals.

--  Bruce Momjian          http://momjian.us EnterpriseDB                             http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-hackers по дате отправления
От: Kevin Grittner
Дата:
Сообщение: Re: RAM-only temporary tables
От: Tom Lane
Дата:
FAQ