Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/reference/sql/information-schema/region-statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ Fields in the `REGION_STATISTICS` table are described as follows:
- `region_id`: The ID of the Region.
- `table_id`: The ID of the table.
- `region_number`: The number of the region in the table.
- `region_rows`: The number of rows in the region.
- `region_rows`: The number of rows in the region. It includes rows in SST files owned by this region and rows in memtables. Rows from SST files referenced from other regions are not counted.
- `written_bytes_since_open`: The number of bytes written to the region since the region was opened.
- `disk_size`: The total size of data files in the region, including data, index and metadata etc.
- `memtable_size`: The region's total size of memtables.
- `manifest_size`: The region's total size of manifest files.
- `sst_num`: The region's total number of SST files.
- `sst_size`: The region's total size of SST files.
- `index_size`: The region's total size of index files.
- `sst_size`: The region's total size of SST files owned by this region. SST files referenced from other regions are not counted.
- `sst_num`: The region's total number of SST files owned by this region. SST files referenced from other regions are not counted.
- `index_size`: The region's total size of index files owned by this region. SST index files referenced from other regions are not counted.
Comment thread
WenyXu marked this conversation as resolved.
- `engine`: The engine type of the region, `mito` or `metric`.
- `region_role`: The region's role, `Leader` or `Follower`.
Retrieve a table's region statistics information as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ DESC REGION_STATISTICS;
- `region_id`: Region 的 ID。
- `table_id`: 表的 ID。
- `region_number`: Region 在表中的编号。
- `region_rows`: Region 中的记录行数。
- `region_rows`: Region 中的记录行数。它包括该 Region 自有 SST 文件中的行数以及 memtable 中的行数,不包含引用其他 Region SST 文件中的行数。
- `written_bytes_since_open`: Region 自打开以来写入的字节数。
- `disk_size`: Region 中数据文件的总大小,包括数据、索引及元信息等。
- `memtable_size`: Region 中内存 memtables 的总大小。
- `manifest_size`: Region 中元信息 manifest 文件的总大小。
- `sst_num`: Region SST 文件的总数量
- `sst_size`: Region SST 文件的总大小
- `index_size`: Region 中索引文件的总大小
- `sst_size`: Region 自有 SST 文件的总大小,不包含引用其他 Region 的 SST 文件
- `sst_num`: Region 自有 SST 文件的总数量,不包含引用其他 Region 的 SST 文件
- `index_size`: Region 自有索引文件的总大小,不包含引用其他 Region 的 SST 索引文件
- `engine`: Region 的引擎类型,可以是 `mito` 或 `metric`。
- `region_role`: Region 的角色,可以是 `Leader` 或 `Follower`。

Expand Down
Loading