Re: Limiting the size of Persistent Store and clearing data on restart

2017-09-03 Thread Dmitriy Setrakyan
On Sat, Sep 2, 2017 at 5:11 AM, userx wrote: > Hi all, > > Regarding question 2, let me put it this way. > > Like ignite has eviction policy for RAM described at > https://apacheignite.readme.io/docs/evictions > Is there an eviction policy for a persistent store ? Say for a use case > where in I

Re: Limiting the size of Persistent Store and clearing data on restart

2017-09-02 Thread userx
Hi all, Regarding question 2, let me put it this way. Like ignite has eviction policy for RAM described at https://apacheignite.readme.io/docs/evictions Is there an eviction policy for a persistent store ? Say for a use case where in I cannot allocate a dedicated 1 or 2 tb space (like we do for r

Re: Limiting the size of Persistent Store and clearing data on restart

2017-09-01 Thread Denis Mekhanikov
Sorry, I didn't know that. I found a bunch of matches by "swapEnabled" keyword on master branch in the project, mostly in benchmarks configurations. These properties should probably be removed not to confuse readers. пт, 1 сент. 2017 г. в 19:23, Dmitriy Setrakyan : > On Fri, Sep 1, 2017 at 1:41 P

Re: Limiting the size of Persistent Store and clearing data on restart

2017-09-01 Thread Dmitriy Setrakyan
On Tue, Aug 29, 2017 at 7:00 PM, userx wrote: > Hi All, > > 1) Like the conventional configuration of > https://apacheignite.readme.io/docs/memory-configuration# > section-memory-policies > where in we could limit the size of the memory, how do we define a > configuration which can limit the size

Re: Limiting the size of Persistent Store and clearing data on restart

2017-09-01 Thread Dmitriy Setrakyan
On Fri, Sep 1, 2017 at 1:41 PM, Denis Mekhanikov wrote: > Regarding your second question: looks like you don't actually need > persistence. Its purpose is the opposite: to save cache data between > restarts. > If you use persistence to store more data than RAM available, then you can > enable swa

Re: Limiting the size of Persistent Store and clearing data on restart

2017-09-01 Thread Denis Mekhanikov
's not usual to use case, but after stopping node you can clear > data from work folder or just invoke removeAll on cache > > Evgenii > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Limiting-the-size-of-Persistent-Store-an

Re: Limiting the size of Persistent Store and clearing data on restart

2017-08-29 Thread ezhuravlev
nvoke removeAll on cache Evgenii -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Limiting-the-size-of-Persistent-Store-and-clearing-data-on-restart-tp16507p16515.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Limiting the size of Persistent Store and clearing data on restart

2017-08-29 Thread userx
fresh persisted data is there ? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Limiting-the-size-of-Persistent-Store-and-clearing-data-on-restart-tp16507.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.