Groups
Sign in
Groups
leveldb
Conversations
About
Send feedback
Help
How use Filter in levelDB to search key
227 views
Skip to first unread message
The Nguyen Xuan
unread,
Dec 4, 2014, 5:51:07 AM
12/4/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lev...@googlegroups.com
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
Ren Z
unread,
Apr 9, 2015, 10:09:29 AM
4/9/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lev...@googlegroups.com
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)
The Nguyen Xuan
unread,
Jul 31, 2015, 3:00:36 AM
7/31/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to leveldb, ren...@gmail.com
I used bloom filters, too. but this did not improve the read speed.
Finally, I split into many dbs.
Thank for your reply
Vào 21:09:29 UTC+7 Thứ Năm, ngày 09 tháng 4 năm 2015, Ren Z đã viết:
Reply all
Reply to author
Forward
0 new messages