Revert SQL Vectorize Engine batchsize auto downgrade

This commit is contained in:
hezuojiao
2023-07-14 13:42:10 +00:00
committed by ob-robot
parent 5b46f2f696
commit 80de9764e2
35 changed files with 10550 additions and 10555 deletions

View File

@ -148,11 +148,6 @@ int ObStaticEngineExprCG::detect_batch_size(const ObRawExprUniqueSet &exprs,
batch_size = static_cast<int64_t>(ObExprBatchSize::one);
}
if (is_oltp_workload(scan_cardinality)) {
// downgrade batchsize to a smaller value to minimize rowsets cost for TP
// workload
batch_size = min(OLTP_WORKLOAD_CARDINALITY, batch_size);
}
return ret;
}

View File

@ -69,7 +69,7 @@ class ObStaticEngineExprCG
{
public:
static const int64_t STACK_OVERFLOW_CHECK_DEPTH = 16;
static const int64_t OLTP_WORKLOAD_CARDINALITY = 16;
static const int64_t OLTP_WORKLOAD_CARDINALITY = 32;
static const int64_t DATUM_EVAL_INFO_SIZE = sizeof(ObDatum) + sizeof(ObEvalInfo);
friend class ObRawExpr;
struct TmpFrameInfo {