10bet网址
MySQL 8.0参考手册
相关的文档10bet官方网站 下载本手册
PDF(美国Ltr)- 41.5 mb
PDF (A4)- 41.6 mb
手册(TGZ)- 262.1 kb
手册(Zip)- 372.2 kb
信息(Gzip)- 4.0 mb
信息(邮政编码)- 4.0 mb
本手册节选

5.1.9.2系统动态变量

许多服务器系统变量是动态的,可以在运行时设置。看到第13.7.6.1节“变量赋值的SET语法”.有关设置系统变量的特权要求的描述,请参见第5.1.9.1节“系统变量特权”

下表列出了所有适用的动态系统变量mysqld

该表列出了每个变量的数据类型和范围。最后一列表示每个变量的作用域是Global、Session还是两者都是。有关设置和使用变量的详细信息,请参阅相应的项目说明。在适当的情况下,提供了有关项目的进一步信息的直接链接。

类型为的变量字符串取一个字符串值。类型为的变量数字取一个数值。类型为的变量布尔可设为0,1,.标记为的变量枚举通常应该设置为变量的可用值之一,但也可以设置为与所需枚举值对应的数字。对于枚举的系统变量,第一个枚举值对应于0。这不同于枚举用于表列的数据类型,其第一个枚举值对应于1。

表5.4动态系统变量汇总

