Revert SQL Vectorize Engine batchsize auto downgrade
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user