Re: PostgreSQL as a local in-memory cache

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: PostgreSQL as a local in-memory cache
Дата
Msg-id 4C2C6721.2010000@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: PostgreSQL as a local in-memory cache  (Jignesh Shah <jkshah@gmail.com>)
Список pgsql-performance
  On 6/30/2010 2:21 PM, Jignesh Shah wrote:
> If the underlying WAL disk is SSD then it seems I can get
> synchronous_commit=on to work faster than
> synchronous_commit=off..

The first explanation that pops to mind is that synchronous_commit is
writing all the time, which doesn't have the same sort of penalty on
SSD.  Whereas if you turn it off, then there are some idle periods where
the SSD could be writing usefully, but instead it's buffering for the
next burst instead.  The importance of that can be magnified on
operating systems that do their own buffering and tend to lag behind
writes until they see an fsync call, like is the case on Linux with ext3.

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Analysis Function
Следующее
От: Deborah Fuentes
Дата:
Сообщение: Extremely high CPU usage when building tables