You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by kay <go...@gmail.com> on 2020/07/03 11:13:04 UTC

Ignite Persistent Store with off-heap

Hello,

I found in log file if i set DataRegion for PersistenceEnabled=true

There are 

off-heap
    -- DataRegion_Name region [used=41MB, free=50.95%, comm=15MB]

and 

Ignite Persistence 
    -- DataRegion_Name region [used=41MB]

Is it stored equally in disk and off-heap area(41MB)? 
and If i set DataRegion maxSize=100MB , Can I use up to 100MB of disk
storage for node?

Thank you so much :)









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

Re: Ignite Persistent Store with off-heap

Posted by Stephen Darlington <st...@gridgain.com>.
It’s like a traditional database in this sense: everything that’s in memory is on disk; not everything on disk is guaranteed to be in memory. If you have less than 41Mb of data, everything will be stored both in memory and on disk. If you have more than 41Mb, all will be on disk, some will be in memory.

The maxSize parameter is used to configure how much memory is used, not disk. On disk you’re only limited by how much space you have.

> On 3 Jul 2020, at 12:13, kay <go...@gmail.com> wrote:
> 
> Hello,
> 
> I found in log file if i set DataRegion for PersistenceEnabled=true
> 
> There are 
> 
> off-heap
>    -- DataRegion_Name region [used=41MB, free=50.95%, comm=15MB]
> 
> and 
> 
> Ignite Persistence 
>    -- DataRegion_Name region [used=41MB]
> 
> Is it stored equally in disk and off-heap area(41MB)? 
> and If i set DataRegion maxSize=100MB , Can I use up to 100MB of disk
> storage for node?
> 
> Thank you so much :)
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/