do not sync table stats for mview complete refresh
This commit is contained in:
parent
07647f0f3c
commit
45b11fd0ce
@ -894,6 +894,7 @@ int ObTableRedefinitionTask::take_effect(const ObDDLTaskStatus next_task_status)
|
||||
}
|
||||
} else if (ObDDLType::DDL_DIRECT_LOAD != task_type_ &&
|
||||
ObDDLType::DDL_DIRECT_LOAD_INSERT != task_type_ &&
|
||||
ObDDLType::DDL_MVIEW_COMPLETE_REFRESH != task_type_ &&
|
||||
OB_FAIL(sync_stats_info())) {//direct load no need sync stats info, because the stats have been regather
|
||||
LOG_WARN("fail to sync stats info", K(ret), K(object_id_), K(target_object_id_));
|
||||
} else if (alter_table_arg_.mview_refresh_info_.is_mview_complete_refresh_ &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user