You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2008/10/05 17:59:57 UTC

[Db-derby Wiki] Trivial Update of "JoinOrderPermutations" by BryanPendleton

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by BryanPendleton:
http://wiki.apache.org/db-derby/JoinOrderPermutations

The comment on the change is:
point to new page

------------------------------------------------------------------------------
    - getNextDecoratedPermutation()
  
    - costPermutation()
+ 
+ You can see the results of this process by reading the QueryPlanJoinOrder from the query plan. Here, we describe
+ how the code computes this join order.
  
  This page describes the general flow of code as it occurs when a class such as !SelectNode or !TableOperatorNode calls the getNextPermutation() method of an !OptimizerImpl.  The expectation is that such a call will occur as part of a block of code similar to the following (copied from !SelectNode.optimize()):