Re: 16-bit page checksums for 9.2

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: 16-bit page checksums for 9.2
Дата
Msg-id 201201062035.02995.andres@anarazel.de
обсуждение исходный текст
Ответ на Re: 16-bit page checksums for 9.2  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: 16-bit page checksums for 9.2  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Friday, January 06, 2012 07:26:14 PM Simon Riggs wrote:
> The following patch (v4) introduces a new WAL record type that writes
> backup blocks for the first hint on a block in any checkpoint that has
> not previously been changed. IMHO this fixes the torn page problem
> correctly, though at some additional loss of performance but not the
> total catastrophe some people had imagined. Specifically we don't need
> to log anywhere near 100% of hint bit settings, much more like 20-30%
> (estimated not measured).
Well, but it will hurt in those cases where hint bits already hurt hugely. 
Which is for example when accessing huge amounts of data the first time after 
loading it. Which is not exactly uncommon...

Andres


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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Progress on fast path sorting, btree index creation time
Следующее
От: Robert Haas
Дата:
Сообщение: Re: CLOG contention