Re: performance of insert/delete/update

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: performance of insert/delete/update
Дата
Msg-id 19736.1038087697@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: performance of insert/delete/update  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-performance
Josh Berkus <josh@agliodbs.com> writes:
> One last, last question: I was just asked a question on IRC, and I
> can't find docs defining fsynch, fdatasynch, opensynch, and
> opendatasynch beyond section 11.3 which just says that they are all
> synch methods.  Are there docs?

Section 11.3 of what?

The only mention of open_datasync that I see in the docs is in the
Admin Guide chapter 3:
http://developer.postgresql.org/docs/postgres/runtime-config.html#RUNTIME-CONFIG-WAL

which saith

WAL_SYNC_METHOD (string)

     Method used for forcing WAL updates out to disk. Possible values
     are FSYNC (call fsync() at each commit), FDATASYNC (call
     fdatasync() at each commit), OPEN_SYNC (write WAL files with open()
     option O_SYNC), or OPEN_DATASYNC (write WAL files with open()
     option O_DSYNC). Not all of these choices are available on all
     platforms. This option can only be set at server start or in the
     postgresql.conf file.

This may not help you much to decide which to use :-(, but it does tell
you what they are.

            regards, tom lane

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: performance of insert/delete/update
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: performance of insert/delete/update