adjust auto dop

This commit is contained in:
obdev
2023-09-08 11:53:52 +08:00
committed by ob-robot
parent 73ae6ba395
commit 0ca39e9932
7 changed files with 144 additions and 74 deletions

View File

@ -627,11 +627,9 @@ struct EstimateCostInfo {
const ObCostTableScanInfo &get_cost_table_scan_info() const
{ return est_cost_info_; }
ObCostTableScanInfo &get_cost_table_scan_info() { return est_cost_info_; }
int compute_parallel_degree(const int64_t parallel_degree_limit,
const int64_t micro_block_threshold,
int compute_parallel_degree(const int64_t cur_min_parallel_degree,
int64_t &parallel) const;
int check_and_prepare_estimate_parallel_params(const int64_t input_parallel_degree_limit,
const double cost_threshold_ms,
int check_and_prepare_estimate_parallel_params(const int64_t cur_min_parallel_degree,
int64_t &px_part_gi_min_part_per_dop,
double &cost_threshold_us,
int64_t &server_cnt,