|
1 | 1 | <!-- |
2 | | -$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.341 2005/07/30 17:15:35 momjian Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.342 2005/08/09 04:50:43 momjian Exp $ |
3 | 3 | --> |
4 | 4 |
|
5 | 5 | <chapter Id="runtime"> |
@@ -1724,13 +1724,38 @@ SET ENABLE_SEQSCAN TO OFF; |
1724 | 1724 | <listitem> |
1725 | 1725 | <para> |
1726 | 1726 | Method used for forcing WAL updates out to disk. Possible |
1727 | | - values are |
1728 | | - <literal>fsync</> (call <function>fsync()</> at each commit), |
1729 | | - <literal>fdatasync</> (call <function>fdatasync()</> at each commit), |
1730 | | - <literal>fsync_writethrough</> (force write-through of any disk write cache), |
1731 | | - <literal>open_sync</> (write WAL files with <function>open()</> option <symbol>O_SYNC</>), and |
1732 | | - <literal>open_datasync</> (write WAL files with <function>open()</> option <symbol>O_DSYNC</>). |
| 1727 | + values are: |
| 1728 | + </para> |
| 1729 | + <itemizedlist> |
| 1730 | + <listitem> |
| 1731 | + <para> |
| 1732 | + <literal>open_datasync</> (write WAL files with <function>open()</> option <symbol>O_DSYNC</>) |
| 1733 | + </para> |
| 1734 | + </listitem> |
| 1735 | + <listitem> |
| 1736 | + <para> |
| 1737 | + <literal>fdatasync</> (call <function>fdatasync()</> at each commit), |
| 1738 | + </para> |
| 1739 | + </listitem> |
| 1740 | + <listitem> |
| 1741 | + <para> |
| 1742 | + <literal>fsync</> (call <function>fsync()</> at each commit) |
| 1743 | + </para> |
| 1744 | + </listitem> |
| 1745 | + <listitem> |
| 1746 | + <para> |
| 1747 | + <literal>open_sync</> (write WAL files with <function>open()</> option <symbol>O_SYNC</>) |
| 1748 | + </para> |
| 1749 | + </listitem> |
| 1750 | + <listitem> |
| 1751 | + <para> |
| 1752 | + <literal>fsync_writethrough</> (force write-through of any disk write cache) |
| 1753 | + </para> |
| 1754 | + </listitem> |
| 1755 | + </itemizedlist> |
| 1756 | + <para> |
1733 | 1757 | Not all of these choices are available on all platforms. |
| 1758 | + The top-most supported option is used as the default. |
1734 | 1759 | If <varname>fsync</varname> is off then this setting is irrelevant. |
1735 | 1760 | This option can only be set at server start or in the |
1736 | 1761 | <filename>postgresql.conf</filename> file. |
|