You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by yfernando <yo...@tudor.com> on 2018/08/23 15:04:35 UTC

defaultDataRegionConfiguration is per-node or per-cluster?

Hi All,

When setting the defaultDataRegionConfiguration parameter in the
IgniteConfiguration, are the maxSize and  initialSize values per-node or
cluster-wide?

Ex: specifying 16GB for the Default_Region. 

Is the 16GB reserved on the node or reserved across the entire cluster?

 <bean id="ignite.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
        <property name="peerClassLoadingEnabled" value="false"/>
		<property name="dataStorageConfiguration">
			<bean class="org.apache.ignite.configuration.DataStorageConfiguration">
				<property name="defaultDataRegionConfiguration">
					<bean class="org.apache.ignite.configuration.DataRegionConfiguration">
						<property name="name" value="Default_Region"/>
						<property name="maxSize" value="#{16L * 1024 * 1024 *1024}"/>
						<property name="initialSize" value="#{16L * 1024 * 1024 *1024}"/>
					</bean>
				</property>
			</bean>
.....



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

Re: defaultDataRegionConfiguration is per-node or per-cluster?

Posted by Alex Plehanov <pl...@gmail.com>.
Hi,

maxSize and initialSize are per-node values.
In your example, if you have more then one node with this configuration,
each node will allocate 16GB off-heap memory.

чт, 23 авг. 2018 г. в 18:04, yfernando <yo...@tudor.com>:

> Hi All,
>
> When setting the defaultDataRegionConfiguration parameter in the
> IgniteConfiguration, are the maxSize and  initialSize values per-node or
> cluster-wide?
>
> Ex: specifying 16GB for the Default_Region.
>
> Is the 16GB reserved on the node or reserved across the entire cluster?
>
>  <bean id="ignite.cfg"
> class="org.apache.ignite.configuration.IgniteConfiguration">
>         <property name="peerClassLoadingEnabled" value="false"/>
>                 <property name="dataStorageConfiguration">
>                         <bean
> class="org.apache.ignite.configuration.DataStorageConfiguration">
>                                 <property
> name="defaultDataRegionConfiguration">
>                                         <bean
> class="org.apache.ignite.configuration.DataRegionConfiguration">
>                                                 <property name="name"
> value="Default_Region"/>
>                                                 <property name="maxSize"
> value="#{16L * 1024 * 1024 *1024}"/>
>                                                 <property
> name="initialSize" value="#{16L * 1024 * 1024 *1024}"/>
>                                         </bean>
>                                 </property>
>                         </bean>
> .....
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>