ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "javastuff.sam@gmail.com" <javastuff....@gmail.com>
Subject ScanQuery log all entries
Date Fri, 14 Apr 2017 00:39:40 GMT
Hi,

I have a usecase where I have to log cached entries. I am doing below -

/ScanQuery<String, Object> scan = new ScanQuery<>();
cache.query(scan).getAll();/

Question -
1. With OFF_HEAP cache it is suppose to be huge number of entries in cache.
Does getAll() will try to bring all into heap and potential ou-of-memory?
2. Is there other way to iterate page by page?
3. Is there any other restriction I can add to scan query like limit 1000 or
query timeout?

Thanks,
-Sam



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

Mime
View raw message