asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yingyi Bu <>
Subject Re: About the Multiple Join Optimization on AsterixDB
Date Mon, 31 Oct 2016 18:23:13 GMT

     I'm not sure how much re-ordering can be done at the Hyracks level,
i.e., the runtime level.
     In the optimizer (the asterixdb/algebricks level), we don't have
re-ordering for  joins, because:
     --- the cost model has not been added yet.  I'm not sure about the
timeline for this. @Ildar?
     --- respecting user-specified join orders is important for certain
cases, for example, to get stable/predictable performance (zero surprise)
for applications.

     In the runtime, we have a role-reversal optimization in hybrid hash
join, which is a safe optimization that is not based on estimations.  You
can look at OptimizedHybridHashJoin.


On Mon, Oct 31, 2016 at 11:16 AM, mingda li <> wrote:

> Dear all,
> Hi, I am working on multiple join on Hyracks level. I am not sure if I do
> the multiple join on AsterixDB, whether it will optimize the query by
> changing the join order or just execute according to how we write the
> query. I think this may not be done in Algebricks level based on rule but
> not sure.
> Bests,
> Mingda

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message