You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "mark-e-hoffman (via GitHub)" <gi...@apache.org> on 2023/12/26 15:36:11 UTC

[D] Estimate number of keys = 0 [kvrocks]

GitHub user mark-e-hoffman created a discussion: Estimate number of keys = 0

the info cmd returns zero for the estimate number of keys. I also tried directly accessing this property with a rocksdb library and it also returns 0. I've also tried to iterate the db with some rocksdb code and that also returns no rows? How can I get a decent estimate on the number of keys in my database?
Thanks

GitHub link: https://github.com/apache/kvrocks/discussions/1972

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


Re: [D] Estimate number of keys = 0 [kvrocks]

Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: Estimate number of keys = 0

Hi @mark-e-hoffman 

Could you please paste your info command output? the estimated number of keys in the INFO command section came from the rocksdb, so it means no keys in rocksdb if this value is zero.


GitHub link: https://github.com/apache/kvrocks/discussions/1972#discussioncomment-7961544

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org