fix spm bugs and add some user friendly mechanisms

This commit is contained in:
obdev
2023-02-25 02:41:08 +00:00
committed by ob-robot
parent e43722b5d2
commit 59a94c10ac
23 changed files with 100 additions and 59 deletions

View File

@ -1001,6 +1001,13 @@ OB_INLINE int ObMPQuery::do_process(ObSQLSessionInfo &session,
result.get_exec_context().get_is_evolution(),
table_row_count_list);
plan->update_cache_access_stat(audit_record.table_scan_stat_);
} else if (ctx_.self_add_plan_ && ctx_.plan_cache_hit_) {
// spm evolution plan first execute
plan->update_plan_stat(audit_record,
true,
result.get_exec_context().get_is_evolution(),
table_row_count_list);
plan->update_cache_access_stat(audit_record.table_scan_stat_);
}
}
}