Git Product home page Git Product logo

Comments (16)

whlshuo avatar whlshuo commented on May 25, 2024 1

怎么个批量删除法呢,是那种类似清库的按钮么

比如:
1、选中多个key同时删除;
2、以通配符方式:删除以xxx开头的key

from anotherredisdesktopmanager.

qishibo avatar qishibo commented on May 25, 2024

怎么个批量删除法呢,是那种类似清库的按钮么

from anotherredisdesktopmanager.

whlshuo avatar whlshuo commented on May 25, 2024

222
还有像这种可以按包进行分组

from anotherredisdesktopmanager.

MedusaSTears avatar MedusaSTears commented on May 25, 2024

如图,我这基本都是ServiceInfoDetail开头的
想直接批量删除 ServiceInfoDetail* 这样的
命令行倒是可以 keys ServiceInfoDetail*
但是删还是一个一个删,太繁琐了
123123123123123

from anotherredisdesktopmanager.

qishibo avatar qishibo commented on May 25, 2024

后期会增加当前key列表的批量删除操作,敬请期待

from anotherredisdesktopmanager.

171563857 avatar 171563857 commented on May 25, 2024

像这种分组要注意区分生产环境和开发环境
不然在大量key-value的情况下会卡死
我刚好也是希望能有这种分组

from anotherredisdesktopmanager.

171563857 avatar 171563857 commented on May 25, 2024

具体效果就跟RedisDesktopManager一样
但是它有个致命的缺点就是会搜整个,导致生产环境使用时直接卡死

from anotherredisdesktopmanager.

171563857 avatar 171563857 commented on May 25, 2024

批量删可以有2种实现方式
一种scan扫删除全部
一种多选情况下删除

from anotherredisdesktopmanager.

171563857 avatar 171563857 commented on May 25, 2024

还有连接断开,现在只能打开和折叠,不能关闭连接

from anotherredisdesktopmanager.

171563857 avatar 171563857 commented on May 25, 2024

当主窗口的redis连接详情tab页关掉后,再次点击连接时也无法展示详情tab

from anotherredisdesktopmanager.

qishibo avatar qishibo commented on May 25, 2024

666,感谢测试

  1. RDM的key分组是基于一次性扫描全部key的,当库里key超过100w的时候直接卡死,所以为了性能没有添加key分组
  2. 根据前缀批量删除原理是scan扫描所有key,可能会有性能问题,所以更偏向于左侧key列表多选删除:根据前缀删除时可以先根据前缀搜索,搜索完后批量选中key删除即可
  3. 连接详情目前只是在打开连接时展示,如果关闭则无法打开,因为如果折叠切换一次连接就详情又出来稍微有点怪,可以考虑加个小按钮可以再次唤出

from anotherredisdesktopmanager.

MedusaSTears avatar MedusaSTears commented on May 25, 2024

另外补充一个比较特殊的需求:
因为我们是远程桌面再套一个远程桌面连接windows,里面安装的这个软件.带宽也渣
每次删除的时候.都会有一个"删除框"会弹出来,点"确定"才能删除对吧?
恰恰是这个"删除框"我每次都要等差不多10s左右他才能弹出来,我才能删掉.....
不知可否这里给优化一下

另外关于批量删除,我个人觉得,增加个二次筛选会更好,比如我那个ServiceInfoDetail*搜索到之后,再过滤后边名字里带abc的,或者value里面包含 abc 这样的需求
还有你说考虑到性能问题的话,批量删除起码会有个全选吧(比如我那个列表一共也就20~30个),即便是多选的方式,勾选30次也是挺蛋疼的

from anotherredisdesktopmanager.

qishibo avatar qishibo commented on May 25, 2024

emmm,删除确认框这个,直接去掉的话也不太好吧 😢

对,如果支持多选删除的话,肯定会有全选、取消全选操作的

from anotherredisdesktopmanager.

MedusaSTears avatar MedusaSTears commented on May 25, 2024

emmm,删除确认框这个,直接去掉的话也不太好吧 😢

肯定不是说去掉啊...[捂脸]...必须有弹框
就是希望别有灰色遮罩,这个加载出来属于整个APP的页面渲染,反正对于远程主机的小水管,真的需要10秒才能卡出来,要哭死...

from anotherredisdesktopmanager.

qishibo avatar qishibo commented on May 25, 2024

@MedusaSTears 大概知道你说的什么意思了,一般远程连接的这种,对于界面有渐变动效的都会卡顿,比如对于网页里的animate属性啥的。因为动效的帧数会更多,传输量也就更大。这种情况我看看怎么能优化一下

from anotherredisdesktopmanager.

qishibo avatar qishibo commented on May 25, 2024

v1.4.1 已实现批量删除,更新即可

from anotherredisdesktopmanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.