Skip to content

Commit 2fda21a

Browse files
obdevhnwyllmm
authored andcommitted
fix del_upd parallel dop calc bug
Co-authored-by: hnwyllmm <hnwyllmm@126.com>
1 parent 5351940 commit 2fda21a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/sql/optimizer/ob_del_upd_log_plan.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,7 @@ int ObDelUpdLogPlan::get_pdml_parallel_degree(const int64_t target_part_cnt,
230230
LOG_WARN("get unexpected params", K(ret), K(get_optimizer_context().get_query_ctx()),
231231
K(use_pdml_), K(max_dml_parallel_), K(target_part_cnt));
232232
} else {
233-
OPT_TRACE("Decided PDML DOP by Auto DOP.");
234-
dop = std::min(max_dml_parallel_, target_part_cnt * PDML_DOP_LIMIT_PER_PARTITION);
235-
OPT_TRACE("PDML target partition count:", target_part_cnt, "Max dml parallel", max_dml_parallel_);
233+
dop = max_dml_parallel_;
236234
}
237235
OPT_TRACE("Get final PDML DOP: ", dop);
238236
return ret;

0 commit comments

Comments
 (0)