• Sergey Vojtovich's avatar
    MDEV-7956 - handler::rebind_psi() takes 0.07% in OLTP RO · 12d9fe14
    Sergey Vojtovich authored
    Do not call handler::rebind_psi() and handler::unbind_psi() when performance
    schema is compiled out.
    
    Overhead change:
    handler::rebind_psi 0.04% -> out of radar
    handler::unbind_psi 0.03% -> out of radar
    open_table          0.21% -> 0.18%
    close_thread_table  0.05% -> 0.05%
    12d9fe14
sql_base.cc 313 KB