dbx icon indicating copy to clipboard operation
dbx copied to clipboard

[Feature] 大量 Redis key 自动加载导致卡顿,建议改为手动加载

Open dbx-bot[bot] opened this issue 3 months ago • 3 comments

来源

QQ 群反馈 · 反馈人:猎人

数据库类型和版本

Redis

AI 摘要

在 Redis 中有几百万个 key 时,DBX 会自动加载所有 key,导致操作后几分钟界面卡住,无法查看 key 内容。怀疑是后台程序持续加载 key 所致,建议取消自动加载,改为手动加载。

原始描述

redis有几百万个key, dbx会自动加载key加载随便点一点 过几分钟后 会卡住 无法查看key里面的内容. (怀疑是后台的程序一直在疯狂加载key导致的, 建议不要自动加载 每次手动加载就好)

dbx-bot[bot] avatar Sep 01 '26 09:09 dbx-bot[bot]

/claim

ordinary-s avatar Sep 05 '26 09:09 ordinary-s

✅ @ordinary-s 已认领 #7779,开始处理吧!

dbx-bot[bot] avatar Sep 05 '26 09:09 dbx-bot[bot]

Implemented in #8249.

The fix bounds value/all searches to one cursor page per explicit continuation, clamps value scans to COUNT 100, prevents automatic main scans from resuming independent subtree work, and makes subtree/KeepAlive cursor ownership generation-safe.

Validation: 114 focused Redis browser tests pass, along with typecheck, connection-type validation, formatting, and lint checks. The full frontend run passed 1,302 test files / 12,930 tests; the two remaining failures are unrelated host/baseline issues (Cargo is unavailable for docs-export, and a Windows path-separator mismatch in the legacy WebView allowlist test).

ordinary-s avatar Sep 05 '26 11:09 ordinary-s