[fix](statistics)Reanalyze olapTable if getRowCount is not 0 and last time row count is 0 (#30096)
Sample analyze may write 0 result if getRowCount is not updated while analyzing. So we need to reanalyze the table if getRowCount > 0 and previous analyze row count is 0. Otherwise the stats for this table may stay 0 for ever before user load new data to this table.
This commit is contained in:
@ -1565,7 +1565,7 @@ public class Config extends ConfigBase {
|
||||
"This parameter controls the time interval for automatic collection jobs to check the health of table"
|
||||
+ "statistics and trigger automatic collection"
|
||||
})
|
||||
public static int auto_check_statistics_in_minutes = 10;
|
||||
public static int auto_check_statistics_in_minutes = 5;
|
||||
|
||||
/**
|
||||
* If set to TRUE, the compaction slower replica will be skipped when select get queryable replicas
|
||||
|
||||
Reference in New Issue
Block a user