Re: [PERFORM] Reiser4

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PERFORM] Reiser4
Дата
Msg-id 200408140130.i7E1Ulf06800@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: [PERFORM] Reiser4  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Pierre-Fr�d�ric Caillaud wrote:
>     Is there also a possibility to tell Postgres : "I don't care if I lose 30
> seconds of transactions on this table if the power goes out, I just want
> to be sure it's still ACID et al. compliant but you can fsync less often
> and thus be faster" (with a possibility of setting that on a per-table
> basis) ?

I have been thinking about this.  Informix calls it buffered logging and
it would be a good feature.

Added to TODO:

* Allow buffered WAL writes and fsync

  Instead of guaranteeing recovery of all committed transactions, this
  would provide improved performance by delaying WAL writes and fsync
  so an abrupt operating system restart might lose a few seconds of
  committed transactions but still be consistent.  We could perhaps
  remove the 'fsync' parameter (which results in an an inconsistent
  database) in favor of this capability.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Calling PL functions with named parameters
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [ADMIN] Pseudo-Off-topic-survey: Opinions about future of Postgresql(MySQL)?