Managed Service for MySQL API, gRPC: ClusterService.Restore
Restores a backup to a new cluster.
See the documentation for details.
gRPC request
rpc Restore (RestoreClusterRequest) returns (operation.Operation)
RestoreClusterRequest
{
"backup_id": "string",
"time": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"environment": "Environment",
"config_spec": {
"version": "string",
// Includes only one of the fields `mysql_config_5_7`, `mysql_config_8_0`, `mysql_config_8_4`
"mysql_config_5_7": {
"innodb_buffer_pool_size": "google.protobuf.Int64Value",
"max_connections": "google.protobuf.Int64Value",
"long_query_time": "google.protobuf.DoubleValue",
"general_log": "google.protobuf.BoolValue",
"audit_log": "google.protobuf.BoolValue",
"sql_mode": [
"SQLMode"
],
"max_allowed_packet": "google.protobuf.Int64Value",
"default_authentication_plugin": "AuthPlugin",
"innodb_flush_log_at_trx_commit": "google.protobuf.Int64Value",
"innodb_lock_wait_timeout": "google.protobuf.Int64Value",
"transaction_isolation": "TransactionIsolation",
"innodb_print_all_deadlocks": "google.protobuf.BoolValue",
"net_read_timeout": "google.protobuf.Int64Value",
"net_write_timeout": "google.protobuf.Int64Value",
"group_concat_max_len": "google.protobuf.Int64Value",
"tmp_table_size": "google.protobuf.Int64Value",
"max_heap_table_size": "google.protobuf.Int64Value",
"default_time_zone": "string",
"character_set_server": "string",
"collation_server": "string",
"innodb_adaptive_hash_index": "google.protobuf.BoolValue",
"innodb_numa_interleave": "google.protobuf.BoolValue",
"innodb_log_buffer_size": "google.protobuf.Int64Value",
"innodb_log_file_size": "google.protobuf.Int64Value",
"innodb_io_capacity": "google.protobuf.Int64Value",
"innodb_io_capacity_max": "google.protobuf.Int64Value",
"innodb_read_io_threads": "google.protobuf.Int64Value",
"innodb_write_io_threads": "google.protobuf.Int64Value",
"innodb_purge_threads": "google.protobuf.Int64Value",
"innodb_thread_concurrency": "google.protobuf.Int64Value",
"innodb_temp_data_file_max_size": "google.protobuf.Int64Value",
"thread_cache_size": "google.protobuf.Int64Value",
"thread_stack": "google.protobuf.Int64Value",
"join_buffer_size": "google.protobuf.Int64Value",
"sort_buffer_size": "google.protobuf.Int64Value",
"table_definition_cache": "google.protobuf.Int64Value",
"table_open_cache": "google.protobuf.Int64Value",
"table_open_cache_instances": "google.protobuf.Int64Value",
"explicit_defaults_for_timestamp": "google.protobuf.BoolValue",
"auto_increment_increment": "google.protobuf.Int64Value",
"auto_increment_offset": "google.protobuf.Int64Value",
"sync_binlog": "google.protobuf.Int64Value",
"binlog_cache_size": "google.protobuf.Int64Value",
"binlog_group_commit_sync_delay": "google.protobuf.Int64Value",
"binlog_row_image": "BinlogRowImage",
"binlog_rows_query_log_events": "google.protobuf.BoolValue",
"rpl_semi_sync_master_wait_for_slave_count": "google.protobuf.Int64Value",
"slave_parallel_type": "SlaveParallelType",
"slave_parallel_workers": "google.protobuf.Int64Value",
"mdb_preserve_binlog_bytes": "google.protobuf.Int64Value",
"interactive_timeout": "google.protobuf.Int64Value",
"wait_timeout": "google.protobuf.Int64Value",
"mdb_offline_mode_enable_lag": "google.protobuf.Int64Value",
"mdb_offline_mode_disable_lag": "google.protobuf.Int64Value",
"range_optimizer_max_mem_size": "google.protobuf.Int64Value",
"innodb_online_alter_log_max_size": "google.protobuf.Int64Value",
"innodb_ft_min_token_size": "google.protobuf.Int64Value",
"innodb_ft_max_token_size": "google.protobuf.Int64Value",
"lower_case_table_names": "google.protobuf.Int64Value",
"show_compatibility_56": "google.protobuf.BoolValue",
"slow_query_log": "google.protobuf.BoolValue",
"slow_query_log_always_write_time": "google.protobuf.DoubleValue",
"log_slow_rate_type": "LogSlowRateType",
"log_slow_rate_limit": "google.protobuf.Int64Value",
"log_slow_sp_statements": "google.protobuf.BoolValue",
"log_slow_filter": [
"LogSlowFilterType"
],
"mdb_priority_choice_max_lag": "google.protobuf.Int64Value",
"innodb_page_size": "google.protobuf.Int64Value",
"max_sp_recursion_depth": "google.protobuf.Int64Value",
"innodb_compression_level": "google.protobuf.Int64Value",
"binlog_transaction_dependency_tracking": "BinlogTransactionDependencyTracking",
"autocommit": "google.protobuf.BoolValue",
"innodb_status_output": "google.protobuf.BoolValue",
"innodb_strict_mode": "google.protobuf.BoolValue",
"innodb_print_lock_wait_timeout_info": "google.protobuf.BoolValue",
"log_error_verbosity": "google.protobuf.Int64Value",
"max_digest_length": "google.protobuf.Int64Value",
"query_cache_limit": "google.protobuf.Int64Value",
"query_cache_size": "google.protobuf.Int64Value",
"query_cache_type": "google.protobuf.Int64Value",
"lock_wait_timeout": "google.protobuf.Int64Value",
"max_prepared_stmt_count": "google.protobuf.Int64Value",
"optimizer_switch": "string",
"optimizer_search_depth": "google.protobuf.Int64Value",
"query_response_time_stats": "google.protobuf.BoolValue",
"userstat": "google.protobuf.BoolValue",
"max_execution_time": "google.protobuf.Int64Value",
"audit_log_policy": "AuditLogPolicy",
"innodb_lru_scan_depth": "google.protobuf.Int64Value",
"mdb_force_ssl": "google.protobuf.BoolValue",
"innodb_change_buffering": "InnodbChangeBuffering",
"max_write_lock_count": "google.protobuf.Int64Value",
"innodb_adaptive_hash_index_parts": "google.protobuf.Int64Value"
},
"mysql_config_8_0": {
"innodb_buffer_pool_size": "google.protobuf.Int64Value",
"max_connections": "google.protobuf.Int64Value",
"long_query_time": "google.protobuf.DoubleValue",
"general_log": "google.protobuf.BoolValue",
"audit_log": "google.protobuf.BoolValue",
"sql_mode": [
"SQLMode"
],
"max_allowed_packet": "google.protobuf.Int64Value",
"default_authentication_plugin": "AuthPlugin",
"innodb_flush_log_at_trx_commit": "google.protobuf.Int64Value",
"innodb_lock_wait_timeout": "google.protobuf.Int64Value",
"transaction_isolation": "TransactionIsolation",
"innodb_print_all_deadlocks": "google.protobuf.BoolValue",
"net_read_timeout": "google.protobuf.Int64Value",
"net_write_timeout": "google.protobuf.Int64Value",
"group_concat_max_len": "google.protobuf.Int64Value",
"tmp_table_size": "google.protobuf.Int64Value",
"max_heap_table_size": "google.protobuf.Int64Value",
"default_time_zone": "string",
"character_set_server": "string",
"collation_server": "string",
"innodb_adaptive_hash_index": "google.protobuf.BoolValue",
"innodb_numa_interleave": "google.protobuf.BoolValue",
"innodb_log_buffer_size": "google.protobuf.Int64Value",
"innodb_log_file_size": "google.protobuf.Int64Value",
"innodb_io_capacity": "google.protobuf.Int64Value",
"innodb_io_capacity_max": "google.protobuf.Int64Value",
"innodb_read_io_threads": "google.protobuf.Int64Value",
"innodb_write_io_threads": "google.protobuf.Int64Value",
"innodb_purge_threads": "google.protobuf.Int64Value",
"innodb_thread_concurrency": "google.protobuf.Int64Value",
"innodb_temp_data_file_max_size": "google.protobuf.Int64Value",
"thread_cache_size": "google.protobuf.Int64Value",
"thread_stack": "google.protobuf.Int64Value",
"join_buffer_size": "google.protobuf.Int64Value",
"sort_buffer_size": "google.protobuf.Int64Value",
"table_definition_cache": "google.protobuf.Int64Value",
"table_open_cache": "google.protobuf.Int64Value",
"table_open_cache_instances": "google.protobuf.Int64Value",
"explicit_defaults_for_timestamp": "google.protobuf.BoolValue",
"auto_increment_increment": "google.protobuf.Int64Value",
"auto_increment_offset": "google.protobuf.Int64Value",
"sync_binlog": "google.protobuf.Int64Value",
"binlog_cache_size": "google.protobuf.Int64Value",
"binlog_group_commit_sync_delay": "google.protobuf.Int64Value",
"binlog_row_image": "BinlogRowImage",
"binlog_rows_query_log_events": "google.protobuf.BoolValue",
"rpl_semi_sync_master_wait_for_slave_count": "google.protobuf.Int64Value",
"slave_parallel_type": "SlaveParallelType",
"slave_parallel_workers": "google.protobuf.Int64Value",
"regexp_time_limit": "google.protobuf.Int64Value",
"mdb_preserve_binlog_bytes": "google.protobuf.Int64Value",
"interactive_timeout": "google.protobuf.Int64Value",
"wait_timeout": "google.protobuf.Int64Value",
"mdb_offline_mode_enable_lag": "google.protobuf.Int64Value",
"mdb_offline_mode_disable_lag": "google.protobuf.Int64Value",
"range_optimizer_max_mem_size": "google.protobuf.Int64Value",
"innodb_online_alter_log_max_size": "google.protobuf.Int64Value",
"innodb_ft_min_token_size": "google.protobuf.Int64Value",
"innodb_ft_max_token_size": "google.protobuf.Int64Value",
"lower_case_table_names": "google.protobuf.Int64Value",
"slow_query_log": "google.protobuf.BoolValue",
"slow_query_log_always_write_time": "google.protobuf.DoubleValue",
"log_slow_rate_type": "LogSlowRateType",
"log_slow_rate_limit": "google.protobuf.Int64Value",
"log_slow_sp_statements": "google.protobuf.BoolValue",
"log_slow_filter": [
"LogSlowFilterType"
],
"mdb_priority_choice_max_lag": "google.protobuf.Int64Value",
"innodb_page_size": "google.protobuf.Int64Value",
"max_sp_recursion_depth": "google.protobuf.Int64Value",
"innodb_compression_level": "google.protobuf.Int64Value",
"binlog_transaction_dependency_tracking": "BinlogTransactionDependencyTracking",
"autocommit": "google.protobuf.BoolValue",
"innodb_status_output": "google.protobuf.BoolValue",
"innodb_strict_mode": "google.protobuf.BoolValue",
"innodb_print_lock_wait_timeout_info": "google.protobuf.BoolValue",
"log_error_verbosity": "google.protobuf.Int64Value",
"max_digest_length": "google.protobuf.Int64Value",
"lock_wait_timeout": "google.protobuf.Int64Value",
"max_prepared_stmt_count": "google.protobuf.Int64Value",
"optimizer_switch": "string",
"optimizer_search_depth": "google.protobuf.Int64Value",
"userstat": "google.protobuf.BoolValue",
"max_execution_time": "google.protobuf.Int64Value",
"audit_log_policy": "AuditLogPolicy",
"replication_sender_observe_commit_only": "google.protobuf.BoolValue",
"replication_optimize_for_static_plugin_config": "google.protobuf.BoolValue",
"innodb_lru_scan_depth": "google.protobuf.Int64Value",
"sql_require_primary_key": "google.protobuf.BoolValue",
"mdb_force_ssl": "google.protobuf.BoolValue",
"innodb_change_buffering": "InnodbChangeBuffering",
"max_write_lock_count": "google.protobuf.Int64Value",
"innodb_adaptive_hash_index_parts": "google.protobuf.Int64Value"
},
"mysql_config_8_4": {
"innodb_buffer_pool_size": "google.protobuf.Int64Value",
"max_connections": "google.protobuf.Int64Value",
"long_query_time": "google.protobuf.DoubleValue",
"audit_log": "google.protobuf.BoolValue",
"sql_mode": [
"SQLMode"
],
"max_allowed_packet": "google.protobuf.Int64Value",
"innodb_flush_log_at_trx_commit": "google.protobuf.Int64Value",
"innodb_lock_wait_timeout": "google.protobuf.Int64Value",
"transaction_isolation": "TransactionIsolation",
"innodb_print_all_deadlocks": "google.protobuf.BoolValue",
"net_read_timeout": "google.protobuf.Int64Value",
"net_write_timeout": "google.protobuf.Int64Value",
"group_concat_max_len": "google.protobuf.Int64Value",
"tmp_table_size": "google.protobuf.Int64Value",
"max_heap_table_size": "google.protobuf.Int64Value",
"default_time_zone": "string",
"character_set_server": "string",
"collation_server": "string",
"innodb_adaptive_hash_index": "google.protobuf.BoolValue",
"innodb_numa_interleave": "google.protobuf.BoolValue",
"innodb_log_buffer_size": "google.protobuf.Int64Value",
"innodb_log_file_size": "google.protobuf.Int64Value",
"innodb_io_capacity": "google.protobuf.Int64Value",
"innodb_io_capacity_max": "google.protobuf.Int64Value",
"innodb_read_io_threads": "google.protobuf.Int64Value",
"innodb_write_io_threads": "google.protobuf.Int64Value",
"innodb_purge_threads": "google.protobuf.Int64Value",
"innodb_thread_concurrency": "google.protobuf.Int64Value",
"innodb_temp_data_file_max_size": "google.protobuf.Int64Value",
"thread_cache_size": "google.protobuf.Int64Value",
"thread_stack": "google.protobuf.Int64Value",
"join_buffer_size": "google.protobuf.Int64Value",
"sort_buffer_size": "google.protobuf.Int64Value",
"table_definition_cache": "google.protobuf.Int64Value",
"table_open_cache": "google.protobuf.Int64Value",
"table_open_cache_instances": "google.protobuf.Int64Value",
"explicit_defaults_for_timestamp": "google.protobuf.BoolValue",
"auto_increment_increment": "google.protobuf.Int64Value",
"auto_increment_offset": "google.protobuf.Int64Value",
"sync_binlog": "google.protobuf.Int64Value",
"binlog_cache_size": "google.protobuf.Int64Value",
"binlog_group_commit_sync_delay": "google.protobuf.Int64Value",
"binlog_row_image": "BinlogRowImage",
"binlog_rows_query_log_events": "google.protobuf.BoolValue",
"rpl_semi_sync_master_wait_for_slave_count": "google.protobuf.Int64Value",
"slave_parallel_type": "SlaveParallelType",
"slave_parallel_workers": "google.protobuf.Int64Value",
"regexp_time_limit": "google.protobuf.Int64Value",
"mdb_preserve_binlog_bytes": "google.protobuf.Int64Value",
"interactive_timeout": "google.protobuf.Int64Value",
"wait_timeout": "google.protobuf.Int64Value",
"mdb_offline_mode_enable_lag": "google.protobuf.Int64Value",
"mdb_offline_mode_disable_lag": "google.protobuf.Int64Value",
"range_optimizer_max_mem_size": "google.protobuf.Int64Value",
"innodb_online_alter_log_max_size": "google.protobuf.Int64Value",
"innodb_ft_min_token_size": "google.protobuf.Int64Value",
"innodb_ft_max_token_size": "google.protobuf.Int64Value",
"lower_case_table_names": "google.protobuf.Int64Value",
"slow_query_log": "google.protobuf.BoolValue",
"slow_query_log_always_write_time": "google.protobuf.DoubleValue",
"log_slow_rate_type": "LogSlowRateType",
"log_slow_rate_limit": "google.protobuf.Int64Value",
"log_slow_sp_statements": "google.protobuf.BoolValue",
"log_slow_filter": [
"LogSlowFilterType"
],
"mdb_priority_choice_max_lag": "google.protobuf.Int64Value",
"innodb_page_size": "google.protobuf.Int64Value",
"max_sp_recursion_depth": "google.protobuf.Int64Value",
"innodb_compression_level": "google.protobuf.Int64Value",
"autocommit": "google.protobuf.BoolValue",
"innodb_status_output": "google.protobuf.BoolValue",
"innodb_strict_mode": "google.protobuf.BoolValue",
"innodb_print_lock_wait_timeout_info": "google.protobuf.BoolValue",
"log_error_verbosity": "google.protobuf.Int64Value",
"max_digest_length": "google.protobuf.Int64Value",
"lock_wait_timeout": "google.protobuf.Int64Value",
"max_prepared_stmt_count": "google.protobuf.Int64Value",
"optimizer_switch": "string",
"optimizer_search_depth": "google.protobuf.Int64Value",
"userstat": "google.protobuf.BoolValue",
"max_execution_time": "google.protobuf.Int64Value",
"audit_log_policy": "AuditLogPolicy",
"replication_sender_observe_commit_only": "google.protobuf.BoolValue",
"replication_optimize_for_static_plugin_config": "google.protobuf.BoolValue",
"innodb_lru_scan_depth": "google.protobuf.Int64Value",
"sql_require_primary_key": "google.protobuf.BoolValue",
"mdb_use_async_replication": "google.protobuf.BoolValue",
"mdb_async_allowed_lag": "google.protobuf.Int64Value",
"mdb_force_ssl": "google.protobuf.BoolValue",
"innodb_change_buffering": "InnodbChangeBuffering",
"max_write_lock_count": "google.protobuf.Int64Value",
"innodb_adaptive_hash_index_parts": "google.protobuf.Int64Value"
},
// end of the list of possible fields
"resources": {
"resource_preset_id": "string",
"disk_size": "int64",
"disk_type_id": "string"
},
"backup_window_start": "google.type.TimeOfDay",
"access": {
"data_lens": "bool",
"web_sql": "bool",
"data_transfer": "bool",
"yandex_query": "bool"
},
"performance_diagnostics": {
"enabled": "bool",
"sessions_sampling_interval": "int64",
"statements_sampling_interval": "int64"
},
"backup_retain_period_days": "google.protobuf.Int64Value",
"disk_size_autoscaling": {
"planned_usage_threshold": "int64",
"emergency_usage_threshold": "int64",
"disk_size_limit": "int64"
}
},
"host_specs": [
{
"zone_id": "string",
"subnet_id": "string",
"assign_public_ip": "bool",
"replication_source": "string",
"backup_priority": "int64",
"priority": "int64"
}
],
"network_id": "string",
"folder_id": "string",
"security_group_ids": [
"string"
],
"deletion_protection": "bool",
"host_group_ids": [
"string"
],
"maintenance_window": {
// Includes only one of the fields `anytime`, `weekly_maintenance_window`
"anytime": "AnytimeMaintenanceWindow",
"weekly_maintenance_window": {
"day": "WeekDay",
"hour": "int64"
}
// end of the list of possible fields
},
"disk_encryption_key_id": "google.protobuf.StringValue"
}
|
Field |
Description |
|
backup_id |
string Required field. ID of the backup to restore from. |
|
time |
Timestamp of the moment to which the MySQL cluster should be restored. |
|
name |
string Required field. Name of the new MySQL cluster the backup will be restored to. The name must be unique within the folder. Value must match the regular expression |
|
description |
string Description of the new cluster. The maximum string length in characters is 256. |
|
labels |
object (map<string, string>) Custom labels for the new cluster as The maximum string length in characters for each value is 63. The string length in characters for each key must be 1-63. Each key must match the regular expression |
|
environment |
enum Environment Deployment environment of the new cluster.
|
|
config_spec |
Configuration of the new cluster. |
|
host_specs[] |
Configuration of hosts in the new cluster. |
|
network_id |
string ID of the network to create the new cluster in. The maximum string length in characters is 50. |
|
folder_id |
string ID of the folder to create the new cluster in. The maximum string length in characters is 50. |
|
security_group_ids[] |
string List of security group IDs to apply to the new cluster. |
|
deletion_protection |
bool Deletion Protection inhibits deletion of the cluster |
|
host_group_ids[] |
string Host groups hosting VMs of the cluster. |
|
maintenance_window |
Window of maintenance operations. |
|
disk_encryption_key_id |
ID of the key to encrypt cluster disks. |
ConfigSpec
|
Field |
Description |
|
version |
string Version of MySQL used in the cluster. |
|
mysql_config_5_7 |
Configuration for a MySQL 5.7 cluster. Includes only one of the fields Cluster-wide MySQL configuration. |
|
mysql_config_8_0 |
Configuration for a MySQL 8.0 cluster. Includes only one of the fields Cluster-wide MySQL configuration. |
|
mysql_config_8_4 |
Configuration for a MySQL 8.4 cluster. Includes only one of the fields Cluster-wide MySQL configuration. |
|
resources |
Resource preset for the cluster hosts. |
|
backup_window_start |
Time to start the daily backup, in the UTC timezone. |
|
access |
Access policy for external services. |
|
performance_diagnostics |
Configuration of the performance diagnostics service. |
|
backup_retain_period_days |
Retention policy of automated backups. Acceptable values are 7 to 60, inclusive. |
|
disk_size_autoscaling |
Disk size autoscaling |
MysqlConfig5_7
Options and structure of MysqlConfig5_7 reflects MySQL 5.7 configuration file.
|
Field |
Description |
|
innodb_buffer_pool_size |
Size of the InnoDB buffer pool used for caching table and index data. The minimum value is 134217728. |
|
max_connections |
The maximum permitted number of simultaneous client connections. Acceptable values are 10 to 100000, inclusive. |
|
long_query_time |
Time that it takes to process a query before it is considered slow. Acceptable values are 0 to 3600, inclusive. |
|
general_log |
Enable writing of general query log of MySQL. |
|
audit_log |
Enable writing of audit log of MySQL. |
|
sql_mode[] |
enum SQLMode Server SQL mode of MySQL.
|
|
max_allowed_packet |
The maximum size in bytes of one packet. Acceptable values are 1048576 to 1073741824, inclusive. |
|
default_authentication_plugin |
enum AuthPlugin Authentication plugin used in the managed MySQL cluster.
|
|
innodb_flush_log_at_trx_commit |
Transaction log flush behaviour. Acceptable values are 1 to 2, inclusive. |
|
innodb_lock_wait_timeout |
Max time in seconds for a transaction to wait for a row lock. Acceptable values are 1 to 28800, inclusive. |
|
transaction_isolation |
enum TransactionIsolation Default transaction isolation level.
|
|
innodb_print_all_deadlocks |
Print information about deadlocks in error log. |
|
net_read_timeout |
The number of seconds to wait for more data from a connection before aborting the read. Acceptable values are 1 to 1200, inclusive. |
|
net_write_timeout |
The number of seconds to wait for a block to be written to a connection before aborting the write. Acceptable values are 1 to 1200, inclusive. |
|
group_concat_max_len |
The maximum permitted result length in bytes for the GROUP_CONCAT() function. Acceptable values are 4 to 33554432, inclusive. |
|
tmp_table_size |
The maximum size of internal in-memory temporary tables. Acceptable values are 1024 to 536870912, inclusive. |
|
max_heap_table_size |
This variable sets the maximum size to which user-created MEMORY tables are permitted to grow. Acceptable values are 16384 to 536870912, inclusive. |
|
default_time_zone |
string The servers default time zone. |
|
character_set_server |
string The servers default character set. |
|
collation_server |
string The server default collation. |
|
innodb_adaptive_hash_index |
Enables InnoDB adaptive hash index. |
|
innodb_numa_interleave |
Enables the NUMA interleave memory policy for allocation of the InnoDB buffer pool. |
|
innodb_log_buffer_size |
The size in bytes of the buffer that InnoDB uses to write to the log files on disk. Acceptable values are 1048576 to 268435456, inclusive. |
|
innodb_log_file_size |
The size in bytes of the single InnoDB Redo log file. Acceptable values are 268435456 to 8589934592, inclusive. |
|
innodb_io_capacity |
Limits IO available for InnoDB background tasks. Acceptable values are 100 to 100000, inclusive. |
|
innodb_io_capacity_max |
Limits IO available for InnoDB background tasks. Acceptable values are 100 to 100000, inclusive. |
|
innodb_read_io_threads |
The number of I/O threads for read operations in InnoDB. Acceptable values are 1 to 16, inclusive. |
|
innodb_write_io_threads |
The number of I/O threads for write operations in InnoDB. Acceptable values are 1 to 16, inclusive. |
|
innodb_purge_threads |
The number of background threads devoted to the InnoDB purge operation. Acceptable values are 1 to 16, inclusive. |
|
innodb_thread_concurrency |
Defines the maximum number of threads permitted inside of InnoDB. Acceptable values are 0 to 1000, inclusive. |
|
innodb_temp_data_file_max_size |
Limits the max size of InnoDB temp tablespace. Acceptable values are 1073741824 to 107374182400, inclusive. |
|
thread_cache_size |
A number of threads the server should cache for reuse. Acceptable values are 10 to 10000, inclusive. |
|
thread_stack |
The stack size for each thread. The default is large enough for normal operation. Acceptable values are 131072 to 16777216, inclusive. |
|
join_buffer_size |
The minimum size of the buffer that is used for plain index scans, range index scans, and joins that don't use indexes and thus perform full table scans. Acceptable values are 1024 to 16777216, inclusive. |
|
sort_buffer_size |
Each session that must perform a sort allocates a buffer of this size. Acceptable values are 1024 to 16777216, inclusive. |
|
table_definition_cache |
The number of table definitions that can be stored in the definition cache. Acceptable values are 400 to 524288, inclusive. |
|
table_open_cache |
The number of open tables for all threads. Acceptable values are 400 to 524288, inclusive. |
|
table_open_cache_instances |
The number of open tables cache instances. Acceptable values are 1 to 32, inclusive. |
|
explicit_defaults_for_timestamp |
Determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns. |
|
auto_increment_increment |
Can be used to control the operation of AUTO_INCREMENT columns. Acceptable values are 1 to 65535, inclusive. |
|
auto_increment_offset |
Can be used to control the operation of AUTO_INCREMENT columns. Acceptable values are 1 to 65535, inclusive. |
|
sync_binlog |
Controls how often the MySQL server synchronizes the binary log to disk. Acceptable values are 0 to 4096, inclusive. |
|
binlog_cache_size |
The size of the cache to hold changes to the binary log during a transaction. Acceptable values are 4096 to 67108864, inclusive. |
|
binlog_group_commit_sync_delay |
Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk. Acceptable values are 0 to 50000, inclusive. |
|
binlog_row_image |
enum BinlogRowImage For MySQL row-based replication, this variable determines how row images are written to the binary log.
|
|
binlog_rows_query_log_events |
When enabled, it causes the server to write informational log events such as row query log events into its binary log. |
|
rpl_semi_sync_master_wait_for_slave_count |
The number of replica acknowledgments the source must receive per transaction before proceeding. The minimum value is 1. |
|
slave_parallel_type |
enum SlaveParallelType When using a multi-threaded replica, this variable specifies the policy used to decide which transactions are allowed to execute in parallel on the replica.
|
|
slave_parallel_workers |
Sets the number of applier threads for executing replication transactions in parallel. Acceptable values are 0 to 64, inclusive. |
|
mdb_preserve_binlog_bytes |
The size of the binary log to hold. Acceptable values are 1073741824 to 1099511627776, inclusive. |
|
interactive_timeout |
The number of seconds the server waits for activity on an interactive connection before closing it. Acceptable values are 600 to 86400, inclusive. |
|
wait_timeout |
The number of seconds the server waits for activity on a noninteractive connection before closing it. Acceptable values are 600 to 86400, inclusive. |
|
mdb_offline_mode_enable_lag |
Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = ON' to prevent users from reading stale data. Acceptable values are 30 to 86400, inclusive. |
|
mdb_offline_mode_disable_lag |
Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = OFF'. Acceptable values are 10 to 86400, inclusive. |
|
range_optimizer_max_mem_size |
The limit on memory consumption for the range optimizer. Acceptable values are 60 to 268435456, inclusive. |
|
innodb_online_alter_log_max_size |
The limit in bytes on the size of the temporary log files used during online DDL operations Acceptable values are 65536 to 107374182400, inclusive. |
|
innodb_ft_min_token_size |
Minimum length of words that are stored in an InnoDB FULLTEXT index Acceptable values are 0 to 16, inclusive. |
|
innodb_ft_max_token_size |
Maximum length of words that are stored in an InnoDB FULLTEXT index Acceptable values are 10 to 84, inclusive. |
|
lower_case_table_names |
Table names storage and comparison strategy Acceptable values are 0 to 1, inclusive. |
|
show_compatibility_56 |
Manages MySQL 5.6 compatibility |
|
slow_query_log |
Manages slow query log. |
|
slow_query_log_always_write_time |
Query execution time, after which query to be logged unconditionally, that is, `log_slow_rate_limit`` will not apply to it. Acceptable values are 0 to 3600, inclusive. |
|
log_slow_rate_type |
enum LogSlowRateType Specifies slow log granularity for
|
|
log_slow_rate_limit |
Specifies what fraction of session/query should be logged. Logging is enabled for every nth session/query. Acceptable values are 1 to 1000, inclusive. |
|
log_slow_sp_statements |
When TRUE, statements executed by stored procedures are logged to the slow log. |
|
log_slow_filter[] |
enum LogSlowFilterType Filters the slow log by the query's execution plan.
|
|
mdb_priority_choice_max_lag |
Replication lag threshold (seconds) which allows replica to be promoted to master while executing "switchover from". Acceptable values are 0 to 86400, inclusive. |
|
innodb_page_size |
Specifies the page size for InnoDB tablespaces. Acceptable values are 4096 to 65536, inclusive. |
|
max_sp_recursion_depth |
The number of times that any given stored procedure may be called recursively. Acceptable values are 0 to 255, inclusive. |
|
innodb_compression_level |
The level of zlib compression to use for InnoDB compressed tables and indexes. Acceptable values are 0 to 9, inclusive. |
|
binlog_transaction_dependency_tracking |
enum BinlogTransactionDependencyTracking Specifies how the source mysqld generates the dependency information that it writes in the binary log to help replicas determine which transactions can be executed in parallel.
|
|
autocommit |
Config specific will be all changes to a table take effect immediately or you must use COMMIT to accept a transaction or ROLLBACK to cancel it. |
|
innodb_status_output |
Enables or disables periodic output for the standard InnoDB Monitor. |
|
innodb_strict_mode |
When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings when checking for invalid or incompatible table options. |
|
innodb_print_lock_wait_timeout_info |
Makes InnoDB to write information about all lock wait timeout errors into the log file. |
|
log_error_verbosity |
System variable specifies the verbosity for handling events intended for the error log Acceptable values are 2 to 3, inclusive. |
|
max_digest_length |
The maximum number of bytes of memory reserved per session for computation of normalized statement digests. Acceptable values are 1024 to 1048576, inclusive. |
|
query_cache_limit |
Do not cache results that are larger than this number of bytes. Acceptable values are 0 to 4294967295, inclusive. |
|
query_cache_size |
The amount of memory allocated for caching query results. |
|
query_cache_type |
Set the query cache type. Acceptable values are 0 to 2, inclusive. |
|
lock_wait_timeout |
This variable specifies the timeout in seconds for attempts to acquire metadata locks Acceptable values are 1 to 31536000, inclusive. |
|
max_prepared_stmt_count |
This variable limits the total number of prepared statements in the server. Acceptable values are 0 to 1048576, inclusive. |
|
optimizer_switch |
string The system variable enables control over optimizer behavior. |
|
optimizer_search_depth |
The maximum depth of search performed by the query optimizer Acceptable values are 0 to 62, inclusive. |
|
query_response_time_stats |
Enables and disables collection of query times |
|
userstat |
Enables or disables collection of statistics |
|
max_execution_time |
The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled. Acceptable values are 0 to 4294967295, inclusive. |
|
audit_log_policy |
enum AuditLogPolicy The policy controlling how the audit log plugin writes events to its log file
|
|
innodb_lru_scan_depth |
A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool Acceptable values are 100 to 4294967295, inclusive. |
|
mdb_force_ssl |
Force ssl on all hosts (require_secure_transport) |
|
innodb_change_buffering |
enum InnodbChangeBuffering An optimization for change buffering
|
|
max_write_lock_count |
Permit some pending read lock requests interval The minimum value is 1. |
|
innodb_adaptive_hash_index_parts |
Partitions the adaptive hash index search system. Acceptable values are 1 to 512, inclusive. |
MysqlConfig8_0
Options and structure of MysqlConfig8_0 reflects MySQL 8.0 configuration file.
|
Field |
Description |
|
innodb_buffer_pool_size |
Size of the InnoDB buffer pool used for caching table and index data. The minimum value is 134217728. |
|
max_connections |
The maximum permitted number of simultaneous client connections. Acceptable values are 10 to 100000, inclusive. |
|
long_query_time |
Time that it takes to process a query before it is considered slow. Acceptable values are 0 to 3600, inclusive. |
|
general_log |
Enable writing of general query log of MySQL. |
|
audit_log |
Enable writing of audit log of MySQL. |
|
sql_mode[] |
enum SQLMode Server SQL mode of MySQL.
|
|
max_allowed_packet |
The maximum size in bytes of one packet. Acceptable values are 1048576 to 1073741824, inclusive. |
|
default_authentication_plugin |
enum AuthPlugin Authentication plugin used in the managed MySQL cluster.
|
|
innodb_flush_log_at_trx_commit |
Transaction log flush behaviour. Acceptable values are 1 to 2, inclusive. |
|
innodb_lock_wait_timeout |
Max time in seconds for a transaction to wait for a row lock. Acceptable values are 1 to 28800, inclusive. |
|
transaction_isolation |
enum TransactionIsolation Default transaction isolation level.
|
|
innodb_print_all_deadlocks |
Print information about deadlocks in error log. |
|
net_read_timeout |
The number of seconds to wait for more data from a connection before aborting the read. Acceptable values are 1 to 1200, inclusive. |
|
net_write_timeout |
The number of seconds to wait for a block to be written to a connection before aborting the write. Acceptable values are 1 to 1200, inclusive. |
|
group_concat_max_len |
The maximum permitted result length in bytes for the GROUP_CONCAT() function. Acceptable values are 4 to 33554432, inclusive. |
|
tmp_table_size |
The maximum size of internal in-memory temporary tables. Acceptable values are 1024 to 536870912, inclusive. |
|
max_heap_table_size |
This variable sets the maximum size to which user-created MEMORY tables are permitted to grow. Acceptable values are 16384 to 536870912, inclusive. |
|
default_time_zone |
string The servers default time zone. |
|
character_set_server |
string The servers default character set. |
|
collation_server |
string The server default collation. |
|
innodb_adaptive_hash_index |
Enables InnoDB adaptive hash index. |
|
innodb_numa_interleave |
Enables the NUMA interleave memory policy for allocation of the InnoDB buffer pool. |
|
innodb_log_buffer_size |
The size in bytes of the buffer that InnoDB uses to write to the log files on disk. Acceptable values are 1048576 to 268435456, inclusive. |
|
innodb_log_file_size |
The size in bytes of the single InnoDB Redo log file. Acceptable values are 268435456 to 8589934592, inclusive. |
|
innodb_io_capacity |
Limits IO available for InnoDB background tasks. Acceptable values are 100 to 100000, inclusive. |
|
innodb_io_capacity_max |
Limits IO available for InnoDB background tasks. Acceptable values are 100 to 100000, inclusive. |
|
innodb_read_io_threads |
The number of I/O threads for read operations in InnoDB. Acceptable values are 1 to 16, inclusive. |
|
innodb_write_io_threads |
The number of I/O threads for write operations in InnoDB. Acceptable values are 1 to 16, inclusive. |
|
innodb_purge_threads |
The number of background threads devoted to the InnoDB purge operation. Acceptable values are 1 to 16, inclusive. |
|
innodb_thread_concurrency |
Defines the maximum number of threads permitted inside of InnoDB. Acceptable values are 0 to 1000, inclusive. |
|
innodb_temp_data_file_max_size |
Limits the max size of InnoDB temp tablespace. Acceptable values are 1073741824 to 107374182400, inclusive. |
|
thread_cache_size |
How many threads the server should cache for reuse. Acceptable values are 10 to 10000, inclusive. |
|
thread_stack |
The stack size for each thread. The default is large enough for normal operation. Acceptable values are 131072 to 16777216, inclusive. |
|
join_buffer_size |
The minimum size of the buffer that is used for plain index scans, range index scans, and joins that don't use indexes and thus perform full table scans. Acceptable values are 1024 to 16777216, inclusive. |
|
sort_buffer_size |
Each session that must perform a sort allocates a buffer of this size. Acceptable values are 1024 to 16777216, inclusive. |
|
table_definition_cache |
The number of table definitions that can be stored in the definition cache. Acceptable values are 400 to 524288, inclusive. |
|
table_open_cache |
The number of open tables for all threads. Acceptable values are 400 to 524288, inclusive. |
|
table_open_cache_instances |
The number of open tables cache instances. Acceptable values are 1 to 32, inclusive. |
|
explicit_defaults_for_timestamp |
Determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns. |
|
auto_increment_increment |
Can be used to control the operation of AUTO_INCREMENT columns. Acceptable values are 1 to 65535, inclusive. |
|
auto_increment_offset |
Can be used to control the operation of AUTO_INCREMENT columns. Acceptable values are 1 to 65535, inclusive. |
|
sync_binlog |
Controls how often the MySQL server synchronizes the binary log to disk. Acceptable values are 0 to 4096, inclusive. |
|
binlog_cache_size |
The size of the cache to hold changes to the binary log during a transaction. Acceptable values are 4096 to 67108864, inclusive. |
|
binlog_group_commit_sync_delay |
Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk. Acceptable values are 0 to 50000, inclusive. |
|
binlog_row_image |
enum BinlogRowImage For MySQL row-based replication, this variable determines how row images are written to the binary log.
|
|
binlog_rows_query_log_events |
When enabled, it causes the server to write informational log events such as row query log events into its binary log. |
|
rpl_semi_sync_master_wait_for_slave_count |
The number of replica acknowledgments the source must receive per transaction before proceeding. The minimum value is 1. |
|
slave_parallel_type |
enum SlaveParallelType When using a multi-threaded replica, this variable specifies the policy used to decide which transactions are allowed to execute in parallel on the replica.
|
|
slave_parallel_workers |
Sets the number of applier threads for executing replication transactions in parallel. Acceptable values are 0 to 64, inclusive. |
|
regexp_time_limit |
The time limit for regular expression matching operations performed by REGEXP_LIKE and similar functions. Acceptable values are 0 to 1048576, inclusive. |
|
mdb_preserve_binlog_bytes |
The size of the binary log to hold. Acceptable values are 1073741824 to 1099511627776, inclusive. |
|
interactive_timeout |
The number of seconds the server waits for activity on an interactive connection before closing it. Acceptable values are 600 to 86400, inclusive. |
|
wait_timeout |
The number of seconds the server waits for activity on a noninteractive connection before closing it. Acceptable values are 600 to 86400, inclusive. |
|
mdb_offline_mode_enable_lag |
Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = ON' to prevent users from reading stale data. Acceptable values are 30 to 86400, inclusive. |
|
mdb_offline_mode_disable_lag |
Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = OFF'. Acceptable values are 10 to 86400, inclusive. |
|
range_optimizer_max_mem_size |
The limit on memory consumption for the range optimizer. Acceptable values are 60 to 268435456, inclusive. |
|
innodb_online_alter_log_max_size |
The limit in bytes on the size of the temporary log files used during online DDL operations Acceptable values are 65536 to 107374182400, inclusive. |
|
innodb_ft_min_token_size |
Minimum length of words that are stored in an InnoDB FULLTEXT index Acceptable values are 0 to 16, inclusive. |
|
innodb_ft_max_token_size |
Maximum length of words that are stored in an InnoDB FULLTEXT index Acceptable values are 10 to 84, inclusive. |
|
lower_case_table_names |
Table names storage and comparison strategy Acceptable values are 0 to 1, inclusive. |
|
slow_query_log |
Manages slow query log. |
|
slow_query_log_always_write_time |
Query execution time, after which query to be logged unconditionally, that is, Acceptable values are 0 to 3600, inclusive. |
|
log_slow_rate_type |
enum LogSlowRateType Specifies slow log granularity for
|
|
log_slow_rate_limit |
Specifies what fraction of session/query should be logged. Logging is enabled for every nth session/query. Acceptable values are 1 to 1000, inclusive. |
|
log_slow_sp_statements |
When TRUE, statements executed by stored procedures are logged to the slow log. |
|
log_slow_filter[] |
enum LogSlowFilterType Filters the slow log by the query's execution plan.
|
|
mdb_priority_choice_max_lag |
Replication lag threshold (seconds) which allows replica to be promoted to master while executing "switchover from". Acceptable values are 0 to 86400, inclusive. |
|
innodb_page_size |
Specifies the page size for InnoDB tablespaces. Acceptable values are 4096 to 65536, inclusive. |
|
max_sp_recursion_depth |
The number of times that any given stored procedure may be called recursively. Acceptable values are 0 to 255, inclusive. |
|
innodb_compression_level |
The level of zlib compression to use for InnoDB compressed tables and indexes. Acceptable values are 0 to 9, inclusive. |
|
binlog_transaction_dependency_tracking |
enum BinlogTransactionDependencyTracking Specifies how the source mysqld generates the dependency information that it writes in the binary log to help replicas determine which transactions can be executed in parallel.
|
|
autocommit |
Config specific will be all changes to a table take effect immediately or you must use COMMIT to accept a transaction or ROLLBACK to cancel it. |
|
innodb_status_output |
Enables or disables periodic output for the standard InnoDB Monitor. |
|
innodb_strict_mode |
When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings when checking for invalid or incompatible table options. |
|
innodb_print_lock_wait_timeout_info |
Makes InnoDB to write information about all lock wait timeout errors into the log file. |
|
log_error_verbosity |
System variable specifies the verbosity for handling events intended for the error log Acceptable values are 2 to 3, inclusive. |
|
max_digest_length |
The maximum number of bytes of memory reserved per session for computation of normalized statement digests. Acceptable values are 1024 to 1048576, inclusive. |
|
lock_wait_timeout |
This variable specifies the timeout in seconds for attempts to acquire metadata locks Acceptable values are 1 to 31536000, inclusive. |
|
max_prepared_stmt_count |
This variable limits the total number of prepared statements in the server. Acceptable values are 0 to 4194304, inclusive. |
|
optimizer_switch |
string The system variable enables control over optimizer behavior. |
|
optimizer_search_depth |
The maximum depth of search performed by the query optimizer Acceptable values are 0 to 62, inclusive. |
|
userstat |
Enables or disables collection of statistics |
|
max_execution_time |
The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled. Acceptable values are 0 to 4294967295, inclusive. |
|
audit_log_policy |
enum AuditLogPolicy The policy controlling how the audit log plugin writes events to its log file
|
|
replication_sender_observe_commit_only |
Limit callbacks to improve performance for semisynchronous replication |
|
replication_optimize_for_static_plugin_config |
Use shared locks, and avoid unnecessary lock acquisitions, to improve performance for semisynchronous replication |
|
innodb_lru_scan_depth |
A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool Acceptable values are 100 to 4294967295, inclusive. |
|
sql_require_primary_key |
Whether statements that create new tables or alter the structure of existing tables enforce the requirement that tables have a primary key |
|
mdb_force_ssl |
Force ssl on all hosts (require_secure_transport) |
|
innodb_change_buffering |
enum InnodbChangeBuffering An optimization for change buffering
|
|
max_write_lock_count |
Permit some pending read lock requests interval The minimum value is 1. |
|
innodb_adaptive_hash_index_parts |
Partitions the adaptive hash index search system. Acceptable values are 1 to 512, inclusive. |
MysqlConfig8_4
Options and structure of MysqlConfig8_4 reflects MySQL 8.4 configuration file
|
Field |
Description |
|
innodb_buffer_pool_size |
Size of the InnoDB buffer pool used for caching table and index data. The minimum value is 134217728. |
|
max_connections |
The maximum permitted number of simultaneous client connections. Acceptable values are 10 to 100000, inclusive. |
|
long_query_time |
Time that it takes to process a query before it is considered slow. Acceptable values are 0 to 3600, inclusive. |
|
audit_log |
Enable writing of audit log of MySQL. |
|
sql_mode[] |
enum SQLMode Server SQL mode of MySQL.
|
|
max_allowed_packet |
The maximum size in bytes of one packet. Acceptable values are 1048576 to 1073741824, inclusive. |
|
innodb_flush_log_at_trx_commit |
Transaction log flush behaviour. Acceptable values are 1 to 2, inclusive. |
|
innodb_lock_wait_timeout |
Max time in seconds for a transaction to wait for a row lock Acceptable values are 1 to 28800, inclusive. |
|
transaction_isolation |
enum TransactionIsolation Default transaction isolation level.
|
|
innodb_print_all_deadlocks |
Print information about deadlocks in error log |
|
net_read_timeout |
The number of seconds to wait for more data from a connection before aborting the read. Acceptable values are 1 to 1200, inclusive. |
|
net_write_timeout |
The number of seconds to wait for a block to be written to a connection before aborting the write. Acceptable values are 1 to 1200, inclusive. |
|
group_concat_max_len |
The maximum permitted result length in bytes for the GROUP_CONCAT() function. Acceptable values are 4 to 33554432, inclusive. |
|
tmp_table_size |
The maximum size of internal in-memory temporary tables. Acceptable values are 1024 to 536870912, inclusive. |
|
max_heap_table_size |
This variable sets the maximum size to which user-created MEMORY tables are permitted to grow. Acceptable values are 16384 to 536870912, inclusive. |
|
default_time_zone |
string The servers default time zone. |
|
character_set_server |
string The servers default character set. |
|
collation_server |
string Set the default server collation. |
|
innodb_adaptive_hash_index |
Enables Innodb adaptive hash index |
|
innodb_numa_interleave |
Enables the NUMA interleave memory policy for allocation of the InnoDB buffer pool. |
|
innodb_log_buffer_size |
The size in bytes of the buffer that InnoDB uses to write to the log files on disk. Acceptable values are 1048576 to 268435456, inclusive. |
|
innodb_log_file_size |
The size in bytes of the single Innodb Redo log file. Acceptable values are 268435456 to 8589934592, inclusive. |
|
innodb_io_capacity |
Limits IO available for InnoDB background tasks Acceptable values are 100 to 100000, inclusive. |
|
innodb_io_capacity_max |
Limits IO available for InnoDB background tasks Acceptable values are 100 to 100000, inclusive. |
|
innodb_read_io_threads |
The number of I/O threads for read operations in InnoDB. Acceptable values are 1 to 16, inclusive. |
|
innodb_write_io_threads |
The number of I/O threads for write operations in InnoDB. Acceptable values are 1 to 16, inclusive. |
|
innodb_purge_threads |
The number of background threads devoted to the InnoDB purge operation. Acceptable values are 1 to 16, inclusive. |
|
innodb_thread_concurrency |
Defines the maximum number of threads permitted inside of InnoDB. Acceptable values are 0 to 1000, inclusive. |
|
innodb_temp_data_file_max_size |
Limits the max size of InnoDB temp tablespace Acceptable values are 1073741824 to 107374182400, inclusive. |
|
thread_cache_size |
How many threads the server should cache for reuse. Acceptable values are 10 to 10000, inclusive. |
|
thread_stack |
The stack size for each thread. The default is large enough for normal operation. Acceptable values are 131072 to 16777216, inclusive. |
|
join_buffer_size |
The minimum size of the buffer that is used for plain index scans, range index scans, and joins that don't use indexes and thus perform full table scans. Acceptable values are 1024 to 16777216, inclusive. |
|
sort_buffer_size |
Each session that must perform a sort allocates a buffer of this size. Acceptable values are 1024 to 16777216, inclusive. |
|
table_definition_cache |
The number of table definitions that can be stored in the definition cache. Acceptable values are 400 to 524288, inclusive. |
|
table_open_cache |
The number of open tables for all threads. Acceptable values are 400 to 524288, inclusive. |
|
table_open_cache_instances |
The number of open tables cache instances. Acceptable values are 1 to 32, inclusive. |
|
explicit_defaults_for_timestamp |
This system variable determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns. |
|
auto_increment_increment |
Can be used to control the operation of AUTO_INCREMENT columns. Acceptable values are 1 to 65535, inclusive. |
|
auto_increment_offset |
Can be used to control the operation of AUTO_INCREMENT columns. Acceptable values are 1 to 65535, inclusive. |
|
sync_binlog |
Controls how often the MySQL server synchronizes the binary log to disk. Acceptable values are 0 to 4096, inclusive. |
|
binlog_cache_size |
The size of the cache to hold changes to the binary log during a transaction. Acceptable values are 4096 to 67108864, inclusive. |
|
binlog_group_commit_sync_delay |
Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk. Acceptable values are 0 to 50000, inclusive. |
|
binlog_row_image |
enum BinlogRowImage For MySQL row-based replication, this variable determines how row images are written to the binary log.
|
|
binlog_rows_query_log_events |
When enabled, it causes the server to write informational log events such as row query log events into its binary log. |
|
rpl_semi_sync_master_wait_for_slave_count |
The number of replica acknowledgments the source must receive per transaction before proceeding. The minimum value is 1. |
|
slave_parallel_type |
enum SlaveParallelType When using a multithreaded replica, this variable specifies the policy used to decide which transactions are allowed to execute in parallel on the replica.
|
|
slave_parallel_workers |
Sets the number of applier threads for executing replication transactions in parallel. Acceptable values are 0 to 64, inclusive. |
|
regexp_time_limit |
The time limit for regular expression matching operations performed by REGEXP_LIKE and similar functions Acceptable values are 0 to 1048576, inclusive. |
|
mdb_preserve_binlog_bytes |
The size of the binary log to hold. Acceptable values are 1073741824 to 1099511627776, inclusive. |
|
interactive_timeout |
The number of seconds the server waits for activity on an interactive connection before closing it. Acceptable values are 600 to 86400, inclusive. |
|
wait_timeout |
The number of seconds the server waits for activity on a noninteractive connection before closing it. Acceptable values are 600 to 86400, inclusive. |
|
mdb_offline_mode_enable_lag |
Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = ON' to prevent users from reading stale data. Acceptable values are 30 to 86400, inclusive. |
|
mdb_offline_mode_disable_lag |
Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = OFF'. Acceptable values are 10 to 86400, inclusive. |
|
range_optimizer_max_mem_size |
The limit on memory consumption for the range optimizer. Acceptable values are 60 to 268435456, inclusive. |
|
innodb_online_alter_log_max_size |
The limit in bytes on the size of the temporary log files used during online DDL operations Acceptable values are 65536 to 107374182400, inclusive. |
|
innodb_ft_min_token_size |
Minimum length of words that are stored in an InnoDB FULLTEXT index Acceptable values are 0 to 16, inclusive. |
|
innodb_ft_max_token_size |
Maximum length of words that are stored in an InnoDB FULLTEXT index Acceptable values are 10 to 84, inclusive. |
|
lower_case_table_names |
Table names storage and comparison strategy Acceptable values are 0 to 1, inclusive. |
|
slow_query_log |
Manages slow query log |
|
slow_query_log_always_write_time |
Query execution time, after which query to be logged unconditionally, that is, log_slow_rate_limit will not apply to it Acceptable values are 0 to 3600, inclusive. |
|
log_slow_rate_type |
enum LogSlowRateType Specifies slow log granularity for log_slow_rate_limit: QUERY or SESSION
|
|
log_slow_rate_limit |
Specifies what fraction of session/query should be logged. Logging is enabled for every nth session/query. Acceptable values are 1 to 1000, inclusive. |
|
log_slow_sp_statements |
When TRUE, statements executed by stored procedures are logged to the slow log |
|
log_slow_filter[] |
enum LogSlowFilterType Filters the slow log by the query's execution plan
|
|
mdb_priority_choice_max_lag |
Replication lag threshold (seconds) which allows replica to be promoted to master while executing "switchover from". Acceptable values are 0 to 86400, inclusive. |
|
innodb_page_size |
Specifies the page size for InnoDB tablespaces. Acceptable values are 4096 to 65536, inclusive. |
|
max_sp_recursion_depth |
The number of times that any given stored procedure may be called recursively. Acceptable values are 0 to 255, inclusive. |
|
innodb_compression_level |
The level of zlib compression to use for InnoDB compressed tables and indexes. Acceptable values are 0 to 9, inclusive. |
|
autocommit |
Config specific will be all changes to a table take effect immediately or you must use COMMIT to accept a transaction or ROLLBACK to cancel it. |
|
innodb_status_output |
Enables or disables periodic output for the standard InnoDB Monitor. |
|
innodb_strict_mode |
When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings when checking for invalid or incompatible table options. |
|
innodb_print_lock_wait_timeout_info |
Makes InnoDB to write information about all lock wait timeout errors into the log file. |
|
log_error_verbosity |
System variable specifies the verbosity for handling events intended for the error log Acceptable values are 2 to 3, inclusive. |
|
max_digest_length |
The maximum number of bytes of memory reserved per session for computation of normalized statement digests. Acceptable values are 1024 to 1048576, inclusive. |
|
lock_wait_timeout |
This variable specifies the timeout in seconds for attempts to acquire metadata locks Acceptable values are 1 to 31536000, inclusive. |
|
max_prepared_stmt_count |
This variable limits the total number of prepared statements in the server. Acceptable values are 0 to 4194304, inclusive. |
|
optimizer_switch |
string The system variable enables control over optimizer behavior. |
|
optimizer_search_depth |
The maximum depth of search performed by the query optimizer Acceptable values are 0 to 62, inclusive. |
|
userstat |
Enables or disables collection of statistics |
|
max_execution_time |
The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled. Acceptable values are 0 to 4294967295, inclusive. |
|
audit_log_policy |
enum AuditLogPolicy The policy controlling how the audit log plugin writes events to its log file
|
|
replication_sender_observe_commit_only |
Limit callbacks to improve performance for semisynchronous replication |
|
replication_optimize_for_static_plugin_config |
Use shared locks, and avoid unnecessary lock acquisitions, to improve performance for semisynchronous replication |
|
innodb_lru_scan_depth |
A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool Acceptable values are 100 to 4294967295, inclusive. |
|
sql_require_primary_key |
Whether statements that create new tables or alter the structure of existing tables enforce the requirement that tables have a primary key |
|
mdb_use_async_replication |
Enable async replication |
|
mdb_async_allowed_lag |
Async replication allowed lag (seconds) Acceptable values are 0 to 86400, inclusive. |
|
mdb_force_ssl |
Force ssl on all hosts (require_secure_transport) |
|
innodb_change_buffering |
enum InnodbChangeBuffering An optimization for change buffering
|
|
max_write_lock_count |
Permit some pending read lock requests interval The minimum value is 1. |
|
innodb_adaptive_hash_index_parts |
Partitions the adaptive hash index search system. Acceptable values are 1 to 512, inclusive. |
Resources
Cluster resource preset.
|
Field |
Description |
|
resource_preset_id |
string ID of the resource preset that defines available computational resources (vCPU, RAM, etc.) for a cluster host. |
|
disk_size |
int64 Volume of the storage (for each cluster host, in bytes). |
|
disk_type_id |
string Type of the storage.
|
Access
|
Field |
Description |
|
data_lens |
bool Allows access from DataLens. |
|
web_sql |
bool Allows SQL queries to the cluster databases from management console. |
|
data_transfer |
bool Allow access for DataTransfer. |
|
yandex_query |
bool Allow access for YandexQuery. |
PerformanceDiagnostics
|
Field |
Description |
|
enabled |
bool Flag that shows if performance statistics gathering is enabled for the cluster. |
|
sessions_sampling_interval |
int64 Interval (in seconds) for Acceptable values are 1 to 86400, inclusive. |
|
statements_sampling_interval |
int64 Interval (in seconds) for Acceptable values are 1 to 86400, inclusive. |
DiskSizeAutoscaling
|
Field |
Description |
|
planned_usage_threshold |
int64 Amount of used storage for automatic disk scaling in the maintenance window, 0 means disabled, in percent. Acceptable values are 0 to 100, inclusive. |
|
emergency_usage_threshold |
int64 Amount of used storage for immediately automatic disk scaling, 0 means disabled, in percent. Acceptable values are 0 to 100, inclusive. |
|
disk_size_limit |
int64 Limit on how large the storage for database instances can automatically grow, in bytes. |
HostSpec
|
Field |
Description |
|
zone_id |
string ID of the availability zone where the host resides. The maximum string length in characters is 50. |
|
subnet_id |
string ID of the subnet to assign to the host. The maximum string length in characters is 50. |
|
assign_public_ip |
bool Option that enables public IP address for the host so that the host can be accessed from the internet.
|
|
replication_source |
string Host.name of the host to be used as the replication source (for cascading replication). |
|
backup_priority |
int64 Host backup priority Acceptable values are 0 to 100, inclusive. |
|
priority |
int64 Host master promotion priority Acceptable values are 0 to 100, inclusive. |
MaintenanceWindow
Configuration of a maintenance window in a MySQL cluster.
|
Field |
Description |
|
anytime |
Maintenance operation can be scheduled anytime. Includes only one of the fields The maintenance policy in effect. |
|
weekly_maintenance_window |
Maintenance operation can be scheduled on a weekly basis. Includes only one of the fields The maintenance policy in effect. |
AnytimeMaintenanceWindow
|
Field |
Description |
|
Empty |
|
WeeklyMaintenanceWindow
Weelky maintenance window settings.
|
Field |
Description |
|
day |
enum WeekDay Day of the week (in
|
|
hour |
int64 Hour of the day in UTC (in Acceptable values are 1 to 24, inclusive. |
operation.Operation
{
"id": "string",
"description": "string",
"created_at": "google.protobuf.Timestamp",
"created_by": "string",
"modified_at": "google.protobuf.Timestamp",
"done": "bool",
"metadata": "google.protobuf.Any",
// Includes only one of the fields `error`, `response`
"error": "google.rpc.Status",
"response": "google.protobuf.Any"
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
|
Field |
Description |
|
id |
string ID of the operation. |
|
description |
string Description of the operation. 0-256 characters long. |
|
created_at |
Creation timestamp. |
|
created_by |
string ID of the user or service account who initiated the operation. |
|
modified_at |
The time when the Operation resource was last modified. |
|
done |
bool If the value is |
|
metadata |
Service-specific metadata associated with the operation. |
|
error |
The error result of the operation in case of failure or cancellation. Includes only one of the fields The operation result. |
|
response |
The normal response of the operation in case of success. Includes only one of the fields The operation result. |