Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(backend): dbconfig 修复 pulsar 和 mysql monitor 监控配置 #4093 #4122

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,6 @@ INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (15047,'tendbcluster','dbconf','MySQL-8.0','mysqld.table_open_cache','INT','5120','[1, 524288]','RANGE',1,0,0,0,0,NULL,NULL,NULL,-1,NULL,'The number of open tables for all threads. Increasing this value increases the number of file descriptors that mysqld requires.','2023-03-09 17:36:33','2023-04-19 15:10:13',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (15048,'tendbcluster','dbconf','MySQL-8.0','mysqld.table_open_cache_instances','STRING','{MIN(DBInitMemory/1000,16)}','','',-1,0,0,0,1,NULL,NULL,NULL,-1,NULL,'The number of table cache instances','2023-03-09 17:36:33','2023-03-09 17:36:33',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (15049,'tendbcluster','dbconf','MySQL-8.0','mysqld.thread_cache_size','INT','8','[4,64]','RANGE',1,0,0,0,0,NULL,NULL,NULL,-1,NULL,'How many threads we should keep in a cache for reuse','2023-03-09 17:36:33','2023-03-09 17:36:33',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (15050,'tendbcluster','dbconf','MySQL-8.0','mysqld.thread_handling','STRING','one-thread-per-connection','one-thread-per-connection| pool-of-threads ','ENUM',-1,0,0,0,1,NULL,NULL,NULL,-1,NULL,'The thread-handling model used by the server for connection threads.','2023-03-09 17:36:33','2023-03-09 17:36:33',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (15051,'tendbcluster','dbconf','MySQL-8.0','mysqld.thread_pool_oversubscribe','INT','3','[3,32]','RANGE',-1,0,0,0,0,NULL,NULL,NULL,-1,NULL,'Determines how many worker threads in a group can remain active at the same time once a thread group is oversubscribed.','2023-03-09 17:36:33','2023-03-09 17:36:33',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (15052,'tendbcluster','dbconf','MySQL-8.0','mysqld.thread_pool_size','STRING','{MIN(DBInitCpu,64)}','','',-1,0,0,0,0,NULL,NULL,NULL,-1,NULL,'The number of thread groups in the thread pool.. ','2023-03-09 17:36:33','2023-03-09 17:36:33',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (15053,'tendbcluster','dbconf','MySQL-8.0','mysqld.thread_stack','INT','524288','[131072,1073741824]','RANGE',-1,0,0,0,1,NULL,NULL,NULL,-1,NULL,'The stack size for each thread.','2023-03-09 17:36:33','2023-03-09 17:36:33',0);
Expand Down Expand Up @@ -1843,7 +1842,6 @@ INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (18961,'tendbcluster','dbconf','TXSQL-8.0','mysqld.table_open_cache','INT','5120','[1, 524288]','RANGE',1,0,0,0,0,NULL,NULL,NULL,-1,NULL,'The number of open tables for all threads. Increasing this value increases the number of file descriptors that mysqld requires.','2023-11-14 15:20:26','2023-11-14 15:20:26',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (18962,'tendbcluster','dbconf','TXSQL-8.0','mysqld.table_open_cache_instances','STRING','{MIN(DBInitMemory/1000,16)}','','',-1,0,0,0,1,NULL,NULL,NULL,-1,NULL,'The number of table cache instances','2023-11-14 15:20:26','2023-11-14 15:20:26',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (18963,'tendbcluster','dbconf','TXSQL-8.0','mysqld.thread_cache_size','INT','8','[4,64]','RANGE',1,0,0,0,0,NULL,NULL,NULL,-1,NULL,'How many threads we should keep in a cache for reuse','2023-11-14 15:20:26','2023-11-14 15:20:26',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (18964,'tendbcluster','dbconf','TXSQL-8.0','mysqld.thread_handling','STRING','one-thread-per-connection','one-thread-per-connection| pool-of-threads ','ENUM',-1,0,0,0,1,NULL,NULL,NULL,-1,NULL,'The thread-handling model used by the server for connection threads.','2023-11-14 15:20:26','2023-11-14 15:20:26',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (18965,'tendbcluster','dbconf','TXSQL-8.0','mysqld.thread_pool_oversubscribe','INT','3','[3,32]','RANGE',-1,0,0,0,0,NULL,NULL,NULL,-1,NULL,'Determines how many worker threads in a group can remain active at the same time once a thread group is oversubscribed.','2023-11-14 15:20:26','2023-11-14 15:20:26',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (18966,'tendbcluster','dbconf','TXSQL-8.0','mysqld.thread_pool_size','STRING','{MIN(DBInitCpu,64)}','','',-1,0,0,0,0,NULL,NULL,NULL,-1,NULL,'The number of thread groups in the thread pool.. ','2023-11-14 15:20:26','2023-11-14 15:20:26',0);
INSERT INTO `tb_config_name_def` (`id`, `namespace`, `conf_type`, `conf_file`, `conf_name`, `value_type`, `value_default`, `value_allowed`, `value_type_sub`, `flag_status`, `flag_disable`, `flag_locked`, `flag_encrypt`, `need_restart`, `value_formula`, `extra_info`, `conf_name_lc`, `order_index`, `since_version`, `description`, `created_at`, `updated_at`, `stage`) VALUES (18967,'tendbcluster','dbconf','TXSQL-8.0','mysqld.thread_stack','INT','524288','[131072,1073741824]','RANGE',-1,0,0,0,1,NULL,NULL,NULL,-1,NULL,'The stack size for each thread.','2023-11-14 15:20:26','2023-11-14 15:20:26',0);
Expand Down
Loading
Loading