Hello,

 

Please help me to setup data region properly.

 

I would like to have region which can store up to ${config.node.total.memory.max} bytes, but only  small part of data in RAM.

 

My current config (Ignite 2.7.6):

 

                        <bean class="org.apache.ignite.configuration.DataRegionConfiguration">

                            <property name="name" value="MyPersistDataRegion"/>

                            <property name="persistenceEnabled" value="true"/>

                           

                            <property name="initialSize" value="${config.node.memory.initial}"/>

                            <property name="maxSize" value="${config.node.memory.max}"/>                           

            

                            <property name="pageEvictionMode" value="RANDOM_2_LRU"/>

                            <property name="evictionThreshold" value="${config.node.memory.eviction.threshold}"/>

                           

                            <property name="metricsEnabled" value="true"/>

                        </bean>

 

Please confirm three points:

 

  1. Total size will be ${config.node.memory.max}
  2. Total used ram size will be approximately ${config.node.memory.max}*${config.node.memory.eviction.threshold}
  3. Data will not be evicted from disk, only from RAM

 

Thanks.

Andrey.

 

Reply via email to