Skip to content
Open
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
2 changes: 1 addition & 1 deletion docs/reference/sql/information-schema/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ There is still lots of work to do for `INFORMATION_SCHEMA`. The tracking [issue]
| [`PROCEDURE_INFO`](./procedure-info.md) | Procedure information.|
| [`PROCESS_LIST`](./process-list.md) | Running queries information.|
| [`SSTS_INDEX_META`](./ssts-index-meta.md) | Provides SST index metadata including inverted indexes, fulltext indexes, and bloom filters.|
| [`SSTS_MANIFEST`](./ssts-manifest.md) | Provides SST file information from the manifest including file paths, sizes, time ranges, and row counts.|
| [`SSTS_MANIFEST`](./ssts-manifest.md) | Provides SST file information from the manifest including file paths, sizes, time ranges, row counts, and encoded primary key ranges.|
| [`SSTS_STORAGE`](./ssts-storage.md) | Provides SST file information from the storage layer for verification and debugging.|
| [`TRIGGERS`](./triggers.md) | Provides the trigger information. |
| [`ALERTS`](./alerts.md) | Provides the alert information. |
12 changes: 9 additions & 3 deletions docs/reference/sql/information-schema/ssts-manifest.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
keywords: [SST manifest, SST files, region files, file metadata, table data files]
description: Provides access to SST (Sorted String Table) file information from the manifest, including file paths, sizes, time ranges, and row counts.
description: Provides access to SST (Sorted String Table) file information from the manifest, including file paths, sizes, time ranges, row counts, and encoded primary key ranges.
---

# SSTS_MANIFEST

The `SSTS_MANIFEST` table provides access to SST (Sorted String Table) file information collected from the manifest. This table surfaces detailed information about each SST file, including file paths, sizes, levels, time ranges, and row counts.
The `SSTS_MANIFEST` table provides access to SST (Sorted String Table) file information collected from the manifest. This table surfaces detailed information about each SST file, including file paths, sizes, levels, time ranges, row counts, and encoded primary key ranges.
```sql
USE INFORMATION_SCHEMA;
DESC SSTS_MANIFEST;
Expand Down Expand Up @@ -37,6 +37,8 @@ The output is as follows:
| origin_region_id | UInt64 | | NO | | FIELD |
| node_id | UInt64 | | YES | | FIELD |
| visible | Boolean | | NO | | FIELD |
| primary_key_min | Binary | | YES | | FIELD |
| primary_key_max | Binary | | YES | | FIELD |
+------------------+---------------------+-----+------+---------+---------------+
```

Expand All @@ -62,6 +64,8 @@ Fields in the `SSTS_MANIFEST` table are described as follows:
- `origin_region_id`: The ID of the region that created the file.
- `node_id`: The ID of the datanode where the file is located.
- `visible`: Whether this file is visible in the current version.
- `primary_key_min`: The minimum encoded primary key in the SST file.
- `primary_key_max`: The maximum encoded primary key in the SST file.

## Examples

Expand Down Expand Up @@ -124,9 +128,11 @@ mysql> SELECT * FROM INFORMATION_SCHEMA.SSTS_MANIFEST LIMIT 1\G;
num_row_groups: 1
min_ts: 2025-01-01 00:00:00.000000000
max_ts: 2025-01-01 00:01:00.000000000
sequence: 1
sequence: 1
origin_region_id: 4398046511104
node_id: 0
visible: true
primary_key_min: 01800001f4
primary_key_max: 01800001f4
1 row in set (0.02 sec)
```
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ description: INFORMATION_SCHEMA 提供对系统元数据的访问,例如数据
| [`PROCEDURE_INFO`](./procedure-info.md) | 提供 Procedure 相关信息。|
| [`PROCESS_LIST`](./process-list.md) | 提供集群内正在执行的查询信息。 |
| [`SSTS_INDEX_META`](./ssts-index-meta.md) | 提供 SST 索引元数据,包括倒排索引、全文索引和布隆过滤器。|
| [`SSTS_MANIFEST`](./ssts-manifest.md) | 提供从 manifest 获取的 SST 文件信息,包括文件路径、大小、时间范围和行数。|
| [`SSTS_MANIFEST`](./ssts-manifest.md) | 提供从 manifest 获取的 SST 文件信息,包括文件路径、大小、时间范围、行数和编码后的主键范围。|
| [`SSTS_STORAGE`](./ssts-storage.md) | 提供从存储层获取的 SST 文件信息,用于验证和调试。|
| [`TRIGGERS`](./triggers.md) | 提供 Trigger 的相关信息。 |
| [`ALERTS`](./alerts.md) | 提供告警的相关信息。 |
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
keywords: [SST manifest, SST 文件, region 文件, 文件元数据, 表数据文件]
description: 提供从 manifest 中获取的 SST(排序字符串表)文件信息,包括文件路径、大小、时间范围和行数
description: 提供从 manifest 中获取的 SST(排序字符串表)文件信息,包括文件路径、大小、时间范围、行数和编码后的主键范围
---

# SSTS_MANIFEST

`SSTS_MANIFEST` 表提供从清单中收集的 SST(排序字符串表)文件信息。此表显示每个 SST 文件的详细信息,包括文件路径、大小、级别、时间范围和行数
`SSTS_MANIFEST` 表提供从清单中收集的 SST(排序字符串表)文件信息。此表显示每个 SST 文件的详细信息,包括文件路径、大小、级别、时间范围、行数和编码后的主键范围
```sql
USE INFORMATION_SCHEMA;
DESC SSTS_MANIFEST;
Expand Down Expand Up @@ -37,6 +37,8 @@ DESC SSTS_MANIFEST;
| origin_region_id | UInt64 | | NO | | FIELD |
| node_id | UInt64 | | YES | | FIELD |
| visible | Boolean | | NO | | FIELD |
| primary_key_min | Binary | | YES | | FIELD |
| primary_key_max | Binary | | YES | | FIELD |
+------------------+---------------------+-----+------+---------+---------------+
```

Expand All @@ -62,6 +64,8 @@ DESC SSTS_MANIFEST;
- `origin_region_id`:创建该文件的 Region ID。
- `node_id`:文件所在的数据节点 ID。
- `visible`:该文件在当前版本中是否可见。
- `primary_key_min`:SST 文件中最小的编码主键。
- `primary_key_max`:SST 文件中最大的编码主键。

## 示例

Expand Down Expand Up @@ -124,9 +128,11 @@ mysql> SELECT * FROM INFORMATION_SCHEMA.SSTS_MANIFEST LIMIT 1\G;
num_row_groups: 1
min_ts: 2025-01-01 00:00:00.000000000
max_ts: 2025-01-01 00:01:00.000000000
sequence: 1
sequence: 1
origin_region_id: 4398046511104
node_id: 0
visible: true
primary_key_min: 01800001f4
primary_key_max: 01800001f4
1 row in set (0.02 sec)
```
Loading