> 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/internals/views.md). Agents can also search and read this documentation through its [MCP server](https://docs.postgresql.tw/~gitbook/mcp).

# 第 53 章 系統檢視表

### 第 53 章 系統檢視表

**目錄**

[53.1. 概觀](https://docs.postgresql.tw/19/internals/views/views-overview.md)

[53.2. `pg_aios`](https://docs.postgresql.tw/19/internals/views/view-pg-aios.md)

[53.3. `pg_available_extensions`](https://docs.postgresql.tw/19/internals/views/view-pg-available-extensions.md)

[53.4. `pg_available_extension_versions`](https://docs.postgresql.tw/19/internals/views/view-pg-available-extension-versions.md)

[53.5. `pg_backend_memory_contexts`](https://docs.postgresql.tw/19/internals/views/view-pg-backend-memory-contexts.md)

[53.6. `pg_config`](https://docs.postgresql.tw/19/internals/views/view-pg-config.md)

[53.7. `pg_cursors`](https://docs.postgresql.tw/19/internals/views/view-pg-cursors.md)

[53.8. `pg_file_settings`](https://docs.postgresql.tw/19/internals/views/view-pg-file-settings.md)

[53.9. `pg_group`](https://docs.postgresql.tw/19/internals/views/view-pg-group.md)

[53.10. `pg_hba_file_rules`](https://docs.postgresql.tw/19/internals/views/view-pg-hba-file-rules.md)

[53.11. `pg_ident_file_mappings`](https://docs.postgresql.tw/19/internals/views/view-pg-ident-file-mappings.md)

[53.12. `pg_indexes`](https://docs.postgresql.tw/19/internals/views/view-pg-indexes.md)

[53.13. `pg_locks`](https://docs.postgresql.tw/19/internals/views/view-pg-locks.md)

[53.14. `pg_matviews`](https://docs.postgresql.tw/19/internals/views/view-pg-matviews.md)

[53.15. `pg_policies`](https://docs.postgresql.tw/19/internals/views/view-pg-policies.md)

[53.16. `pg_prepared_statements`](https://docs.postgresql.tw/19/internals/views/view-pg-prepared-statements.md)

[53.17. `pg_prepared_xacts`](https://docs.postgresql.tw/19/internals/views/view-pg-prepared-xacts.md)

[53.18. `pg_publication_tables`](https://docs.postgresql.tw/19/internals/views/view-pg-publication-tables.md)

[53.19. `pg_replication_origin_status`](https://docs.postgresql.tw/19/internals/views/view-pg-replication-origin-status.md)

[53.20. `pg_replication_slots`](https://docs.postgresql.tw/19/internals/views/view-pg-replication-slots.md)

[53.21. `pg_roles`](https://docs.postgresql.tw/19/internals/views/view-pg-roles.md)

[53.22. `pg_rules`](https://docs.postgresql.tw/19/internals/views/view-pg-rules.md)

[53.23. `pg_seclabels`](https://docs.postgresql.tw/19/internals/views/view-pg-seclabels.md)

[53.24. `pg_sequences`](https://docs.postgresql.tw/19/internals/views/view-pg-sequences.md)

[53.25. `pg_settings`](https://docs.postgresql.tw/19/internals/views/view-pg-settings.md)

[53.26. `pg_shadow`](https://docs.postgresql.tw/19/internals/views/view-pg-shadow.md)

[53.27. `pg_shmem_allocations`](https://docs.postgresql.tw/19/internals/views/view-pg-shmem-allocations.md)

[53.28. `pg_shmem_allocations_numa`](https://docs.postgresql.tw/19/internals/views/view-pg-shmem-allocations-numa.md)

[53.29. `pg_stats`](https://docs.postgresql.tw/19/internals/views/view-pg-stats.md)

[53.30. `pg_stats_ext`](https://docs.postgresql.tw/19/internals/views/view-pg-stats-ext.md)

[53.31. `pg_stats_ext_exprs`](https://docs.postgresql.tw/19/internals/views/view-pg-stats-ext-exprs.md)

[53.32. `pg_tables`](https://docs.postgresql.tw/19/internals/views/view-pg-tables.md)

[53.33. `pg_timezone_abbrevs`](https://docs.postgresql.tw/19/internals/views/view-pg-timezone-abbrevs.md)

[53.34. `pg_timezone_names`](https://docs.postgresql.tw/19/internals/views/view-pg-timezone-names.md)

[53.35. `pg_user`](https://docs.postgresql.tw/19/internals/views/view-pg-user.md)

[53.36. `pg_user_mappings`](https://docs.postgresql.tw/19/internals/views/view-pg-user-mappings.md)

[53.37. `pg_views`](https://docs.postgresql.tw/19/internals/views/view-pg-views.md)

[53.38. `pg_wait_events`](https://docs.postgresql.tw/19/internals/views/view-pg-wait-events.md)

除了系統目錄之外，PostgreSQL 還提供了一些內建的檢視表。有些系統檢視表讓你能方便地取用一些對系統目錄常用的查詢；其他檢視表則提供對伺服器內部狀態的存取。

資訊綱要（[第 35 章](https://docs.postgresql.tw/19/client-interfaces/information-schema.md)）提供了另一組檢視表，其功能與系統檢視表有所重疊。由於資訊綱要屬於 SQL 標準，而此處描述的檢視表是 PostgreSQL 特有的，因此如果資訊綱要能提供你所需的全部資訊，通常最好使用資訊綱要。

[表 53.1](https://docs.postgresql.tw/19/internals/views/views-overview.md#views-overview-table) 列出此處描述的系統檢視表。後文接著提供每個檢視表更詳細的說明。另外還有一些提供累積統計資訊存取的檢視表，它們描述於 [表 27.2](https://docs.postgresql.tw/19/server-administration/monitoring/monitoring-stats/monitoring-stats-views.md#monitoring-stats-views-table)。

***

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


---

# 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/internals/views.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.
