Re: How does lazy load work internally in Ignite?

2018-09-19 Thread Ilya Kasnacheev
Hello! The default batch size is 1000 rows so it seems (org.apache.ignite.internal.processors.cache.query.GridCacheTwoStepQuery#DFLT_PAGE_SIZE). Regards, -- Ilya Kasnacheev ср, 19 сент. 2018 г. в 15:09, Ray : > Hi Ilya, thanks for the reply. > > So is it like cursor on the server side? > >

Re: How does lazy load work internally in Ignite?

2018-09-19 Thread Ray
Hi Ilya, thanks for the reply. So is it like cursor on the server side? Let's say user ran a query "select * from tableA" where tablaA has a million records. When the lazy loading flag is on Ignite server will send the first batch of records to the user. When user's client asks for second batch

How does lazy load work internally in Ignite?

2018-09-18 Thread Ray
>From this document https://apacheignite-sql.readme.io/docs/performance-and-debugging#section-result-set-lazy-load, it mentioned that when setting lazy load flag on the query it can avoid prolonged GC pauses and even OutOfMemoryError. But it confuses me how does lazy load work interna