You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Teja <sa...@gmail.com> on 2018/03/23 14:20:01 UTC

Ignite cache with and without persistence enabled

Hi ,

We have loaded data into Ignite cache without persistence property enabled.
Later point if we enabled persistence what happens to the already existing
ignite cache which is completely in off-heap memory. can we add data to this
cache without any issues even after persistence is enabled?



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

Re: Ignite cache with and without persistence enabled

Posted by Evgenii Zhuravlev <e....@gmail.com>.
>Now if i enable the persistence in the xml configuration, will that effect
the existing cache which is only present in off-heap memory?

nope

should we need to recreate the cache if we need to have data persisted in
disk?
you need to recreate cache if you want use the same cache or create a new
one.

Evgenii

2018-03-23 17:42 GMT+03:00 Teja <sa...@gmail.com>:

> We have ignite cluster with 3 server nodes. Intially when we installed and
> configured, we havent set persistence to true. So whatever caches that we
> have created got stored off-heap in memory.
>
> Now if i enable the persistence in the xml configuration, will that effect
> the existing cache which is only present in off-heap memory? should we need
> to recreate the cache if we need to have data persisted in disk?
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Re: Ignite cache with and without persistence enabled

Posted by Teja <sa...@gmail.com>.
We have ignite cluster with 3 server nodes. Intially when we installed and
configured, we havent set persistence to true. So whatever caches that we
have created got stored off-heap in memory.

Now if i enable the persistence in the xml configuration, will that effect
the existing cache which is only present in off-heap memory? should we need
to recreate the cache if we need to have data persisted in disk? 





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

Re: Ignite cache with and without persistence enabled

Posted by Evgenii Zhuravlev <e....@gmail.com>.
I'm afraid it's impossible to change cache configuration at runtime. To
change it, you will need to recreate cache.

Evgenii

2018-03-23 17:20 GMT+03:00 Teja <sa...@gmail.com>:

> Hi ,
>
> We have loaded data into Ignite cache without persistence property enabled.
> Later point if we enabled persistence what happens to the already existing
> ignite cache which is completely in off-heap memory. can we add data to
> this
> cache without any issues even after persistence is enabled?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>