Hi Dawood,
Thanks for your interest in WiredTiger.
WiredTiger does not support range queries - I’d advise checking with MongoDB to see if they provide anything like this. In WiredTiger, we recently introduced the pre-fetching feature, which when enabled, attempts to read records into the cache before the application needs to access them, reducing time spent waiting on I/O. This sounds like it is likely to help in your scenario of doing sequential reads, as pre-fetching will attempt to read in the next set of pages preemptively.
The pre-fetch API consists of both connection and session level settings to allow for more control over where pre-fetching is enabled, as it is not advisable to turn pre-fetching on for all workloads. On the connection level, I’d suggest the configuration “prefetch=(available=true,default=false)” to allow pre-fetching on the database connection. Then, on the session/s doing sequential reads, to initialise them with the configuration “prefetch=(enabled=true)”.
Given that this feature was only recently introduced, it is currently not in general use. It can be used by building from source, though any usage will be at your own risk. A stable version of the pre-fetching feature can be found after the following commit: https://github.com/wiredtiger/wiredtiger/tree/01e0bb1f9cd41947e5134de33666e8dec38d1c9f.
Hope this helps to answer your questions.
Kind regards,
Monica
--
You received this message because you are subscribed to the Google Groups "wiredtiger-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wiredtiger-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wiredtiger-users/e181b883-5e16-4f53-98a7-8a92f501c189n%40googlegroups.com.