[refactor](stats) Persist status of analyze task to FE meta data (#20264)
1. In the past, we use a BE table named `analysis_jobs` to persist the status of analyze jobs/tasks, however there are many flaws such as, if BE crashed analyze job/task would failed however the status of analyze job/task couldn't get updated. 2. Support `DROP ANALYZE JOB [job_id]` to delete analyze job 3. Support `SHOW ANALYZE TASK STATUS [job_id] ` to get the task status of specific job 4. Restrict the execute condition of auto analyze, only when the last execution of auto analyze job finished a while ago could be executed again 5. Support analyze whole DB
This commit is contained in:
@ -1445,7 +1445,7 @@ public class Config extends ConfigBase {
|
||||
* the system automatically checks the time interval for statistics
|
||||
*/
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
public static int auto_check_statistics_in_sec = 300;
|
||||
public static int auto_check_statistics_in_minutes = 5;
|
||||
|
||||
/**
|
||||
* If this configuration is enabled, you should also specify the trace_export_url.
|
||||
|
||||
Reference in New Issue
Block a user