[FEAT MERGE] memtable support dynamic sample

Co-authored-by: wangt1xiuyi <13547954130@163.com>
This commit is contained in:
ZenoWang
2023-08-17 17:19:49 +08:00
committed by ob-robot
parent 09f80e6a68
commit c550060ac7
33 changed files with 966 additions and 389 deletions

View File

@ -9334,10 +9334,12 @@ struct ObEstBlockResElement
public:
int64_t macro_block_count_;
int64_t micro_block_count_;
int64_t sstable_row_count_;
int64_t memtable_row_count_;
bool is_valid() const { return true; }
int assign(const ObEstBlockResElement &other);
ObEstBlockResElement() : macro_block_count_(0), micro_block_count_(0) {}
TO_STRING_KV(K(macro_block_count_), K(micro_block_count_));
ObEstBlockResElement() : macro_block_count_(0), micro_block_count_(0), sstable_row_count_(0), memtable_row_count_(0) {}
TO_STRING_KV(K(macro_block_count_), K(micro_block_count_), K(sstable_row_count_), K(memtable_row_count_));
};
struct ObEstBlockRes