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

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

Wiki / 统计与指标

pg_stat_lock.wait_time

Total time spent waiting for locks of this type, in milliseconds. Only incremented when the lock was successfully acquired after waiting longer than deadlock_timeout.

当前阅读 PG 20·选择有来源记录的版本

此版本暂无所选语言的定义,以下显示原始英文内容。

View
pg_stat_lock
Field
wait_time
SQL type
double precision
Units named in the field definition
milliseconds
Reset observation
Time at which these statistics were last reset.
documented
true
field
wait_time
manual path
/docs/devel/monitoring-stats.html
signature
SELECT wait_time FROM pg_catalog.pg_stat_lock;
source only
false
sql type
double precision
units mentioned
milliseconds
view
pg_stat_lock

版本定义 PG 20

Total time spent waiting for locks of this type, in milliseconds. Only incremented when the lock was successfully acquired after waiting longer than deadlock_timeout.

比较版本

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 20 · 4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41

正文语言: en · 4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41