fix load data mem usage not efficient

This commit is contained in:
wjhh2008
2023-03-07 12:43:27 +00:00
committed by ob-robot
parent 5fb198e12d
commit 71cc2166d8

View File

@ -124,7 +124,7 @@ struct ObDataFrag : common::ObLink
row_cnt(0),
orig_data_size(0) {}
static const int64_t DEFAULT_STRUCT_SIZE = 8ll *1024;
static const int64_t DEFAULT_STRUCT_SIZE = OB_MALLOC_NORMAL_BLOCK_SIZE;
static const int64_t MAX_ROW_COUNT = 1024;
int64_t get_remain() { return frag_size - frag_pos; }
char *get_current() { return data + frag_pos; }