|
1 |
| -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/wal.sgml,v 1.4 2001/03/13 01:17:05 tgl Exp $ --> |
| 1 | +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/wal.sgml,v 1.5 2001/03/16 05:44:33 tgl Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="wal">
|
4 | 4 | <title>Write-Ahead Logging (<acronym>WAL</acronym>)</title>
|
|
281 | 281 | <command>CHECKPOINT</command>.
|
282 | 282 | </para>
|
283 | 283 |
|
284 |
| - <para> |
285 |
| - Setting the <varname>WAL_DEBUG</varname> parameter to any non-zero |
286 |
| - value will result in each <function>LogInsert</function> and |
287 |
| - <function>LogFlush</function> <acronym>WAL</acronym> call being |
288 |
| - logged to standard error. At present, it makes no difference what |
289 |
| - the non-zero value is. This option may be replaced by a more |
290 |
| - general mechanism in the future. |
291 |
| - </para> |
292 |
| - |
293 | 284 | <para>
|
294 | 285 | The <varname>COMMIT_DELAY</varname> parameter defines for how many
|
295 | 286 | microseconds the backend will sleep after writing a commit
|
|
304 | 295 | ten milliseconds, so that any nonzero <varname>COMMIT_DELAY</varname>
|
305 | 296 | setting between 1 and 10000 microseconds will have the same effect.
|
306 | 297 | </para>
|
| 298 | + |
| 299 | + <para> |
| 300 | + The <varname>WAL_SYNC_METHOD</varname> parameter determines how |
| 301 | + Postgres will ask the kernel to force WAL updates out to disk. |
| 302 | + All the options should be the same as far as reliability goes, |
| 303 | + but it's quite platform-specific which one will be the fastest. |
| 304 | + Note that this parameter is irrelevant if <varname>FSYNC</varname> |
| 305 | + has been turned off. |
| 306 | + </para> |
| 307 | + |
| 308 | + <para> |
| 309 | + Setting the <varname>WAL_DEBUG</varname> parameter to any non-zero |
| 310 | + value will result in each <function>LogInsert</function> and |
| 311 | + <function>LogFlush</function> <acronym>WAL</acronym> call being |
| 312 | + logged to standard error. At present, it makes no difference what |
| 313 | + the non-zero value is. This option may be replaced by a more |
| 314 | + general mechanism in the future. |
| 315 | + </para> |
307 | 316 | </sect1>
|
308 | 317 | </chapter>
|
309 | 318 |
|
|
0 commit comments