Hi,

 

   If a query is executed against a fully REPLICATED data then Ignite will send 
it to a single cluster node and run it over the local data there.

 

 

 

 if a query is executed over a PARTITIONED data, then the execution flow will 
be the following:

The query will be parsed and split into multiple map queries and a single 
reduce query.

*         All the map queries are executed on all the nodes where required data 
resides.

*         All the nodes provide result sets of local execution to the query 
initiator (reducer) that, in turn, will accomplish the reduce phase by properly 
merging provided result sets.

 

 

 

 More information here: 
https://apacheignite-sql.readme.io/docs/how-ignite-sql-works

Thanks, Alex

 

From: Prasad Bhalerao <prasadbhalerao1...@gmail.com> 
Sent: Friday, October 25, 2019 1:31 AM
To: user@ignite.apache.org
Subject: Query execution in ignite

 

Hi,

 

When SQL is executed, does ignite always scan only primary partitions of all 
available nodes in cluster irrespective of cache mode partitioned or replicated?

 

 

 

Thanks ,

Prasad

Reply via email to