Hi Jose,

Yes cost-based optimization of query fragments executed locally on nodes using 
local node statistics sounds as a good idea. Also there might be other options. 
Unfortunately neither was implemented yet in Ignite.

Sent from my iPhone

> On 9 May 2019, at 08:48, joseheitor <[email protected]> wrote:
> 
> Hi Ignite Team,
> 
> Have the system architects explored the option of maintaining table
> statistics on each node (as Postgres and other legacy SQL engines do), and
> then distributing the raw SQL query to each node and letting each node
> execute the query planner locally, optimising the query based on the
> statistics on hand for the given node...?
> 
> Would this not optimise overall performance of the query, and eliminate the
> need for developers and DBAs to have try to guess the optimum JOIN order?
> (which may in fact vary on each node...?)
> 
> Thanks,
> Jose
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to