Rename Solution #169
longfar-ncy
started this conversation in
Ideas
Replies: 3 comments 2 replies
-
如果全部推倒重来,是不是可以考虑引入中间 key ?是不是更好解决? |
Beta Was this translation helpful? Give feedback.
0 replies
-
删除操作应该只是一个逻辑删除,真正的删除动作会异步进行。另外该命令也并非热点命令,目前我认为删掉老 Key 并写入新 Key 性价比更高一点。当然如果有更好实现方法也可以试试 |
Beta Was this translation helpful? Give feedback.
0 replies
-
删除老key,写入新key主要是会在bigkey的时候存在性能问题,其他时候都还好。 如果要重构的话,不知道rocksdb能否支持key,ptr的这种存储方式,这样保存的就是某个值的地址这种。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
两种方法:
Beta Was this translation helpful? Give feedback.
All reactions