吴祖洋

Results 170 comments of 吴祖洋

Please paste the screen output as plain text here.

下载最新的 ssdb 代码, 用 ssdb 自带的 tool/repair 工具修复一次试试.

`flushdb` may run for an unwilling long time when there is huge data. You can stop ssdb-server and manually delete data and meta folders then start ssdb-server, it truncates the...

建议你不要这么做,原因是,非常复杂且需要停止服务。 如果到此你还不死心,我只好列出唯一可行的步骤,注意,这是最终的且是唯一正确的方法,没有其它方法: 1. 停止A, B 2. 修改A, B的配置文件,除原来的slaveof指向外,再增加指向C 3. 配置好C,指向A和B 4. 启动A, B, C

> when I use "slaveof" to connect the slave to a master, what is the difference between "sync" and "mirror" type? Can you explain ? `sync` is for master-slave replication,...

It is better to get these features by using message queue service like ZeroMQ, Gearman, etc...

Hi, this issue is related to leveldb. As I know, deleted keys will not be actually removed from disk immediately, they may be removed after a compaction or may not....

Manually invoke a compact operation will actually remove deleted keys from disk, execute `compact` in ssdb-cli. PS: do compact when server is not busy.