Re: What is the role of #fsync and #synchronous_commit in configuration file .

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: What is the role of #fsync and #synchronous_commit in configuration file .
Дата
Msg-id 4ec1cf760910060838h574c3fc8mf3123b91ee09e4b5@mail.gmail.com
обсуждение исходный текст
Ответ на What is the role of #fsync and #synchronous_commit in configuration file .  (keshav upadhyaya <ukeshav2009@gmail.com>)
Список pgsql-novice
On Tue, Oct 6, 2009 at 3:28 AM, keshav upadhyaya <ukeshav2009@gmail.com> wrote:

> First question - i want to know the role played by
>
>  #fsync   = on    and
>  #synchronous_commit = on

These configurations are discussed here:
http://developer.postgresql.org/pgdocs/postgres/runtime-config-wal.html

> I want to understand more in details what exactly had happened  one is made
> them "off" , is it dangerous to do this ?  as it will not sync the data in
> each commit .
>

There's plenty of discussion in the documentation and the list
archives about the
risks of disabling fsync and/or synchronous commit. Here's one:
http://archives.postgresql.org/pgsql-performance/2006-04/msg00631.php

If you're struggling with performance issues, I'd post a detailed
description of
your problem and what you've tried so far to the -performance list, instead of
turning fsync off.

Josh

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

Предыдущее
От: keshav upadhyaya
Дата:
Сообщение: What is the role of #fsync and #synchronous_commit in configuration file .
Следующее
От: Luiz Eduardo Cantanhede Neri
Дата:
Сообщение: Re: psql in bash - how to clear screen?