Re: Page Checksums

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Page Checksums
Дата
Msg-id CA+U5nMKjXgfbxxvjU0t7NxAJXV6KXO9boQF0tbmAEnpSqXO8dg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Page Checksums  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Page Checksums  (Jim Nasby <jim@nasby.net>)
Список pgsql-hackers
On Mon, Dec 19, 2011 at 8:18 PM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:

> Double-writes would be a useful option also to reduce the size of WAL that
> needs to be shipped in replication.
>
> Or you could just use a filesystem that does CRCs...

Double writes would reduce the size of WAL and we discussed many times
we want that.

Using a filesystem that does CRCs is basically saying "let the
filesystem cope". If that is an option, why not just turn full page
writes off and let the filesystem cope?

Do we really need double writes or even checksums in Postgres? What
use case are we covering that isn't covered by using the right
filesystem for the job? Or is that the problem? Are we implementing a
feature we needed 5 years ago but don't need now? Yes, other databases
have some of these features, but do we need them? Do we still need
them now?

Tell me we really need some or all of this and I will do my best to
make it happen.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: [PATCH] collation for (expr)
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: run check constraints only when affected columns are changed?