"multi" Prefix Extractor / SliceTransform

164 views
Skip to first unread message

Stu Hood

unread,
May 14, 2024, 7:38:29 PM5/14/24
to rocksdb
Hey folks! Thanks for all your hard work on RocksDB: we love it.

Our system uses deeply compound keys, a few of which we'd like to be able to scan in. In short: some of the compound key components represent collections: we'd like to be able to iterate in collections.

But we'd like to enable nested collections. And doing that efficiently would seem to require a "multi" `prefix_extractor` / SliceTransform facility, which would allow a single key to become multiple entries in the bloom filter.

Have there been previous requests for this facility? Might a patch be welcome to implement it, if it could be made backwards compatible?

Thanks again!
Stu

James A

unread,
Aug 28, 2024, 5:27:55 AM8/28/24
to rocksdb
I'm looking for the same functionality, is there a way to do this now?

Zaidoon Abd Al Hadi

unread,
Aug 28, 2024, 12:11:22 PM8/28/24
to rocksdb
Hi James,

I'm also interested in this feature and I've created https://github.com/facebook/rocksdb/issues/12824 . Unfortunately the feature doesn't exist today but the rocksdb team implemented something that can be used in the future to implement the functionality we want. 
Reply all
Reply to author
Forward
0 new messages