> For the complete documentation index, see [llms.txt](https://docs.postgresql.tw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.postgresql.tw/19/server-administration/wal.md). Agents can also search and read this documentation through its [MCP server](https://docs.postgresql.tw/~gitbook/mcp).

# 第 28 章 可靠性與預寫式日誌

**目錄**

* [28.1. 可靠性](https://docs.postgresql.tw/19/server-administration/wal/wal-reliability.md)
* [28.2. 資料檢查碼](https://docs.postgresql.tw/19/server-administration/wal/checksums.md)
  * [28.2.1. 離線啟用檢查碼](https://docs.postgresql.tw/19/server-administration/wal/checksums.md#checksums-offline-enable-disable)
* [28.3. 預寫式日誌（WAL）](https://docs.postgresql.tw/19/server-administration/wal/wal-intro.md)
* [28.4. 非同步提交](https://docs.postgresql.tw/19/server-administration/wal/wal-async-commit.md)
* [28.5. WAL 設定](https://docs.postgresql.tw/19/server-administration/wal/wal-configuration.md)
* [28.6. WAL 內部實作](https://docs.postgresql.tw/19/server-administration/wal/wal-internals.md)

本章說明如何控制 PostgreSQL 的可靠性，並介紹預寫式日誌的細節。

***

原文：[PostgreSQL 18.6 Documentation](https://www.postgresql.org/docs/18/wal.html)（原文版本：18.6；核對日期：2026-09-07）


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.postgresql.tw/19/server-administration/wal.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
