[FEAT MERGE] support auto dop

This commit is contained in:
obdev
2023-04-28 15:11:52 +00:00
committed by ob-robot
parent 642f1c7d84
commit b41dc0ebdd
106 changed files with 3815 additions and 2844 deletions

View File

@ -491,6 +491,9 @@ int ObOptimizerTraceImpl::append(const Path *path)
",width:", path->parent_->get_output_row_size());
new_line();
append("parallel:", path->parallel_, ",server count:", path->server_cnt_);
if (NULL != path->get_sharding()) {
append(",part count:", path->get_sharding()->get_part_cnt());
}
decrease_section();
}
return ret;
@ -526,6 +529,9 @@ int ObOptimizerTraceImpl::append(const JoinPath* join_path)
",width:", join_path->left_path_->parent_->get_output_row_size());
new_line();
append("parallel:", join_path->left_path_->parallel_, ",server count:", join_path->left_path_->server_cnt_);
if (NULL != join_path->left_path_->get_sharding()) {
append(",part count:", join_path->left_path_->get_sharding()->get_part_cnt());
}
decrease_section();
}
new_line();
@ -539,6 +545,9 @@ int ObOptimizerTraceImpl::append(const JoinPath* join_path)
",width:", join_path->right_path_->parent_->get_output_row_size());
new_line();
append("parallel:", join_path->right_path_->parallel_, ",server count:", join_path->right_path_->server_cnt_);
if (NULL != join_path->right_path_->get_sharding()) {
append(",part count:", join_path->right_path_->get_sharding()->get_part_cnt());
}
decrease_section();
}
decrease_section();