KDB Rebuild

KDB is an append-only DB, the deleted entries are just garbage.
Garbage collection is done by rebuild a clean DB.