Re: same cache cannot update twice in one transaction

2019-03-02 Thread xmw45688
1. why do we need the storage (whether native or 3rd party)? I need the storage because 1) down time for production deployment. 2) the data in the cache may be crashed and All ignite clusters are completed down (sorry) 2. So I need a storage to store the data that have been committed when

Re: Access a cache loaded by DataStreamer with SQL

2019-03-02 Thread Павлухин Иван
Hi Mike, You can find a simple example of loading data with data streamer and querying it with SQL in a following gist [1]. It is possible but somehow tricky to load table created by DDL using data streamer. Perhaps, SQL COPY could be handy for you [2]. It uses data streamer under the hood. [1]

RE: java.lang.OutOfMemoryError: GC overhead limit exceeded

2019-03-02 Thread edvance CN
Hi Support, Try to increase Xmx up to 4Gb or higher or avoid G1GC usage on small heaps as it is very sensitive to free heap memory. James>> will increase heap memory and retry. As I understand all the data is kept in non-heap memory, But could you advise when the heap memory will be used, like

Re: Is there a mechanism that allows the user to evict cache entries that relate to an affinityKey.

2019-03-02 Thread Justin Ji
Ilya - Thank for your advice, it is very helpful! Other questions: 1. If I delete data points with the same devId concurrently, is it possible occurred a deadlock? 2. Does cache entry have a timestamp? 3. Can I delete datapoints relate to a devId in PageAbstractEvictionTracker#evictDataPage, is