Re: Page Checksums + Double Writes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Page Checksums + Double Writes
Дата
Msg-id 1547.1324671957@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Page Checksums + Double Writes  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> I had a perhaps crazier idea. Aren't CLOG pages older than global xmin
> effectively read only?  Could backends that need these bypass locking
> and shared memory altogether?

Hmm ... once they've been written out from the SLRU arena, yes.  In fact
you don't need to go back as far as global xmin --- *any* valid xmin is
a sufficient boundary point.  The only real problem is to know whether
the data's been written out from the shared area yet.

This idea has potential.  I like it better than Robert's, mainly because
I do not want to see us put something in place that would lead people to
try to avoid rollbacks.
        regards, tom lane


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Page Checksums + Double Writes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: patch: bytea_agg