dbsize

Return the approximate size of the database, in bytes. If compression is enabled, the size will be of the compressed data.

Return Value

Size in bytes.

Examples

ssdb 127.0.0.1:8888> dbsize
407981972
(0.000 sec)
ssdb 127.0.0.1:8888>