↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

支持中的版本: 当前版本 (18) / 17 / 16 / 15 / 14
开发中的版本: 19 / 20devel
已结束支持的版本: 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2 / 8.1 / 8.0 / 7.4 / 7.3
历史版本。 PostgreSQL 9.2 已结束支持。 2017-11-09. 请参阅 当前版本手册.

45.3. pg_am #

目录pg_am存储关于索引访问方法的信息。系统支持的每种索引访问方法在这个目录中都有一行。此目录的内容在第 52 章中详细讨论。

表 45.3. pg_am 列

NameTypeReferencesDescription
amnamename Name of the access method
amstrategiesint2 Number of operator strategies for this access method, or zero if access method does not have a fixed set of operator strategies
amsupportint2 Number of support routines for this access method
amcanorderbool Does the access method support ordered scans sorted by the indexed column's value?
amcanorderbyopbool Does the access method support ordered scans sorted by the result of an operator on the indexed column?
amcanbackwardbool Does the access method support backward scanning?
amcanuniquebool Does the access method support unique indexes?
amcanmulticolbool Does the access method support multicolumn indexes?
amoptionalkeybool Does the access method support a scan without any constraint for the first index column?
amsearcharraybool 访问方法是否支持ScalarArrayOpExpr搜索?
amsearchnullsbool Does the access method support IS NULL/NOT NULL searches?
amstoragebool Can index storage data type differ from column data type?
amclusterablebool Can an index of this type be clustered on?
ampredlocksbool Does an index of this type manage fine-grained predicate locks?
amkeytypeoidpg_type.oidType of data stored in index, or zero if not a fixed type
aminsertregprocpg_proc.oid“Insert this tuple” function
ambeginscanregprocpg_proc.oid“Prepare for index scan” function
amgettupleregprocpg_proc.oid“Next valid tuple” function, or zero if none
amgetbitmapregprocpg_proc.oid“Fetch all valid tuples” function, or zero if none
amrescanregprocpg_proc.oid“(Re)start index scan” function
amendscanregprocpg_proc.oid“Clean up after index scan” function
ammarkposregprocpg_proc.oid“Mark current scan position” function
amrestrposregprocpg_proc.oid“Restore marked scan position” function
ambuildregprocpg_proc.oid“Build new index” function
ambuildemptyregprocpg_proc.oid“Build empty index” function
ambulkdeleteregprocpg_proc.oidBulk-delete function
amvacuumcleanupregprocpg_proc.oidPost-VACUUM cleanup function
amcanreturnregprocpg_proc.oid检查索引列是否支持仅索引扫描的函数。如果从不支持仅索引扫描,可以为零。
amcostestimateregprocpg_proc.oidFunction to estimate cost of an index scan
amoptionsregprocpg_proc.oidFunction to parse and validate reloptions for an index

报告文档问题

阅读 上游文档. 反馈更正前请先核对 当前版本手册.