place holder for big table auto collect statistics use sample

This commit is contained in:
ChangerR 2024-10-09 13:46:05 +00:00 committed by ob-robot
parent 696eff3d7c
commit 337cc32617

View File

@ -56,7 +56,8 @@ enum StatOptionFlags
OPT_ASYNC_GATHER_FULL_TABLE_SIZE = 1 << 16,
OPT_HIST_EST_PERCENT = 1 << 17,
OPT_HIST_BLOCK_SAMPLE = 1 << 18,
OPT_STAT_OPTION_ALL = (1 << 19) -1
OPT_AUTO_SAMPLE_ROW_COUNT = 1 << 19,
OPT_STAT_OPTION_ALL = (1 << 20) -1
};
const static double OPT_DEFAULT_STALE_PERCENT = 0.1;
const static int64_t OPT_DEFAULT_STATS_RETENTION = 31;
@ -131,7 +132,8 @@ enum ColumnGatherFlag
NO_NEED_STAT = 0,
VALID_OPT_COL = 1,
NEED_BASIC_STAT = 1 << 1,
NEED_AVG_LEN = 1 << 2
NEED_AVG_LEN = 1 << 2,
NEED_REFINE_MIN_MAX = 1 << 3
};
enum ObGranularityType