Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

docs(redis): document decompressed value views

Abeautifulsnowc3547fcb6128
diff --git a/docs/content/docs/redis.cn.mdx b/docs/content/docs/redis.cn.mdx
index 494207ff12..3d9a5f5fd9 100644
--- a/docs/content/docs/redis.cn.mdx
+++ b/docs/content/docs/redis.cn.mdx
@@ -30,7 +30,7 @@ Key 列表可以显示名称、类型、值摘要、大小和 TTL。支持:
| 类型 | 主要能力 |
| --- | --- |
-| String | 文本、JSON、多种显示格式;二进制字符串以转义文本只读展示 |
+| String | 文本、JSON、多种显示格式;gzip 和 zlib 压缩值可直接使用只读「解压视图」,原始 DEFLATE 需在首次尝试失败后选择「以 Deflate 重试」;解压结果限制为 50 MiB;二进制字符串以转义文本只读展示 |
| Hash | 字段/值表格、搜索、排序、添加、编辑和删除字段 |
| List | 分页元素、索引、添加、编辑和删除 |
| Set | 成员浏览、添加和删除 |
@@ -38,6 +38,8 @@ Key 列表可以显示名称、类型、值摘要、大小和 TTL。支持:
| Stream | 条目浏览、消费组、消费者、Pending、Lag 和投递详情 |
| RedisJSON | JSON 树/源码编辑、格式化和压缩;需要服务端 RedisJSON 模块 |
+List、Set、Hash、Sorted Set 和 Stream 的成员详情同样提供「解压视图」与 Gzip 快捷入口,可用于查看压缩成员值。
+
大型集合类型会分页加载。数量、已加载数量和继续加载入口会显示在详情中。
## 创建与编辑 Key
@@ -119,6 +121,7 @@ Key 统计和 Slowlog 会额外调用 Redis 命令。大型实例或集群中应
- 值搜索、内存统计和 Slowlog 查询都可能增加服务端负载
- Stream 消费组详情会读取 Pending 和消费者状态,避免高频无限刷新
- 二进制值、模块命令和厂商扩展可能只能通过命令行查看
+- 解压视图为只读,解压输出上限为 50 MiB;结果超限时显示非阻塞提示而不是展开内容
- MCP 暴露 Redis 时,普通写入和 `FLUSH*` 由不同权限级别控制
<Cards>
diff --git a/docs/content/docs/redis.mdx b/docs/content/docs/redis.mdx
index 1a29883a1b..272c02c641 100644
--- a/docs/content/docs/redis.mdx
+++ b/docs/content/docs/redis.mdx
@@ -30,7 +30,7 @@ Value search reads matching content and applies type-aware matching for String,
| Type | Main capabilities |
| --- | --- |
-| String | Text, JSON, and multiple display formats; binary strings are shown as escaped read-only text |
+| String | Text, JSON, and multiple display formats; gzip and zlib values can be opened in the read-only Decompressed format, while raw DEFLATE requires **Retry as DEFLATE** after the initial attempt fails; decompressed output is limited to 50 MiB; binary strings are shown as escaped read-only text |
| Hash | Field/value table, search, sorting, add, edit, and delete |
| List | Paged elements with index, add, edit, and delete |
| Set | Member browsing, add, and delete |
@@ -38,6 +38,8 @@ Value search reads matching content and applies type-aware matching for String,
| Stream | Entries, consumer groups, consumers, pending messages, lag, and delivery details |
| RedisJSON | JSON tree/source editing, formatting, and compact saves; requires the RedisJSON server module |
+List, Set, Hash, Sorted Set, and Stream member details provide the same Decompressed format and Gzip shortcut for compressed member values.
+
Large collection types load in pages and display total and loaded counts where available.
## Create and Edit Keys
@@ -119,6 +121,7 @@ Flush, bulk delete, and `FLUSH*` operations cannot be undone. Read-only connecti
- Value search, memory statistics, and Slowlog can increase server load
- Stream consumer-group details read pending and consumer state; avoid unbounded high-frequency refresh
- Binary values, module commands, and vendor extensions may require the command line
+- Decompressing a value is read-only and capped at 50 MiB of output; larger results show a non-blocking notice instead of being expanded
- MCP applies different permission levels to ordinary Redis writes and destructive `FLUSH*` commands
<Cards>