Re: Maximum Performance Follow-up Question

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Maximum Performance Follow-up Question
Дата
Msg-id
1051.1011988224@sss.pgh.pa.us
Ответ на
Список
"Peter T. Brown"  writes:
> Is there any BIG risk in turning fsync off?

No, I wouldn't say so if you consider your data noncritical.  fsync is
for stuff like orders and bank accounts, where losing even one
committed transaction is not acceptable.

> And isn't there some way to use fsync but just use it less frequently,

That's pretty much what you get with fsync off: the Unix system will
still flush data to disk every 30 sec or so (see syncer daemon's man
page).

			regards, tom lane
В списке pgsql-admin по дате отправления
От: Zhang, Anna
Дата:
От: Peter T. Brown
Дата:
FAQ