Discussion:
[leveldb] How use Filter in levelDB to search key
The Nguyen Xuan
2014-12-04 10:51:07 UTC
Permalink
I have very big database (>1TB) using LevelDb, when i want to search a key
(existing or no existing).

I have use Iterator, but very slow.

How way to search fast?

Thank
--
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ren Z
2015-04-09 14:09:29 UTC
Permalink
1Tb in single db? Does it work ok?
Anyway I would try using bloom filters, read about them.

Even better I would split into many dbs (perhaps each one would be
responsible for some range of keys)
Post by The Nguyen Xuan
I have very big database (>1TB) using LevelDb, when i want to search a key
(existing or no existing).
I have use Iterator, but very slow.
How way to search fast?
Thank
--
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The Nguyen Xuan
2015-07-31 07:00:35 UTC
Permalink
I used bloom filters, too. but this did not improve the read speed.

Finally, I split into many dbs.

Thank for your reply
Post by Ren Z
1Tb in single db? Does it work ok?
Anyway I would try using bloom filters, read about them.
Even better I would split into many dbs (perhaps each one would be
responsible for some range of keys)
Post by The Nguyen Xuan
I have very big database (>1TB) using LevelDb, when i want to search a
key (existing or no existing).
I have use Iterator, but very slow.
How way to search fast?
Thank
--
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...