Why is wal_writer_delay limited to 10s?

Поиск
Список
Период
Сортировка
От Clemens Eisserer
Тема Why is wal_writer_delay limited to 10s?
Дата
Msg-id CAFvQSYQaWaGLq63x7=Lcc1qxEEfeG8jsRC=4jbLOdnsbGW6egg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Why is wal_writer_delay limited to 10s?
Re: Why is wal_writer_delay limited to 10s?
Список pgsql-general
Hi,

Just to be curious, why is wal_writer_delay limited to 10s?
I am using postgresql in an embedded environment where every 10s
sensor values are logged and even with "synchronous_commit = off" and
wal_writer_delay=10000 this burns quite a lot of nand cycles. For me
it wouldn't hurt loosing minutes of data - it is only important that
the database is in a consistent state after power loss.

Thanks, Clemens

PS: It is really impressive how flexible and powerful postgresql is.
I am using it on small TP-Link OpenWRT router (32m ram, 400mhz MIPS),
on a raspberry pi as well as on larger servers for "real" database
stuff with huge Hibernate-generated queries. Whenever/weherever I use
postgresql, it does an excellent job and is rock-solid.
Thanks a lot for this impressive piece of work :)


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

Предыдущее
От: Tim Kane
Дата:
Сообщение: ON_ERROR_EXIT and interactive mode (or, how to force interactive mode off)
Следующее
От: Joseph Kregloh
Дата:
Сообщение: Re: pg_upgrade & tablespaces