• Mattias Jonsson's avatar
    Bug#48229: group by performance issue of partitioned table · 2d5c6b5b
    Mattias Jonsson authored
    Problem was block_size on partitioned tables was not set,
    resulting in keys_per_block was not correct which affects
    the cost calculation for read time of indexes (including
    cost for group min/max).Which resulted in a bad optimizer
    decision.
    
    Fixed by setting stats.block_size correctly.
    2d5c6b5b
partition_range.result 27.3 KB