Re: Disable WAL completely - Performance and Persistency research

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Disable WAL completely - Performance and Persistency research
Дата
Msg-id CAMsr+YEeGZCT24hd3HeDZkPC8BAhX3s1GqtUUYDzC+seqCS3Dg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Disable WAL completely - Performance and Persistency research  (Netanel Katzburg <netanel10k@gmail.com>)
Ответы Re: Disable WAL completely - Performance and Persistency research  (Netanel Katzburg <netanel10k@gmail.com>)
Список pgsql-hackers
On 10 July 2016 at 18:27, Netanel Katzburg <netanel10k@gmail.com> wrote:
 

BUT, both options are not good, as they are stopping me from even running initdb. 



The easiest path for testing will be to use an unpatched PostgreSQL to `initdb` and create a new database. Then start up a patched one that simply skips WAL writing against an already-`initdb`'d data directory.

You probably won't be able to safely restart PostgreSQL, but all you're doing is performance analsys so one-shot operation on a throw-away data directory is probably fine. 
 

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: PSA: Systemd will kill PostgreSQL
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench - minor doc improvements