[feature](mtmv)(3)Implementing multi table materialized views (#26146)

Introduction to Main Classes:
- MTMVService:MTMV services for other modules to call
- MTMVHookService:All operations that affect the MTMV
  - MTMVJobManager:All operations that affect the MTMV job
  - MTMVCacheManager:All operations that affect the MTMV Cache
- MTMVTask&MTMVJob:Inherit from job framework
This commit is contained in:
zhangdong
2023-11-24 12:34:38 +08:00
committed by GitHub
parent da71fde066
commit dfe3a2dd01
84 changed files with 3756 additions and 379 deletions

View File

@ -1586,15 +1586,16 @@ public class Config extends ConfigBase {
@ConfField(description = {"任务堆积时用于存放定时任务的队列大小", "The number of timer jobs that can be queued."})
public static int job_dispatch_timer_job_queue_size = 1024;
/**
* The number of threads used to consume insert tasks.
* if you have a lot of insert jobs,and the average execution frequency is relatively high you need to increase
* this value or increase the number of {@code @job_insert_task_queue_size}
* The value should be greater than 0, if it is 0 or <=0, set it to 5
*/
@ConfField(description = {"用于执行 Insert 任务的线程数", "The number of threads used to consume insert tasks."})
@ConfField(description = {"用于执行 Insert 任务的线程数,值应该大于0,否则默认为5",
"The number of threads used to consume Insert tasks, "
+ "the value should be greater than 0, if it is <=0, default is 5."})
public static int job_insert_task_consumer_thread_num = 10;
@ConfField(description = {"用于执行 MTMV 任务的线程数,值应该大于0,否则默认为5",
"The number of threads used to consume mtmv tasks, "
+ "the value should be greater than 0, if it is <=0, default is 5."})
public static int job_mtmv_task_consumer_thread_num = 10;
/*---------------------- JOB CONFIG END------------------------*/
/**
* The number of async tasks that can be queued. @See TaskDisruptor