You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by kotamrajuyashasvi <ko...@gmail.com> on 2018/04/11 10:22:55 UTC

Ignite Eviction Policy

Hi

I am using ignite 2.3 with cassandra as persistent store. Suppose I use an
Eviction policy and some entry gets evicted. Does that mean that entry can
no longer be queried or there is some way ignite gets that entry  from
cassandra.



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

Re: Ignite Eviction Policy

Posted by vkulichenko <va...@gmail.com>.
Entries that are evicted according to eviction policy will not be returned by
a SQL query. If your dataset does not fit in memory, consider using native
Ignite persistence storage instead of Cassandra:
https://apacheignite.readme.io/docs/distributed-persistent-store

-Val



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

Re: Ignite Eviction Policy

Posted by dkarachentsev <dk...@gridgain.com>.
Hi,

If you have enabled read through mode for cache, entry will be loaded on
next IgniteCache.get() operation, or when IgniteCache.loadCache() was
called.

Next time entry will be evicted according to your eviction policy.

Please note that entry will not be counted in SQL queries if it was evicted,
only for entries that was loaded into Ignite.

Thanks!
-Dmitry



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