Re: Page-level version upgrade

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Page-level version upgrade
Дата
Msg-id 87fx7t39cg.fsf@hi-media-techno.com
обсуждение исходный текст
Ответ на Re: Page-level version upgrade (was: Block-level CRC checks)  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Page-level version upgrade  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Hi,

As we're talking about crazy ideas...

Bruce Momjian <bruce@momjian.us> writes:
> Well, yea, the idea would be that the 8.5 server would either convert
> the page to the new format on read (assuming there is enough free space,
> perhaps requiring a pre-upgrade script), or have the server write the
> page in the old 8.4 format and not do CRC checks on the page.  My guess
> is the former.

We already have had demand for read only tables (some on-disk format
optimisation would then be possible). What about having page level
read-only restriction, thus allowing the newer server version to operate
in read-only mode on the older server version pages, and convert on
write by allocating whole new page(s)?

Then we go even crazier, with a special recovery mode on the new version
able to read older version WAL format, producing older version
pages. That sounds like code maintenance hell, but would allow for a
$new WAL standby to restore from a $old wal steam, and be read
only. Then you sitchover to the slave and it goes out of recovery and
creates new pages on writes.

How about going this crazy?

Regards,
-- 
dim


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Hot Standby remaining issues
Следующее
От: Joshua Tolley
Дата:
Сообщение: Re: PL/Python array support