重构:清理项目结构和完善文档

- 添加完整的 DOCS.md 文档(1376 行)
- 更新 README.md,增强项目说明
- 清理临时示例和测试数据
- 删除诊断工具(已完成测试)
- 为 webui 示例准备测试数据
- 优化 .gitignore 配置
- 增强 Query 和 Schema 功能
- 改进 SSTable 编码处理
This commit is contained in:
2025-10-10 16:38:19 +08:00
parent 8d750505fb
commit 7d2bb4745c
76 changed files with 1865 additions and 3587 deletions

View File

@@ -0,0 +1,20 @@
{
"version": 1,
"tables": [
{
"name": "users",
"dir": "users",
"created_at": 1760073183
},
{
"name": "products",
"dir": "products",
"created_at": 1760073183
},
{
"name": "logs",
"dir": "logs",
"created_at": 1760073184
}
]
}

View File

@@ -0,0 +1 @@
MANIFEST-000001

Binary file not shown.

View File

@@ -0,0 +1,38 @@
{
"version": 1,
"timestamp": 1760073184,
"checksum": "3ebde7026b498f38e4dd85058c995fff4a1a51bdb5a1254ead9a7e89030b1b76",
"schema": {
"Name": "logs",
"Fields": [
{
"Name": "group",
"Type": 13,
"Indexed": true,
"Nullable": false,
"Comment": "Log group (A-E)"
},
{
"Name": "timestamp",
"Type": 13,
"Indexed": false,
"Nullable": false,
"Comment": "Timestamp"
},
{
"Name": "data",
"Type": 13,
"Indexed": false,
"Nullable": false,
"Comment": "Random data"
},
{
"Name": "size_bytes",
"Type": 5,
"Indexed": false,
"Nullable": false,
"Comment": "Data size in bytes"
}
]
}
}

View File

@@ -0,0 +1 @@
151

View File

@@ -0,0 +1 @@
MANIFEST-000001

Binary file not shown.

View File

@@ -0,0 +1,38 @@
{
"version": 1,
"timestamp": 1760073183,
"checksum": "6bfaccc47c2ff24f377b6536a800591958a3680be4f99e8f78c1d8e22e78afd4",
"schema": {
"Name": "products",
"Fields": [
{
"Name": "product_name",
"Type": 13,
"Indexed": true,
"Nullable": false,
"Comment": "Product name"
},
{
"Name": "price",
"Type": 12,
"Indexed": false,
"Nullable": false,
"Comment": "Price"
},
{
"Name": "quantity",
"Type": 5,
"Indexed": false,
"Nullable": false,
"Comment": "Quantity"
},
{
"Name": "category",
"Type": 13,
"Indexed": false,
"Nullable": false,
"Comment": "Category"
}
]
}
}

View File

@@ -0,0 +1 @@
1

View File

@@ -0,0 +1 @@
MANIFEST-000001

Binary file not shown.

View File

@@ -0,0 +1,38 @@
{
"version": 1,
"timestamp": 1760073183,
"checksum": "da17386c778ecfe06d2560097e7e6daa241f59de569517db3cca7424aec345f4",
"schema": {
"Name": "users",
"Fields": [
{
"Name": "name",
"Type": 13,
"Indexed": true,
"Nullable": false,
"Comment": "User name"
},
{
"Name": "email",
"Type": 13,
"Indexed": false,
"Nullable": false,
"Comment": "Email address"
},
{
"Name": "age",
"Type": 5,
"Indexed": false,
"Nullable": false,
"Comment": "Age"
},
{
"Name": "city",
"Type": 13,
"Indexed": false,
"Nullable": false,
"Comment": "City"
}
]
}
}

View File

@@ -0,0 +1 @@
1