As per rocksDB API the ReadOptions.prefix_same_as_start=true has to be provided to take advantage of reduces IO scans. I don't see a way to set the options . These are the only options supported
cdef options.ReadOptions opts
opts.verify_checksums = py_opts['verify_checksums']
opts.fill_cache = py_opts['fill_cache']
if py_opts['snapshot'] is not None:
opts.snapshot = (<Snapshot?>(py_opts['snapshot'])).ptr
if py_opts['read_tier'] == "all":
opts.read_tier = options.kReadAllTier
elif py_opts['read_tier'] == 'cache':
opts.read_tier = options.kBlockCacheTier
else:
raise ValueError("Invalid read_tier")
return opts
As per rocksDB API the ReadOptions.prefix_same_as_start=true has to be provided to take advantage of reduces IO scans. I don't see a way to set the options . These are the only options supported