Expand description
数据库 tab:概览卡片(大小、连接、表数、迁移版本)、数据表占用、索引占用前十与 活跃连接。DB 查询有成本,自动刷新最快 1 秒、默认手动。
概览卡片与占用条直接绑定状态信号,刷新时原地更新;三张表按整行内容做 key, 内容变化时重建该行(滚动容器保持不动)。
Structs§
- DbStatus
Body 🔒Props - Props for the
DbStatusBodycomponent. - DbStatus
TabProps 🔒 - Props for the
DbStatusTabcomponent. - Table
Row 🔒 - 表占用行:与最大表的占比随行内容一起固定在行内(
largest变化时行内容也变)。
Functions§
- DbStatus
Body 🔒 - 概览卡片与四张明细:只在已有数据后渲染,字段绑定到
status。 - DbStatus
Tab 🔒 - 数据库 tab。