21.11 xxl_job.sql
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
-- 优化了druid压缩任务,需要先删除xxl_job_info 中的任务
|
||||
delete FROM `xxl_job_info` where executor_handler="druidCompactSegmentJobHandler";
|
||||
|
||||
INSERT INTO `xxl_job_info` VALUES ('86', '6', '0 0 1 * * ?', 'Compact-With-Day-Job', '2021-07-21 14:13:57', '2021-11-22 06:56:01', 'galaxy', '', 'FAILOVER', 'druidCompactSegmentJobHandler', '{\r\n\"dataSource\":\"top_urls_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"top_website_domain_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"top_client_ip_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"top_server_ip_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"top_external_host_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"top_internal_host_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"top_user_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"security_event_hits_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"proxy_event_hits_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"traffic_protocol_stat_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"traffic_metrics_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"traffic_summary_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"traffic_top_destination_ip_metrics_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"traffic_app_stat_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n};\r\n{\r\n\"dataSource\":\"sys_storage_log\",\r\n\"internalOrNumOfHistory\":\"1\",\r\n\"segmentGranularity\":\"DAY\"\r\n}', 'DISCARD_LATER', '0', '0', 'BEAN', '', 'GLUE代码初始化', '2021-07-21 14:13:57', '', '1', '1637514000000', '1637600400000');
|
||||
|
||||
Reference in New Issue
Block a user