Behind cache ScanQuery

classic Classic list List threaded Threaded
2 messages Options
zshamrock zshamrock
Reply | Threaded
Open this post in threaded view
|

Behind cache ScanQuery

Hi, how the ScanQuery is implemented? Does it, as it says, scans all the entries in the cache, so if the there are a lot of entries in the cache this operation could take a while to complete. Correct? And H2 is not used for ScanQuery, as it is not SqlQuery, correct?
Alexei Scherbakov Alexei Scherbakov
Reply | Threaded
Open this post in threaded view
|

Re: Behind cache ScanQuery

It does full scan without using indexes.

2016-06-20 15:31 GMT+03:00 zshamrock <[hidden email]>:
Hi, how the ScanQuery is implemented? Does it, as it says, scans all the
entries in the cache, so if the there are a lot of entries in the cache this
operation could take a while to complete. Correct? And H2 is not used for
ScanQuery, as it is not SqlQuery, correct?



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Behind-cache-ScanQuery-tp5753.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.



--

Best regards,
Alexei Scherbakov