• Monty's avatar
    Adjust cost for re-creating a row from the JOIN CACHE · 07df2029
    Monty authored
    Creating a record from the join cache is faster than getting a row from
    the engine (less and simpler code to execute).
    
    Added JOIN_CACHE_ROW_COPY_COST_FACTOR (0.5 for now) as the factor to
    take this into account. This is multiplied with ROW_COPY_COST.
    
    Other things:
    - Added cost of copying rows to hash join, similar to join_cache joins.
    07df2029
subselect_no_semijoin.result 255 KB