OptimizedMarshaller instead of BinaryMarshaller is used for ScanQuery

2018-07-08 Thread Calvin KL Wong, CLSA
Hi, I have a cache of . I found that when I use a ScanQuery on that cache, result will be deserialized using OptimizedMarshaller; Ignite sends 'ordered' message using GridCacheQueryResonseEntry. Whereas if I use ContinousQuery, result will be deserialized using BinaryMarshaller. My problem

Re: Apache Ignite with Caching : How do I sure that cache(s) has all datas?

2018-07-08 Thread Вячеслав Коптилин
Hi, CacheWriteSynchronizationMode defines the behavior of cache during modification operations. I mean IgniteCache#put(), #remove() etc. For example, in case of 'PRIMARY_SYNC', a thread that executes modification operation will wait for completion of operation on primary node only, backups will

Re: Apache Ignite with Caching : How do I sure that cache(s) has all datas?

2018-07-08 Thread monstereo
then may ask you what is difference between https://apacheignite.readme.io/docs/primary-and-backup-copies#section-synchronous-and-asynchronous-backups this and rebalance mode thanks, slava.koptilin wrote > Hello, > > I think rebalancing makes sense for all types of caches. It does not >

Re: Not getting the column access in Ignite Cache created and loaded from Oracle

2018-07-08 Thread bitanxen
Hi slava, Thanks for reply. I will follow Schema and Indexes and update here. For create table in Ignite, as mentioned, I am importing table schema from Oracle. Below is the CREATE TABLE DDL in oracle: CREATE TABLE TB_USER( USERNAMEVARCHAR2(100) PRIMARY KEY, FIRSTNAME

Re: Not getting the column access in Ignite Cache created and loaded from Oracle

2018-07-08 Thread Вячеслав Коптилин
Hello, What method do you use in order to create SQL tables into Ignite? - DDL command - CREATE TABLE https://apacheignite-sql.readme.io/docs/create-table - Java API. If it is your case then I guess queryable fields are not properly specified.

Re: Apache Ignite with Caching : How do I sure that cache(s) has all datas?

2018-07-08 Thread Вячеслав Коптилин
Hello, I think rebalancing makes sense for all types of caches. It does not matter what type of cache you use. Long story short, a replicated cache is a partitioned cache with the number of backups equals to the number of nodes minus 1. Let's assume that you ingested all data in the cluster, and

Not getting the column access in Ignite Cache created and loaded from Oracle

2018-07-08 Thread bitanxen
Hi, I am doing a POC to ingest data from Oracle to Ignite cluster and Fetch the data from Ignite in another application. When I created the Model and Cache, I specified the Key as String and value as Custom Object. Data loaded to cluster but then I querying "SELECT * FROM TB_USER" I am getting

Re: Apache Ignite with Caching : How do I sure that cache(s) has all datas?

2018-07-08 Thread monstereo
I haven't noticed that. thank you, Amir Akhmedov wrote > Rebalancing is a process when a node joins or leaves (in case backup is > turned on) a cluster, data will be rebalanced within a cluster to make a > fair distribution. It's applicable only for partitioned caches. But you > have replicated

Re: Apache Ignite with Caching : How do I sure that cache(s) has all datas?

2018-07-08 Thread Amir Akhmedov
Rebalancing is a process when a node joins or leaves (in case backup is turned on) a cluster, data will be rebalanced within a cluster to make a fair distribution. It's applicable only for partitioned caches. But you have replicated cache and it's out of your case. Thanks, Amir On Jul 8, 2018

Re: Apache Ignite with Caching : How do I sure that cache(s) has all datas?

2018-07-08 Thread monstereo
thank you for your comment, I also found that there is a data rebalance in ignite. What do you think about this? Which one should I use? Here is the data rebalance link here For SYNCH mode in rebalance says that ::: "Synchronous rebalancing