discard ObChunkRowDE mod && do not push view task when queue size almost full

This commit is contained in:
18523270951@163.com
2023-09-09 11:44:07 +00:00
committed by ob-robot
parent e1081698d6
commit de8174ebf2
36 changed files with 68 additions and 55 deletions

View File

@ -162,7 +162,7 @@ public:
int32_t part_level,
int64_t part_shift,
int64_t batchno)
: chunk_row_store_(&alloc),
: chunk_row_store_(common::ObModIds::OB_ARENA_HASH_JOIN, &alloc),
inner_callback_(nullptr),
part_level_(part_level),
part_shift_(part_shift),

View File

@ -36,6 +36,7 @@ ObMergeJoinOp::ObMergeJoinOp(ObExecContext &exec_ctx, const ObOpSpec &spec, ObOp
: ObJoinOp(exec_ctx, spec, input),
state_(JS_JOIN_BEGIN),
mem_context_(NULL),
right_cache_(ObModIds::OB_SQL_MERGE_JOIN),
stored_row_(NULL),
stored_row_idx_(-1),
empty_cache_iter_side_(ITER_BOTH),

View File

@ -32,11 +32,11 @@ ObNestedLoopJoinOp::ObNestedLoopJoinOp(ObExecContext &exec_ctx,
const ObOpSpec &spec,
ObOpInput *input)
: ObBasicNestedLoopJoinOp(exec_ctx, spec, input),
state_(JS_READ_LEFT), mem_context_(nullptr), is_left_end_(false),
state_(JS_READ_LEFT), mem_context_(nullptr), left_store_("NljLStore"), is_left_end_(false),
last_store_row_(), save_last_row_(false), defered_right_rescan_(false),
batch_rescan_ctl_(),
batch_state_(JS_FILL_LEFT), save_last_batch_(false),
batch_mem_ctx_(NULL), stored_rows_(NULL), left_brs_(NULL), left_matched_(NULL),
batch_mem_ctx_(NULL), stored_rows_(NULL), right_store_("NljRStore"), left_brs_(NULL), left_matched_(NULL),
need_switch_iter_(false), iter_end_(false), op_max_batch_size_(0),
max_group_size_(OB_MAX_BULK_JOIN_ROWS),
group_join_buffer_(),