Re: TOAST performance (was Re: [GENERAL] Delete Performance)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: TOAST performance (was Re: [GENERAL] Delete Performance)
Дата
Msg-id 200111170211.fAH2BOT16046@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: TOAST performance (was Re: [GENERAL] Delete Performance)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: TOAST performance (was Re: [GENERAL] Delete Performance)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Is it because we take a snapshot of the page before we write it in case
> > we only write part of the page?
> 
> AFAIR, the partial-page-write problem is the entire reason for doing it.
> If we could be certain that writes to datafile pages were atomic, we'd
> not need this.
> 
> Of course we can't be certain of that.  But I'm wondering if there isn't
> a cheaper solution.

Could we add code to detect a partial write when we recover from one
using WAL so we can know if these partial writes are ever
happening?


I am with you on this.  There has to be a better way.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: TOAST performance (was Re: [GENERAL] Delete Performance)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TOAST performance (was Re: [GENERAL] Delete Performance)