You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Tejashwa Kumar Verma <te...@gmail.com> on 2017/11/16 07:21:03 UTC

Memory utilization of Indexes in ignite

Hi All,

I have some open questions about memory utilization of indexes in ignite.

So here is the scenario.
I have created one cache(CACHE_1) with following props:
<property name="offHeapMaxMemory" value="#{1 * 1024L * 1024L * 1024L}" />
<property name="cacheMode" value="PARTITIONED" />
<property name="swapEnabled" value="true" />

And i am loading 5GB in CACHE_1. So as per our configs 1 GB data is
residing in offHeap and remaining 4GB is going in swap.

Now my question is where exactly indexes are going in offHeap or Swap?




Thanks & Regards
Tejas

Re: Memory utilization of Indexes in ignite

Posted by Mikhail <mi...@gmail.com>.
Hi Tejas,

Ignite will store indexes in off-heap, but indexes can't be swapped to a
disk.

However in the latest version of ignite, disk storage was implemented and
indexes can be saved on the disk, but it's unlikely because indexes are hot
data that should be kept in memory.


Thanks,
Mike.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/