perf(database): 优化配置库建表语句

This commit is contained in:
v-zhangjc9
2024-05-16 11:55:29 +08:00
parent 2d836bb509
commit b2969e3726
9 changed files with 448 additions and 850 deletions

View File

@@ -1,142 +1,76 @@
CREATE TABLE `tb_app_yarn_job_config`
(
`id` bigint(20) NOT NULL COMMENT '唯一标识',
`job_manager_memory` int(11) NOT NULL DEFAULT '1024' COMMENT 'Job Manager 内存MB',
`task_manager_memory` int(11) NOT NULL DEFAULT '512' COMMENT 'Task Manager 内存MB',
`job_manager_memory` int(11) NOT NULL DEFAULT 1024 COMMENT 'Job Manager 内存MB',
`task_manager_memory` int(11) NOT NULL DEFAULT 512 COMMENT 'Task Manager 内存MB',
`status` varchar(4) NOT NULL DEFAULT 'y' COMMENT '逻辑删除标识'
) DEFAULT CHARSET = utf8mb4 COMMENT ='Yarn 任务配置';
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (1, 4096, 512, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (2, 4096, 1024, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (3, 4096, 2048, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (4, 4096, 15360, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (5, 4096, 4096, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (6, 4096, 8192, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (7, 4096, 5120, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (8, 4096, 6144, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (9, 6144, 1024, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (10, 6144, 10240, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (11, 6144, 2048, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (12, 6144, 4096, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (13, 6144, 5120, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (14, 6144, 6144, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (15, 6144, 7168, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (16, 6144, 8192, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (17, 6144, 3072, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (18, 8192, 4096, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (19, 8192, 7168, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (20, 8192, 5120, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (21, 8192, 10240, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (22, 8192, 8192, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (23, 5120, 512, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (24, 5120, 1024, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (25, 5120, 2048, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (26, 5120, 3072, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (27, 5120, 4096, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (28, 5120, 5120, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (29, 5120, 6144, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (30, 5120, 8192, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (31, 5120, 10240, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (32, 3072, 512, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (33, 3072, 1024, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (34, 3072, 2048, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (35, 3072, 3072, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (36, 3072, 4096, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (37, 3072, 5120, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (38, 3072, 6144, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (39, 3072, 8192, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (40, 3072, 10240, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (41, 7196, 512, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (42, 7196, 1024, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (43, 7196, 2048, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (44, 7196, 3072, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (45, 7196, 4096, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (46, 7196, 5120, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (47, 7196, 6144, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (48, 7196, 8192, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (49, 7196, 10240, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (50, 10240, 512, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (51, 10240, 1024, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (52, 10240, 2048, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (53, 10240, 3072, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (54, 10240, 4096, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (55, 10240, 5120, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (56, 10240, 6144, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (57, 10240, 8192, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (58, 10240, 10240, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (59, 15360, 512, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (60, 15360, 1024, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (61, 15360, 2048, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (62, 15360, 3072, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (63, 15360, 4096, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (64, 15360, 5120, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (65, 15360, 6144, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (66, 15360, 8192, 'y');
INSERT INTO hudi_collect_build_2.tb_app_yarn_job_config (id, job_manager_memory, task_manager_memory, status)
VALUES (67, 15360, 10240, 'y');
INSERT INTO `tb_app_yarn_job_config` (id, job_manager_memory, task_manager_memory, status)
VALUES (1, 4096, 512, 'y'),
(2, 4096, 1024, 'y'),
(3, 4096, 2048, 'y'),
(4, 4096, 15360, 'y'),
(5, 4096, 4096, 'y'),
(6, 4096, 8192, 'y'),
(7, 4096, 5120, 'y'),
(8, 4096, 6144, 'y'),
(9, 6144, 1024, 'y'),
(10, 6144, 10240, 'y'),
(11, 6144, 2048, 'y'),
(12, 6144, 4096, 'y'),
(13, 6144, 5120, 'y'),
(14, 6144, 6144, 'y'),
(15, 6144, 7168, 'y'),
(16, 6144, 8192, 'y'),
(17, 6144, 3072, 'y'),
(18, 8192, 4096, 'y'),
(19, 8192, 7168, 'y'),
(20, 8192, 5120, 'y'),
(21, 8192, 10240, 'y'),
(22, 8192, 8192, 'y'),
(23, 5120, 512, 'y'),
(24, 5120, 1024, 'y'),
(25, 5120, 2048, 'y'),
(26, 5120, 3072, 'y'),
(27, 5120, 4096, 'y'),
(28, 5120, 5120, 'y'),
(29, 5120, 6144, 'y'),
(30, 5120, 8192, 'y'),
(31, 5120, 10240, 'y'),
(32, 3072, 512, 'y'),
(33, 3072, 1024, 'y'),
(34, 3072, 2048, 'y'),
(35, 3072, 3072, 'y'),
(36, 3072, 4096, 'y'),
(37, 3072, 5120, 'y'),
(38, 3072, 6144, 'y'),
(39, 3072, 8192, 'y'),
(40, 3072, 10240, 'y'),
(41, 7196, 512, 'y'),
(42, 7196, 1024, 'y'),
(43, 7196, 2048, 'y'),
(44, 7196, 3072, 'y'),
(45, 7196, 4096, 'y'),
(46, 7196, 5120, 'y'),
(47, 7196, 6144, 'y'),
(48, 7196, 8192, 'y'),
(49, 7196, 10240, 'y'),
(50, 10240, 512, 'y'),
(51, 10240, 1024, 'y'),
(52, 10240, 2048, 'y'),
(53, 10240, 3072, 'y'),
(54, 10240, 4096, 'y'),
(55, 10240, 5120, 'y'),
(56, 10240, 6144, 'y'),
(57, 10240, 8192, 'y'),
(58, 10240, 10240, 'y'),
(59, 15360, 512, 'y'),
(60, 15360, 1024, 'y'),
(61, 15360, 2048, 'y'),
(62, 15360, 3072, 'y'),
(63, 15360, 4096, 'y'),
(64, 15360, 5120, 'y'),
(65, 15360, 6144, 'y'),
(66, 15360, 8192, 'y'),
(67, 15360, 10240, 'y');