ideawu / ssdb

SSDB - A fast NoSQL database, an alternative to Redis
http://ssdb.io/
BSD 3-Clause "New" or "Revised" License
8.19k stars 1.4k forks source link

ssdb dbsize and actual size on drive #1363

Closed jurepetrovic closed 4 years ago

jurepetrovic commented 4 years ago

Hello Gentlemen,

we have reported dbsize around 11G, whereas the space on the drive being used is around 90G. What do you suggest doing in this case? Can we reduce this to actual db size?

Thanks, Jure

ideawu commented 4 years ago

invoke compact through ssdb-cli when server is not busy would help reduce disk usage.

jurepetrovic commented 4 years ago

Ok, thanks, will try this and let you know.