Skip to main content

Module status

Module status 

Source
Expand description

数据库运行状态聚合查询。 数据库运行状态聚合查询(只读)。

全部查询走 pg_catalog / pg_stat_* / schema_migrations,零写、零风险。 get_db_status 在一次 server function 调用里聚合多组数据返回。

Structs§

ConnInfo
单条活跃连接信息。
DbStatus
数据库状态聚合数据。
IndexInfo
索引占用信息。
TableInfo
单张表的统计信息。

Functions§

get_db_status
获取数据库运行状态(只读,管理员)。