Index base query exists not more than one range query. It is also true for SQL databases as well. They will have to use buffer to execute the query.
You will use index for one of the range query base on database statistic. Another range query will be on in-memory query. You can use ydn.db.Buffer
. ydn.db.Buffer
suppose to have dual on in-memory and temp-database buffering. Currently it is not. Anyways, in-memory is quite usable until around several ten thousands of keys. These buffered keys are sorted, either by secondary and primary keys.