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 AM12/4/14
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 AM4/9/15
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 AM7/31/15
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