Re: Optimise PostgreSQL for fast testing

Поиск
Список
Период
Сортировка
От Dmytrii Nagirniak
Тема Re: Optimise PostgreSQL for fast testing
Дата
Msg-id D62CA552-8CCD-456A-B8FE-DA2010795D39@gmail.com
обсуждение исходный текст
Ответ на Re: Optimise PostgreSQL for fast testing  (Jan Kesten <jan@dafuer.de>)
Ответы Re: Optimise PostgreSQL for fast testing
Re: Optimise PostgreSQL for fast testing
Список pgsql-general


On 23/02/2012, at 4:38 PM, Jan Kesten wrote:

Hi Dmytrii,

just as short idea, put "fsync = off" in your postgres.conf. That turns off that after a commit data is forcilby written to disk - if the database crashes there might be dataloss.

Thanks. So far I tried:

fsync = off
full_page_writes = off

It seems it got a *little* faster (down to ~65 seconds from ~76) but is till too far from my target of ~34 secs.


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

Предыдущее
От: Jan Kesten
Дата:
Сообщение: Re: Optimise PostgreSQL for fast testing
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Optimise PostgreSQL for fast testing