• Sergei Petrunia's avatar
    MDEV-30972: ANALYZE FORMAT=JSON: some time is unaccounted-for in BNL-H join · 31536b24
    Sergei Petrunia authored
    After MDEV-30830 has added block-nl-join.r_unpack_time_ms, it became
    apparent that there is some unaccounted-for time in BNL join operation,
    namely the time that is spent after unpacking the join buffer record.
    
    Fix this by adding a Gap_time_tracker to track the time that is spent
    after unpacking the join buffer record and before any next time tracking.
    The collected time is printed in block-nl-join.r_other_time_ms.
    
    Reviewed by: Monty <monty@mariadb.org>
    31536b24
sql_select.cc 998 KB