Re: Question about number of total onheap and offheap cache entries.

2017-10-03 Thread Ray
Looks like this ticket is the answer I'm looking for. https://issues.apache.org/jira/browse/IGNITE-6131 -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Question about number of total onheap and offheap cache entries.

2017-10-03 Thread Ray
I mean in the sixth column "Size" of last chart of "cache -a" command, the "Heap" entry count is not 0. As the above picture shows. But in the cache summary chart, the on-heap entry count is 0.

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Ray
But my on-heap entry count is still not 0 here. As I didn't set onHeapEnabled=true, the value should be false in default, right? So is this a visor bug that the on-heap entry count is not 0? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Dmitriy Setrakyan
On Tue, Oct 3, 2017 at 4:19 AM, Ray wrote: > Hi Alexey > > My cache configuration is as follows. > cacheConfig.setName("DailyAggData") > cacheConfig.setIndexedTypes(classOf[A], classOf[B]) > cacheConfig.setSqlSchema("PUBLIC") > aggredCacheConfig.setBackups(2) > cacheConfig.setQueryParallelism(8)

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Ray
Hi Alexey My cache configuration is as follows. cacheConfig.setName("DailyAggData") cacheConfig.setIndexedTypes(classOf[A], classOf[B]) cacheConfig.setSqlSchema("PUBLIC") aggredCacheConfig.setBackups(2) cacheConfig.setQueryParallelism(8) I didn't explicitly set "onHeapEnabled=true". So what will

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Alexey Kuznetsov
Hi Ray! Could you show your cache configuration? In case if you set "onHeapEnabled=true" Ignite will "cache" values in heap during get & sql operations. And heap metric will be > 0. As for 2.3 - it will be released by the end of October. You can always try to build from sources from master. http

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Ray
Thank you Vasiliy for your answer. In the ticket, it looks like the problem is with the off-heap entry count. But my question is why the on-heap entry count is always the same as the off-heap entry count? Ignite stores the cache off-heap by default, so in design there will be zero on-heap entry co

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Vasiliy Sisko
Hello @Ray You problem is already fixed in issue https://issues.apache.org/jira/browse/IGNITE-6422. On Sat, Sep 30, 2017 at 7:26 PM, Ray wrote: > I have a cache with 1 million entries. > This cache is set up with partitioned cache mode and two backup. > So Ignite will store 3 million entries

Question about number of total onheap and offheap cache entries.

2017-09-30 Thread Ray
I have a cache with 1 million entries. This cache is set up with partitioned cache mode and two backup. So Ignite will store 3 million entries on all nodes, right? But when I try run cache and cache command in vision, visor tells that this cache has total 7.5 million rows. So I'm confused, why does