变量名 变量类型 变量作用域
activate_all_roles_on_login 布尔 全球
admin_ssl_ca 文件名称 全球
admin_ssl_capath 目录名称 全球
admin_ssl_cert 文件名称 全球
admin_ssl_cipher 字符串 全球
admin_ssl_crl 文件名称 全球
admin_ssl_crlpath 目录名称 全球
admin_ssl_key 文件名称 全球
admin_tls_ciphersuites 字符串 全球
admin_tls_version 字符串 全球
audit_log_connection_policy 枚举 全球
audit_log_exclude_accounts 字符串 全球
audit_log_flush 布尔 全球
audit_log_format_unix_timestamp 布尔 全球
audit_log_include_accounts 字符串 全球
audit_log_max_size 整数 全球
audit_log_password_history_keep_days 整数 全球
audit_log_prune_seconds 整数 全球
audit_log_read_buffer_size 整数 不同
audit_log_rotate_on_size 整数 全球
audit_log_statement_policy 枚举 全球
authentication_kerberos_service_principal 字符串 全球
authentication_ldap_sasl_auth_method_name 字符串 全球
authentication_ldap_sasl_bind_base_dn 字符串 全球
authentication_ldap_sasl_bind_root_dn 字符串 全球
authentication_ldap_sasl_bind_root_pwd 字符串 全球
authentication_ldap_sasl_ca_path 字符串 全球
authentication_ldap_sasl_group_search_attr 字符串 全球
authentication_ldap_sasl_group_search_filter 字符串 全球
authentication_ldap_sasl_init_pool_size 整数 全球
authentication_ldap_sasl_log_status 整数 全球
authentication_ldap_sasl_max_pool_size 整数 全球
authentication_ldap_sasl_referral 布尔 全球
authentication_ldap_sasl_server_host 字符串 全球
authentication_ldap_sasl_server_port 整数 全球
authentication_ldap_sasl_tls 布尔 全球
authentication_ldap_sasl_user_search_attr 字符串 全球
authentication_ldap_simple_auth_method_name 字符串 全球
authentication_ldap_simple_bind_base_dn 字符串 全球
authentication_ldap_simple_bind_root_dn 字符串 全球
authentication_ldap_simple_bind_root_pwd 字符串 全球
authentication_ldap_simple_ca_path 字符串 全球
authentication_ldap_simple_group_search_attr 字符串 全球
authentication_ldap_simple_group_search_filter 字符串 全球
authentication_ldap_simple_init_pool_size 整数 全球
authentication_ldap_simple_log_status 整数 全球
authentication_ldap_simple_max_pool_size 整数 全球
authentication_ldap_simple_referral 布尔 全球
authentication_ldap_simple_server_host 字符串 全球
authentication_ldap_simple_server_port 整数 全球
authentication_ldap_simple_tls 布尔 全球
authentication_ldap_simple_user_search_attr 字符串 全球
auto_increment_increment 整数 这两个
auto_increment_offset 整数 这两个
自动提交 布尔 这两个
automatic_sp_privileges 布尔 全球
avoid_temporal_upgrade 布尔 全球
big_tables 布尔 这两个
binlog_cache_size 整数 全球
binlog_checksum 字符串 全球
binlog_direct_non_transactional_updates 布尔 这两个
binlog_encryption 布尔 全球
binlog_error_action 枚举 全球
binlog_expire_logs_seconds 整数 全球
binlog_format 枚举 这两个
binlog_group_commit_sync_delay 整数 全球
binlog_group_commit_sync_no_delay_count 整数 全球
binlog_max_flush_queue_time 整数 全球
binlog_order_commits 布尔 全球
binlog_row_image 枚举 这两个
binlog_row_metadata 枚举 全球
binlog_row_value_options 这两个
binlog_rows_query_log_events 布尔 这两个
binlog_stmt_cache_size 整数 全球
binlog_transaction_compression 布尔 这两个
binlog_transaction_compression_level_zstd 整数 这两个
binlog_transaction_dependency_history_size 整数 全球
binlog_transaction_dependency_tracking 枚举 全球
block_encryption_mode 字符串 这两个
bulk_insert_buffer_size 整数 这两个
character_set_client 字符串 这两个
character_set_connection 字符串 这两个
character_set_database 字符串 这两个
character_set_filesystem 字符串 这两个
character_set_results 字符串 这两个
character_set_server 字符串 这两个
check_proxy_users 布尔 全球
clone_autotune_concurrency 布尔 全球
clone_block_ddl 布尔 全球
clone_buffer_size 整数 全球
clone_ddl_timeout 整数 全球
clone_donor_timeout_after_network_failure 整数 全球
clone_enable_compression 布尔 全球
clone_max_concurrency 整数 全球
clone_max_data_bandwidth 整数 全球
clone_max_network_bandwidth 整数 全球
clone_ssl_ca 文件名称 全球
clone_ssl_cert 文件名称 全球
clone_ssl_key 文件名称 全球
clone_valid_donor_list 字符串 全球
collation_connection 字符串 这两个
collation_database 字符串 这两个
collation_server 字符串 这两个
completion_type 枚举 这两个
concurrent_insert 枚举 全球
connect_timeout 整数 全球
connection_control_failed_connections_threshold 整数 全球
connection_control_max_connection_delay 整数 全球
connection_control_min_connection_delay 整数 全球
cte_max_recursion_depth 整数 这两个
调试 字符串 这两个
debug_sync 字符串 会话
default_collation_for_utf8mb4 枚举 这两个
default_password_lifetime 整数 全球
default_storage_engine 枚举 这两个
default_table_encryption 布尔 这两个
default_tmp_storage_engine 枚举 这两个
default_week_format 整数 这两个
delay_key_write 枚举 全球
delayed_insert_limit 整数 全球
delayed_insert_timeout 整数 全球
delayed_queue_size 整数 全球
div_precision_increment 整数 这两个
dragnet.log_error_filter_rules 字符串 全球
end_markers_in_json 布尔 这两个
enforce_gtid_consistency 枚举 全球
eq_range_index_dive_limit 整数 这两个
event_scheduler 枚举 全球
expire_logs_days 整数 全球
explicit_defaults_for_timestamp 布尔 这两个
冲洗 布尔 全球
flush_time 整数 全球
foreign_key_checks 布尔 这两个
ft_boolean_syntax 字符串 全球
general_log 布尔 全球
general_log_file 文件名称 全球
generated_random_password_length 整数 这两个
group_concat_max_len 整数 这两个
group_replication_advertise_recovery_endpoints 字符串 全球
group_replication_allow_local_lower_version_join 布尔 全球
group_replication_auto_increment_increment 整数 全球
group_replication_autorejoin_tries 整数 全球
group_replication_bootstrap_group 布尔 全球
group_replication_clone_threshold 整数 全球
group_replication_communication_debug_options 字符串 全球
group_replication_communication_max_message_size 整数 全球
group_replication_components_stop_timeout 整数 全球
group_replication_compression_threshold 整数 全球
group_replication_consistency 枚举 这两个
group_replication_enforce_update_everywhere_checks 布尔 全球
group_replication_exit_state_action 枚举 全球
group_replication_flow_control_applier_threshold 整数 全球
group_replication_flow_control_certifier_threshold 整数 全球
group_replication_flow_control_hold_percent 整数 全球
group_replication_flow_control_max_commit_quota 整数 全球
group_replication_flow_control_member_quota_percent 整数 全球
group_replication_flow_control_min_quota 整数 全球
group_replication_flow_control_min_recovery_quota 整数 全球
group_replication_flow_control_mode 枚举 全球
group_replication_flow_control_period 整数 全球
group_replication_flow_control_release_percent 整数 全球
group_replication_force_members 字符串 全球
group_replication_group_name 字符串 全球
group_replication_group_seeds 字符串 全球
group_replication_gtid_assignment_block_size 整数 全球
group_replication_ip_allowlist 字符串 全球
group_replication_ip_whitelist 字符串 全球
group_replication_local_address 字符串 全球
group_replication_member_expel_timeout 整数 全球
group_replication_member_weight 整数 全球
group_replication_message_cache_size 整数 全球
group_replication_poll_spin_loops 整数 全球
group_replication_recovery_complete_at 枚举 全球
group_replication_recovery_compression_algorithms 全球
group_replication_recovery_get_public_key 布尔 全球
group_replication_recovery_public_key_path 文件名称 全球
group_replication_recovery_reconnect_interval 整数 全球
group_replication_recovery_retry_count 整数 全球
group_replication_recovery_ssl_ca 字符串 全球
group_replication_recovery_ssl_capath 字符串 全球
group_replication_recovery_ssl_cert 字符串 全球
group_replication_recovery_ssl_cipher 字符串 全球
group_replication_recovery_ssl_crl 文件名称 全球
group_replication_recovery_ssl_crlpath 目录名称 全球
group_replication_recovery_ssl_key 字符串 全球
group_replication_recovery_ssl_verify_server_cert 布尔 全球
group_replication_recovery_tls_ciphersuites 字符串 全球
group_replication_recovery_tls_version 字符串 全球
group_replication_recovery_use_ssl 布尔 全球
group_replication_recovery_zstd_compression_level 整数 全球
group_replication_single_primary_mode 布尔 全球
group_replication_ssl_mode 枚举 全球
group_replication_start_on_boot 布尔 全球
group_replication_tls_source 枚举 全球
group_replication_transaction_size_limit 整数 全球
group_replication_unreachable_majority_timeout 整数 全球
group_replication_view_change_uuid 字符串 全球
gtid_executed_compression_period 整数 全球
gtid_mode 枚举 全球
gtid_next 枚举 会话
gtid_purged 字符串 全球
histogram_generation_max_mem_size 整数 这两个
host_cache_size 整数 全球
身份 整数 会话
immediate_server_version 整数 会话
information_schema_stats_expiry 整数 这两个
init_connect 字符串 全球
init_replica 字符串 全球
init_slave 字符串 全球
innodb_adaptive_flushing 布尔 全球
innodb_adaptive_flushing_lwm 整数 全球
innodb_adaptive_hash_index 布尔 全球
innodb_adaptive_max_sleep_delay 整数 全球
innodb_api_bk_commit_interval 整数 全球
innodb_api_trx_level 整数 全球
innodb_autoextend_increment 整数 全球
innodb_background_drop_list_empty 布尔 全球
innodb_buffer_pool_dump_at_shutdown 布尔 全球
innodb_buffer_pool_dump_now 布尔 全球
innodb_buffer_pool_dump_pct 整数 全球
innodb_buffer_pool_filename 文件名称 全球
innodb_buffer_pool_in_core_file 布尔 全球
innodb_buffer_pool_load_abort 布尔 全球
innodb_buffer_pool_load_now 布尔 全球
通过innodb_buffer_pool_size 整数 全球
innodb_change_buffer_max_size 整数 全球
innodb_change_buffering 枚举 全球
innodb_change_buffering_debug 整数 全球
innodb_checkpoint_disabled 布尔 全球
innodb_checksum_algorithm 枚举 全球
innodb_cmp_per_index_enabled 布尔 全球
innodb_commit_concurrency 整数 全球
innodb_compress_debug 枚举 全球
innodb_compression_failure_threshold_pct 整数 全球
innodb_compression_level 整数 全球
innodb_compression_pad_pct_max 整数 全球
innodb_concurrency_tickets 整数 全球
innodb_ddl_log_crash_reset_debug 布尔 全球
innodb_deadlock_detect 布尔 全球
innodb_default_row_format 枚举 全球
innodb_disable_sort_file_cache 布尔 全球
innodb_extend_and_initialize 布尔 全球
innodb_fast_shutdown 整数 全球
innodb_fil_make_page_dirty_debug 整数 全球
innodb_file_per_table 布尔 全球
innodb_fill_factor 整数 全球
innodb_flush_log_at_timeout 整数 全球
innodb_flush_log_at_trx_commit 枚举 全球
innodb_flush_neighbors 枚举 全球
innodb_flush_sync 布尔 全球
innodb_flushing_avg_loops 整数 全球
innodb_fsync_threshold 整数 全球
innodb_ft_aux_table 字符串 全球
innodb_ft_enable_diag_print 布尔 全球
innodb_ft_enable_stopword 布尔 这两个
innodb_ft_num_word_optimize 整数 全球
innodb_ft_result_cache_limit 整数 全球
innodb_ft_server_stopword_table 字符串 全球
innodb_ft_user_stopword_table 字符串 这两个
innodb_idle_flush_pct 整数 全球
innodb_io_capacity 整数 全球
innodb_io_capacity_max 整数 全球
innodb_limit_optimistic_insert_debug 整数 全球
innodb_lock_wait_timeout 整数 这两个
innodb_log_buffer_size 整数 全球
innodb_log_checkpoint_fuzzy_now 布尔 全球
innodb_log_checkpoint_now 布尔 全球
innodb_log_checksums 布尔 全球
innodb_log_compressed_pages 布尔 全球
innodb_log_spin_cpu_abs_lwm 整数 全球
innodb_log_spin_cpu_pct_hwm 整数 全球
innodb_log_wait_for_flush_spin_hwm 整数 全球
innodb_log_write_ahead_size 整数 全球
innodb_log_writer_threads 布尔 全球
innodb_lru_scan_depth 整数 全球
innodb_max_dirty_pages_pct 数字 全球
innodb_max_dirty_pages_pct_lwm 数字 全球
innodb_max_purge_lag 整数 全球
innodb_max_purge_lag_delay 整数 全球
innodb_max_undo_log_size 整数 全球
innodb_merge_threshold_set_all_debug 整数 全球
innodb_monitor_disable 字符串 全球
innodb_monitor_enable 字符串 全球
innodb_monitor_reset 枚举 全球
innodb_monitor_reset_all 枚举 全球
innodb_old_blocks_pct 整数 全球
innodb_old_blocks_time 整数 全球
innodb_online_alter_log_max_size 整数 全球
innodb_optimize_fulltext_only 布尔 全球
innodb_parallel_read_threads 整数 会话
innodb_print_all_deadlocks 布尔 全球
innodb_print_ddl_logs 布尔 全球
innodb_purge_batch_size 整数 全球
innodb_purge_rseg_truncate_frequency 整数 全球
innodb_random_read_ahead 布尔 全球
innodb_read_ahead_threshold 整数 全球
innodb_redo_log_archive_dirs 字符串 全球
innodb_redo_log_encrypt 布尔 全球
innodb_replication_delay 整数 全球
innodb_rollback_segments 整数 全球
innodb_saved_page_number_debug 整数 全球
innodb_segment_reserve_factor 数字 全球
innodb_spin_wait_delay 整数 全球
innodb_spin_wait_pause_multiplier 整数 全球
innodb_stats_auto_recalc 布尔 全球
innodb_stats_include_delete_marked 布尔 全球
innodb_stats_method 枚举 全球
innodb_stats_on_metadata 布尔 全球
innodb_stats_persistent 布尔 全球
innodb_stats_persistent_sample_pages 整数 全球
innodb_stats_transient_sample_pages 整数 全球
innodb_status_output 布尔 全球
innodb_status_output_locks 布尔 全球
innodb_strict_mode 布尔 这两个
innodb_sync_spin_loops 整数 全球
innodb_table_locks 布尔 这两个
innodb_thread_concurrency 整数 全球
innodb_thread_sleep_delay 整数 全球
innodb_tmpdir 目录名称 这两个
innodb_trx_purge_view_update_only_debug 布尔 全球
innodb_trx_rseg_n_slots_debug 整数 全球
innodb_undo_log_encrypt 布尔 全球
innodb_undo_log_truncate 布尔 全球
innodb_undo_tablespaces 整数 全球
innodb_use_fdatasync 布尔 全球
insert_id 整数 会话
interactive_timeout 整数 这两个
internal_tmp_disk_storage_engine 枚举 全球
internal_tmp_mem_storage_engine 枚举 这两个
join_buffer_size 整数 这两个
keep_files_on_create 布尔 这两个
key_buffer_size 整数 全球
key_cache_age_threshold 整数 全球
key_cache_block_size 整数 全球
key_cache_division_limit 整数 全球
keyring_aws_cmk_id 字符串 全球
keyring_aws_region 枚举 全球
keyring_encrypted_file_data 文件名称 全球
keyring_encrypted_file_password 字符串 全球
keyring_file_data 文件名称 全球
keyring_hashicorp_auth_path 字符串 全球
keyring_hashicorp_ca_path 文件名称 全球
keyring_hashicorp_caching 布尔 全球
keyring_hashicorp_role_id 字符串 全球
keyring_hashicorp_secret_id 字符串 全球
keyring_hashicorp_server_url 字符串 全球
keyring_hashicorp_store_path 字符串 全球
keyring_okv_conf_dir 目录名称 全球
keyring_operations 布尔 全球
last_insert_id 整数 会话
lc_messages 字符串 这两个
lc_time_names 字符串 这两个
local_infile 布尔 全球
lock_wait_timeout 整数 这两个
log_bin_trust_function_creators 布尔 全球
log_bin_use_v1_row_events 布尔 全球
log_error_services 字符串 全球
log_error_suppression_list 字符串 全球
log_error_verbosity 整数 全球
log_output 全球
log_queries_not_using_indexes 布尔 全球
log_raw 布尔 全球
log_slow_admin_statements 布尔 全球
log_slow_extra 布尔 全球
log_slow_replica_statements 布尔 全球
log_slow_slave_statements 布尔 全球
log_statements_unsafe_for_binlog 布尔 全球
log_syslog 布尔 全球
log_syslog_facility 字符串 全球
log_syslog_include_pid 布尔 全球
log_syslog_tag 字符串 全球
log_throttle_queries_not_using_indexes 整数 全球
log_timestamps 枚举 全球
long_query_time 数字 这两个
low_priority_updates 布尔 这两个
mandatory_roles 字符串 全球
master_info_repository 字符串 全球
master_verify_checksum 布尔 全球
max_allowed_packet 整数 这两个
max_binlog_cache_size 整数 全球
max_binlog_size 整数 全球
max_binlog_stmt_cache_size 整数 全球
max_connect_errors 整数 全球
max_connections 整数 全球
max_delayed_threads 整数 这两个
max_error_count 整数 这两个
max_execution_time 整数 这两个
max_heap_table_size 整数 这两个
max_insert_delayed_threads 整数 这两个
max_join_size 整数 这两个
max_length_for_sort_data 整数 这两个
max_points_in_geometry 整数 这两个
max_prepared_stmt_count 整数 全球
max_relay_log_size 整数 全球
max_seeks_for_key 整数 这两个
max_sort_length 整数 这两个
max_sp_recursion_depth 整数 这两个
max_user_connections 整数 这两个
max_write_lock_count 整数 全球
min_examined_row_limit 整数 这两个
myisam_data_pointer_size 整数 全球
myisam_max_sort_file_size 整数 全球
myisam_repair_threads 整数 这两个
myisam_sort_buffer_size 整数 这两个
myisam_stats_method 枚举 这两个
myisam_use_mmap 布尔 全球
mysql_firewall_mode 布尔 全球
mysql_firewall_trace 布尔 全球
mysql_native_password_proxy_users 布尔 全球
mysqlx_compression_algorithms 全球
mysqlx_connect_timeout 整数 全球
mysqlx_deflate_default_compression_level 整数 全球
mysqlx_deflate_max_client_compression_level 整数 全球
mysqlx_document_id_unique_prefix 整数 全球
mysqlx_enable_hello_notice 布尔 全球
mysqlx_idle_worker_thread_timeout 整数 全球
mysqlx_interactive_timeout 整数 全球
mysqlx_lz4_default_compression_level 整数 全球
mysqlx_lz4_max_client_compression_level 整数 全球
mysqlx_max_allowed_packet 整数 全球
mysqlx_max_connections 整数 全球
mysqlx_min_worker_threads 整数 全球
mysqlx_read_timeout 整数 会话
mysqlx_wait_timeout 整数 会话
mysqlx_write_timeout 整数 会话
mysqlx_zstd_default_compression_level 整数 全球
mysqlx_zstd_max_client_compression_level 整数 全球
ndb_allow_copying_alter_table 布尔 这两个
ndb_autoincrement_prefetch_sz 整数 这两个
ndb_blob_read_batch_bytes 整数 这两个
ndb_blob_write_batch_bytes 整数 这两个
ndb_cache_check_time 整数 全球
ndb_clear_apply_status 布尔 全球
ndb_conflict_role 枚举 全球
ndb_data_node_neighbour 整数 全球
ndb_dbg_check_shares 整数 这两个
ndb_default_column_format 枚举 全球
ndb_default_column_format 枚举 全球
ndb_deferred_constraints 整数 这两个
ndb_deferred_constraints 整数 这两个
ndb_distribution 枚举 全球
ndb_distribution 枚举 全球
ndb_eventbuffer_free_percent 整数 全球
ndb_eventbuffer_max_alloc 整数 全球
ndb_extra_logging 整数 全球
ndb_force_send 布尔 这两个
ndb_fully_replicated 布尔 这两个
ndb_index_stat_enable 布尔 这两个
ndb_index_stat_option 字符串 这两个
ndb_join_pushdown 布尔 这两个
ndb_log_binlog_index 布尔 全球
ndb_log_empty_epochs 布尔 全球
ndb_log_empty_epochs 布尔 全球
ndb_log_empty_update 布尔 全球
ndb_log_empty_update 布尔 全球
ndb_log_exclusive_reads 布尔 这两个
ndb_log_exclusive_reads 布尔 这两个
ndb_log_update_as_write 布尔 全球
ndb_log_update_minimal 布尔 全球
ndb_log_updated_only 布尔 全球
ndb_metadata_check 布尔 全球
ndb_metadata_check_interval 整数 全球
ndb_metadata_sync 布尔 全球
ndb_optimization_delay 整数 全球
ndb_read_backup 布尔 全球
ndb_recv_thread_activation_threshold 整数 全球
ndb_recv_thread_cpu_mask 位图 全球
ndb_report_thresh_binlog_epoch_slip 整数 全球
ndb_report_thresh_binlog_mem_usage 整数 全球
ndb_row_checksum 整数 这两个
ndb_schema_dist_lock_wait_timeout 整数 全球
ndb_show_foreign_key_mock_tables 布尔 全球
ndb_slave_conflict_role 枚举 全球
ndb_table_no_logging 布尔 会话
ndb_table_temporary 布尔 会话
ndb_use_exact_count 布尔 这两个
ndb_use_transactions 布尔 这两个
ndbinfo_max_bytes 整数 这两个
ndbinfo_max_rows 整数 这两个
ndbinfo_offline 布尔 全球
ndbinfo_show_hidden 布尔 这两个
net_buffer_length 整数 这两个
net_read_timeout 整数 这两个
net_retry_count 整数 这两个
net_write_timeout 整数 这两个
布尔 这两个
offline_mode 布尔 全球
old_alter_table 布尔 这两个
optimizer_prune_level 整数 这两个
optimizer_search_depth 整数 这两个
optimizer_switch 这两个
optimizer_trace 字符串 这两个
optimizer_trace_features 字符串 这两个
optimizer_trace_limit 整数 这两个
optimizer_trace_max_mem_size 整数 这两个
optimizer_trace_offset 整数 这两个
original_commit_timestamp 数字 会话
original_server_version 整数 会话
parser_max_mem_size 整数 这两个
partial_revokes 布尔 全球
password_history 整数 全球
password_require_current 布尔 全球
password_reuse_interval 整数 全球
performance_schema_max_digest_sample_age 整数 全球
performance_schema_show_processlist 布尔 全球
preload_buffer_size 整数 这两个
print_identified_with_as_hex 布尔 这两个
分析 布尔 这两个
profiling_history_size 整数 这两个
protocol_compression_algorithms 全球
pseudo_replica_mode 布尔 会话
pseudo_slave_mode 布尔 会话
pseudo_thread_id 整数 会话
query_alloc_block_size 整数 这两个
query_prealloc_size 整数 这两个
rand_seed1 整数 会话
rand_seed2 整数 会话
range_alloc_block_size 整数 这两个
range_optimizer_max_mem_size 整数 这两个
rbr_exec_mode 枚举 会话
read_buffer_size 整数 这两个
read_only 布尔 全球
read_rnd_buffer_size 整数 这两个
regexp_stack_limit 整数 全球
regexp_time_limit 整数 全球
relay_log_info_repository 字符串 全球
relay_log_purge 布尔 全球
replica_allow_batching 布尔 全球
replica_checkpoint_group 整数 全球
replica_checkpoint_period 整数 全球
replica_compressed_protocol 布尔 全球
replica_exec_mode 枚举 全球
replica_max_allowed_packet 整数 全球
replica_net_timeout 整数 全球
replica_parallel_type 枚举 全球
replica_parallel_workers 整数 全球
replica_pending_jobs_size_max 整数 全球
replica_preserve_commit_order 布尔 全球
replica_sql_verify_checksum 布尔 全球
replica_transaction_retries 整数 全球
replica_type_conversions 全球
replication_optimize_for_static_plugin_config 布尔 全球
replication_sender_observe_commit_only 布尔 全球
require_row_format 布尔 会话
require_secure_transport 布尔 全球
resultset_metadata 枚举 会话
rewriter_enabled 布尔 全球
rewriter_verbose 整数 全球
rpl_read_size 整数 全球
rpl_semi_sync_master_enabled 布尔 全球
rpl_semi_sync_master_timeout 整数 全球
rpl_semi_sync_master_trace_level 整数 全球
rpl_semi_sync_master_wait_for_slave_count 整数 全球
rpl_semi_sync_master_wait_no_slave 布尔 全球
rpl_semi_sync_master_wait_point 枚举 全球
rpl_semi_sync_replica_enabled 布尔 全球
rpl_semi_sync_replica_trace_level 整数 全球
rpl_semi_sync_slave_enabled 布尔 全球
rpl_semi_sync_slave_trace_level 整数 全球
rpl_semi_sync_source_enabled 布尔 全球
rpl_semi_sync_source_timeout 整数 全球
rpl_semi_sync_source_trace_level 整数 全球
rpl_semi_sync_source_wait_for_replica_count 整数 全球
rpl_semi_sync_source_wait_no_replica 布尔 全球
rpl_semi_sync_source_wait_point 枚举 全球
rpl_stop_replica_timeout 整数 全球
rpl_stop_slave_timeout 整数 全球
schema_definition_cache 整数 全球
secondary_engine_cost_threshold 数字 会话
select_into_buffer_size 整数 这两个
select_into_disk_sync 布尔 这两个
select_into_disk_sync_delay 整数 这两个
server_id 整数 全球
session_track_gtids 枚举 这两个
session_track_schema 布尔 这两个
session_track_state_change 布尔 这两个
session_track_system_variables 字符串 这两个
session_track_transaction_info 枚举 这两个
sha256_password_proxy_users 布尔 全球
show_create_table_skip_secondary_engine 布尔 会话
show_create_table_verbosity 布尔 这两个
show_old_temporals 布尔 这两个
slave_allow_batching 布尔 全球
slave_checkpoint_group 整数 全球
slave_checkpoint_period 整数 全球
slave_compressed_protocol 布尔 全球
slave_exec_mode 枚举 全球
slave_max_allowed_packet 整数 全球
slave_net_timeout 整数 全球
slave_parallel_type 枚举 全球
slave_parallel_workers 整数 全球
slave_pending_jobs_size_max 整数 全球
slave_preserve_commit_order 布尔 全球
slave_rows_search_algorithms 全球
slave_sql_verify_checksum 布尔 全球
slave_transaction_retries 整数 全球
slave_type_conversions 全球
slow_launch_time 整数 全球
slow_query_log 布尔 全球
slow_query_log_file 文件名称 全球
sort_buffer_size 整数 这两个
source_verify_checksum 布尔 全球
sql_auto_is_null 布尔 这两个
sql_big_selects 布尔 这两个
sql_buffer_result 布尔 这两个
sql_log_bin 布尔 会话
sql_log_off 布尔 这两个
sql_mode 这两个
sql_notes 布尔 这两个
sql_quote_show_create 布尔 这两个
sql_replica_skip_counter 整数 全球
sql_require_primary_key 布尔 这两个
sql_safe_updates 布尔 这两个
sql_select_limit 整数 这两个
sql_slave_skip_counter 整数 全球
sql_warnings 布尔 这两个
ssl_ca 文件名称 全球
ssl_capath 目录名称 全球
ssl_cert 文件名称 全球
ssl_cipher 字符串 全球
ssl_crl 文件名称 全球
ssl_crlpath 目录名称 全球
ssl_fips_mode 枚举 全球
ssl_key 文件名称 全球
stored_program_cache 整数 全球
stored_program_definition_cache 整数 全球
super_read_only 布尔 全球
sync_binlog 整数 全球
sync_master_info 整数 全球
sync_relay_log 整数 全球
sync_relay_log_info 整数 全球
sync_source_info 整数 全球
syseventlog.facility 字符串 全球
syseventlog.include_pid 布尔 全球
syseventlog.tag 字符串 全球
table_definition_cache 整数 全球
table_encryption_privilege_check 布尔 全球
table_open_cache 整数 全球
tablespace_definition_cache 整数 全球
temptable_max_mmap 整数 全球
temptable_max_ram 整数 全球
temptable_use_mmap 布尔 全球
terminology_use_previous 枚举 这两个
thread_cache_size 整数 全球
thread_pool_high_priority_connection 整数 这两个
thread_pool_max_active_query_threads 整数 全球
thread_pool_max_unused_threads 整数 全球
thread_pool_prio_kickup_timer 整数 全球
thread_pool_stall_limit 整数 全球
time_zone 字符串 这两个
时间戳 数字 会话
tls_ciphersuites 字符串 全球
tls_version 字符串 全球
tmp_table_size 整数 这两个
transaction_alloc_block_size 整数 这两个
transaction_allow_batching 布尔 会话
transaction_isolation 枚举 这两个
transaction_prealloc_size 整数 这两个
transaction_read_only 布尔 这两个
transaction_write_set_extraction 枚举 这两个
unique_checks 布尔 这两个
updatable_views_with_limit 布尔 这两个
use_secondary_engine 枚举 会话
validate_password_check_user_name 布尔 全球
validate_password_dictionary_file 文件名称 全球
validate_password_length 整数 全球
validate_password_mixed_case_count 整数 全球
validate_password_number_count 整数 全球
validate_password_policy 枚举 全球
validate_password_special_char_count 整数 全球
validate_password.check_user_name 布尔 全球
validate_password.dictionary_file 文件名称 全球
validate_password.length 整数 全球
validate_password.mixed_case_count 整数 全球
validate_password.number_count 整数 全球
validate_password.policy 枚举 全球
validate_password.special_char_count 整数 全球
version_tokens_session 字符串 这两个
wait_timeout 整数 这两个
windowing_use_high_precision 布尔 这两个