• Thirunarayanan Balathandayuthapani's avatar
    MDEV-28327 InnoDB persistent statistics fail to update after bulk insert · f70960c3
    Thirunarayanan Balathandayuthapani authored
    - Background statistics thread should keep the table in the
    statistics queue itself when the table under bulk insert operation
    
    dict_stats_analyze_index(): Set the maximum value for index_stats_t
    if the table is in bulk operation
    
    dict_stats_update(), dict_stats_update_transient_for_index(),
    dict_stats_update_transient(): Returns DB_SUCCESS_LOCKED_REC
    if the table under bulk insert operation
    
    dict_stats_process_entry_from_recalc_pool(): Add the table
    back to recalc pool if the table under bulk insert operation
    f70960c3
dict0stats.cc 134 KB