文件首頁
MySQL 8.4 參考手冊
相關文件 下載本手冊
PDF (US Ltr) - 39.9Mb
PDF (A4) - 40.0Mb
手冊頁面 (TGZ) - 258.5Kb
手冊頁面 (Zip) - 365.5Kb
資訊 (Gzip) - 4.0Mb
資訊 (Zip) - 4.0Mb


MySQL 8.4 參考手冊  /  ...  /  動態系統變數

7.1.9.2 動態系統變數

許多伺服器系統變數是動態的,可以在執行時設定。請參閱第 15.7.6.1 節,「用於變數指派的 SET 語法」。如需設定系統變數的權限要求的說明,請參閱第 7.1.9.1 節,「系統變數權限」

下表列出適用於 mysqld 內的所有動態系統變數。

此表列出每個變數的資料類型和範圍。最後一欄指出每個變數的範圍是全域、工作階段或兩者。請參閱對應的項目描述,以了解設定和使用變數的詳細資訊。在適當的地方,會提供指向項目詳細資訊的直接連結。

類型為 字串 的變數會採用字串值。類型為 數值 的變數會採用數值。類型為 布林 的變數可以設定為 0、1、ONOFF。標記為 列舉 的變數通常應設定為變數的其中一個可用值,但也可以設定為對應於所需列舉值的數字。對於列舉的系統變數,第一個列舉值對應於 0。這與用於表格欄位的 ENUM 資料類型不同,後者的第一個列舉值對應於 1。

表格 7.5 動態系統變數摘要

變數名稱 變數類型 變數範圍
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_disable 布林 全域
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_connect_timeout 整數 全域
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_response_timeout 整數 全域
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_connect_timeout 整數 全域
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_response_timeout 整數 全域
authentication_ldap_simple_server_host 字串 全域
authentication_ldap_simple_server_port 整數 全域
authentication_ldap_simple_tls 布林 全域
authentication_ldap_simple_user_search_attr 字串 全域
authentication_policy 字串 全域
authentication_webauthn_rp_id 字串 全域
auto_increment_increment 整數 兩者
auto_increment_offset 整數 兩者
autocommit 布林 兩者
automatic_sp_privileges 布林 全域
big_tables 布林 兩者
binlog_cache_size 整數 全域
binlog_checksum 字串 全域
binlog_direct_non_transactional_updates 布林 兩者
binlog_encryption 布林 全域
binlog_error_action 列舉 全域
binlog_expire_logs_auto_purge 布林 全域
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 整數 全域
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_delay_after_data_drop 整數 全域
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 列舉 兩者
component_scheduler.enabled 布林 全域
concurrent_insert 列舉 全域
connect_timeout 整數 全域
connection_control_failed_connections_threshold 整數 全域
connection_control_max_connection_delay 整數 全域
connection_control_min_connection_delay 整數 全域
connection_memory_chunk_size 整數 兩者
connection_memory_limit 整數 兩者
cte_max_recursion_depth 整數 兩者
debug 字串 兩者
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 列舉 全域
enterprise_encryption.maximum_rsa_key_size 整數 全域
enterprise_encryption.rsa_support_legacy_padding 布林 全域
eq_range_index_dive_limit 整數 兩者
event_scheduler 列舉 全域
explain_format 列舉 兩者
explain_json_format_version 整數 兩者
explicit_defaults_for_timestamp 布林 兩者
flush 布林 全域
flush_time 整數 全域
foreign_key_checks 布林 兩者
ft_boolean_syntax 字串 全域
general_log 布林 全域
general_log_file 檔案名稱 全域
generated_random_password_length 整數 兩者
global_connection_memory_limit 整數 全域
global_connection_memory_tracking 布林 兩者
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_communication_stack 字串 全域
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_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_local_address 字串 全域
group_replication_member_expel_timeout 整數 全域
group_replication_member_weight 整數 全域
group_replication_message_cache_size 整數 全域
group_replication_paxos_single_leader 布林 全域
group_replication_poll_spin_loops 整數 全域
group_replication_preemptive_garbage_collection 布林 全域
group_replication_preemptive_garbage_collection_rows_threshold 整數 全域
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 整數 全域
identity 整數 工作階段
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_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_buffer_size 整數 工作階段
innodb_ddl_log_crash_reset_debug 布林 全域
innodb_ddl_threads 整數 工作階段
innodb_deadlock_detect 布林 全域
innodb_default_row_format 列舉 全域
innodb_disable_sort_file_cache 布林 全域
innodb_doublewrite 列舉 全域
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_open_files 整數 全域
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_capacity 整數 全域
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_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_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_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_throttle_queries_not_using_indexes 整數 全域
log_timestamps 列舉 全域
long_query_time 數值 兩者
low_priority_updates 布林 兩者
mandatory_roles 字串 全域
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_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_batch_size 整數 兩者
ndb_blob_read_batch_bytes 整數 兩者
ndb_blob_write_batch_bytes 整數 兩者
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_transaction_compression 布林 全域
ndb_log_transaction_compression_level_zstd 整數 全域
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 Bitmap 全域
ndb_replica_batch_size 整數 全域
ndb_replica_blob_write_batch_bytes 整數 全域
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 布林 兩者
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_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 布林 全域
restrict_fk_on_non_standard_key 布林 兩者
resultset_metadata 列舉 工作階段
rewriter_enabled 布林 全域
rewriter_enabled_for_threads_without_privilege_checks 布林 全域
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 列舉 兩者
set_operations_buffer_size 整數 兩者
sha256_password_proxy_users 布林 全域
show_create_table_skip_secondary_engine 布林 工作階段
show_create_table_verbosity 布林 兩者
show_gipk_in_create_table_and_information_schema 布林 兩者
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_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_generate_invisible_primary_key 布林 兩者
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_key 檔案名稱 全域
ssl_session_cache_mode 布林 全域
ssl_session_cache_timeout 整數 全域
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 整數 全域
telemetry.otel_log_level 列舉 全域
telemetry.query_text_enabled 布林 全域
telemetry.trace_enabled 布林 全域
temptable_max_mmap 整數 全域
temptable_max_ram 整數 全域
temptable_use_mmap 布林 全域
terminology_use_previous 列舉 兩者
thread_cache_size 整數 全域
thread_pool_high_priority_connection 整數 兩者
thread_pool_longrun_trx_limit 整數 全域
thread_pool_max_active_query_threads 整數 全域
thread_pool_max_transactions_limit 整數 全域
thread_pool_max_unused_threads 整數 全域
thread_pool_prio_kickup_timer 整數 全域
thread_pool_query_threads_per_group 整數 全域
thread_pool_stall_limit 整數 全域
thread_pool_transaction_delay 整數 全域
time_zone 字串 兩者
timestamp 數值 工作階段
tls_ciphersuites 字串 全域
tls_version 字串 全域
tmp_table_size 整數 兩者
transaction_alloc_block_size 整數 兩者
transaction_allow_batching 布林 工作階段
transaction_isolation 列舉 兩者
transaction_prealloc_size 整數 兩者
transaction_read_only 布林 兩者
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.changed_characters_percentage 整數 全域
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 布林 兩者
xa_detach_on_prepare 布林 兩者