Re: [PATCHES] wal_checksum = on (default) | off

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: [PATCHES] wal_checksum = on (default) | off
Дата
Msg-id 87mz4pwmx3.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: [PATCHES] wal_checksum = on (default) | off  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] wal_checksum = on (default) | off  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> Gregory Stark <stark@enterprisedb.com> writes:
>> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
>>> Pretty much not happening; or are you volunteering to fix every part of
>>> the system to tolerate injections of inserted data anywhere in a stored
>>> datum?
>
>> I was thinking to do it at a low level as the xlog records are prepared to be
>> written to the filesystem and as the data is being read from disk. I haven't
>> read that code yet to see where to inject it but I understand there's already
>> a copy happening and it could be done there.
>
> You understand wrong ... a tuple sitting on disk is normally read
> directly from the shared buffer, and I don't think we want to pay for
> copying it.

"xlog records"


--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: wal buffers documentation -errata
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] wal_checksum = on (default) | off