Skip to main content

Module db_status

Module db_status 

Source
Expand description

数据库 tab:概览卡片(大小、连接、表数、迁移版本)、数据表占用、索引占用前十与 活跃连接。DB 查询有成本,自动刷新最快 1 秒、默认手动。

概览卡片与占用条直接绑定状态信号,刷新时原地更新;三张表按整行内容做 key, 内容变化时重建该行(滚动容器保持不动)。

Structs§

DbStatusBodyProps 🔒
Props for the DbStatusBody component.
DbStatusTabProps 🔒
Props for the DbStatusTab component.
TableRow 🔒
表占用行:与最大表的占比随行内容一起固定在行内(largest 变化时行内容也变)。

Functions§

DbStatusBody 🔒
概览卡片与四张明细:只在已有数据后渲染,字段绑定到 status。
DbStatusTab 🔒
数据库 tab。