Expand description
数据库运行状态聚合查询。 数据库运行状态聚合查询(只读)。
全部查询走 pg_catalog / pg_stat_* / schema_migrations,零写、零风险。
get_db_status 在一次 server function 调用里聚合多组数据返回。
Structs§
- Conn
Info - 单条活跃连接信息。
- DbStatus
- 数据库状态聚合数据。
- GetDb
Status - Serialized arguments for the
get_db_statusserver function. - Index
Info - 索引占用信息。
- Table
Info - 单张表的统计信息。
Functions§
- get_
db_ status - 获取数据库运行状态(只读,管理员)。