Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Managed Service for MySQL®
  • Getting started
  • Access management
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • Start
        • Stop
        • Move
        • Backup
        • Restore
        • RescheduleMaintenance
        • StartFailover
        • ListLogs
        • StreamLogs
        • ListOperations
        • ListBackups
        • ListHosts
        • AddHosts
        • UpdateHosts
        • DeleteHosts
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • gRPC request
  • StartClusterFailoverRequest
  • operation.Operation
  • StartClusterFailoverMetadata
  • Cluster
  • Monitoring
  • ClusterConfig
  • MysqlConfigSet5_7
  • MysqlConfig5_7
  • MysqlConfigSet8_0
  • MysqlConfig8_0
  • Resources
  • Access
  • PerformanceDiagnostics
  • MaintenanceWindow
  • AnytimeMaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation
  1. API reference
  2. gRPC
  3. Cluster
  4. StartFailover

Managed Service for MySQL API, gRPC: ClusterService.StartFailover

Written by
Yandex Cloud
Improved by
Tania L.
Updated at April 18, 2025
  • gRPC request
  • StartClusterFailoverRequest
  • operation.Operation
  • StartClusterFailoverMetadata
  • Cluster
  • Monitoring
  • ClusterConfig
  • MysqlConfigSet5_7
  • MysqlConfig5_7
  • MysqlConfigSet8_0
  • MysqlConfig8_0
  • Resources
  • Access
  • PerformanceDiagnostics
  • MaintenanceWindow
  • AnytimeMaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation

Starts a manual failover for a cluster.

gRPC requestgRPC request

rpc StartFailover (StartClusterFailoverRequest) returns (operation.Operation)

StartClusterFailoverRequestStartClusterFailoverRequest

{
  "cluster_id": "string",
  "host_name": "string"
}

Field

Description

cluster_id

string

Required field. ID of the cluster to start failover for.

To get this ID, make a ClusterService.List request.

host_name

string

Host name to switch master role to.
If not provided, then the master role is switched to the most up-to-date replica host.

To get this name, make a ClusterService.ListHosts request.

operation.Operationoperation.Operation

{
  "id": "string",
  "description": "string",
  "created_at": "google.protobuf.Timestamp",
  "created_by": "string",
  "modified_at": "google.protobuf.Timestamp",
  "done": "bool",
  "metadata": {
    "cluster_id": "string"
  },
  // Includes only one of the fields `error`, `response`
  "error": "google.rpc.Status",
  "response": {
    "id": "string",
    "folder_id": "string",
    "created_at": "google.protobuf.Timestamp",
    "name": "string",
    "description": "string",
    "labels": "map<string, string>",
    "environment": "Environment",
    "monitoring": [
      {
        "name": "string",
        "description": "string",
        "link": "string"
      }
    ],
    "config": {
      "version": "string",
      // Includes only one of the fields `mysql_config_5_7`, `mysql_config_8_0`
      "mysql_config_5_7": {
        "effective_config": {
          "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",
          "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",
          "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",
          "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"
        },
        "user_config": {
          "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",
          "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",
          "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",
          "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"
        },
        "default_config": {
          "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",
          "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",
          "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",
          "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"
        }
      },
      "mysql_config_8_0": {
        "effective_config": {
          "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",
          "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",
          "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",
          "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"
        },
        "user_config": {
          "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",
          "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",
          "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",
          "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"
        },
        "default_config": {
          "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",
          "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",
          "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",
          "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"
        }
      },
      // 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"
      },
      "performance_diagnostics": {
        "enabled": "bool",
        "sessions_sampling_interval": "int64",
        "statements_sampling_interval": "int64"
      },
      "backup_retain_period_days": "google.protobuf.Int64Value"
    },
    "network_id": "string",
    "health": "Health",
    "status": "Status",
    "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
    },
    "planned_operation": {
      "info": "string",
      "delayed_until": "google.protobuf.Timestamp"
    },
    "security_group_ids": [
      "string"
    ],
    "deletion_protection": "bool",
    "host_group_ids": [
      "string"
    ]
  }
  // 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

google.protobuf.Timestamp

Creation timestamp.

created_by

string

ID of the user or service account who initiated the operation.

modified_at

google.protobuf.Timestamp

The time when the Operation resource was last modified.

done

bool

If the value is false, it means the operation is still in progress.
If true, the operation is completed, and either error or response is available.

metadata

StartClusterFailoverMetadata

Service-specific metadata associated with the operation.
It typically contains the ID of the target resource that the operation is performed on.
Any method that returns a long-running operation should document the metadata type, if any.

error

google.rpc.Status

The error result of the operation in case of failure or cancellation.

Includes only one of the fields error, response.

The operation result.
If done == false and there was no failure detected, neither error nor response is set.
If done == false and there was a failure detected, error is set.
If done == true, exactly one of error or response is set.

response

Cluster

The normal response of the operation in case of success.
If the original method returns no data on success, such as Delete,
the response is google.protobuf.Empty.
If the original method is the standard Create/Update,
the response should be the target resource of the operation.
Any method that returns a long-running operation should document the response type, if any.

Includes only one of the fields error, response.

The operation result.
If done == false and there was no failure detected, neither error nor response is set.
If done == false and there was a failure detected, error is set.
If done == true, exactly one of error or response is set.

StartClusterFailoverMetadataStartClusterFailoverMetadata

Field

Description

cluster_id

string

ID of the cluster that is being failovered.

ClusterCluster

An object that represents MySQL cluster.

See the documentation for details.

Field

Description

id

string

ID of the cluster.

This ID is assigned by the platform at the time of creation.

folder_id

string

ID of the folder that the cluster belongs to.

created_at

google.protobuf.Timestamp

Creation timestamp of the cluster.

name

string

Name of the cluster.

description

string

Description of the cluster.

labels

object (map<string, string>)

Custom labels for the cluster as key:value pairs.

environment

enum Environment

Deployment environment of the MySQL cluster.

  • ENVIRONMENT_UNSPECIFIED
  • PRODUCTION: Environment for stable versions of your apps.
    A conservative update policy is in effect: only bug fixes are applied during regular maintenance.
  • PRESTABLE: Environment for testing, including the Managed Service for MySQL itself.
    This environment gets new features, improvements, and bug fixes in the first place, compared to the production environment.
    However, not every update ensures backward compatibility.

monitoring[]

Monitoring

Monitoring systems data that is relevant to the cluster.

config

ClusterConfig

Configuration of the cluster.

network_id

string

ID of the network that the cluster belongs to.

health

enum Health

Aggregated health of the cluster.

  • HEALTH_UNKNOWN: Health of the cluster is unknown (Host.health for every host in the cluster is UNKNOWN).
  • ALIVE: Cluster is alive and well (Host.health for every host in the cluster is ALIVE).
  • DEAD: Cluster is inoperable (Host.health for every host in the cluster is DEAD).
  • DEGRADED: Cluster is degraded (Host.health for at least one host in the cluster is not ALIVE).

status

enum Status

Current state of the cluster.

  • STATUS_UNKNOWN: Cluster state is unknown.
  • CREATING: Cluster is being created.
  • RUNNING: Cluster is running normally.
  • ERROR: Cluster encountered a problem and cannot operate.
  • UPDATING: Cluster is being updated.
  • STOPPING: Cluster is stopping.
  • STOPPED: Cluster is stopped.
  • STARTING: Cluster is starting.

maintenance_window

MaintenanceWindow

Maintenance window settings for the cluster.

planned_operation

MaintenanceOperation

Planned maintenance operation to be started for the cluster within the nearest maintenance_window.

security_group_ids[]

string

Effective list of security group IDs applied to the cluster.

deletion_protection

bool

This option prevents unintended deletion of the cluster.

host_group_ids[]

string

Host groups hosting VMs of the cluster.

MonitoringMonitoring

Cluster-related monitoring system data.

Field

Description

name

string

Name of the monitoring system.

description

string

Description of the monitoring system.

link

string

Link to the monitoring system charts for the cluster.

ClusterConfigClusterConfig

Field

Description

version

string

Version of MySQL used in the cluster.

mysql_config_5_7

MysqlConfigSet5_7

Configuration of a MySQL 5.7 server.

Includes only one of the fields mysql_config_5_7, mysql_config_8_0.

Cluster-wide MySQL configuration.

mysql_config_8_0

MysqlConfigSet8_0

Configuration of a MySQL 8.0 server.

Includes only one of the fields mysql_config_5_7, mysql_config_8_0.

Cluster-wide MySQL configuration.

resources

Resources

Resource preset for the cluster hosts.

backup_window_start

google.type.TimeOfDay

Time to start the daily backup, in the UTC timezone.

access

Access

Access policy for external services.

performance_diagnostics

PerformanceDiagnostics

Configuration of the performance diagnostics service.

backup_retain_period_days

google.protobuf.Int64Value

Retention policy of automated backups.

MysqlConfigSet5_7MysqlConfigSet5_7

Field

Description

effective_config

MysqlConfig5_7

Effective settings for a MySQL 5.7 cluster (a combination of settings defined
in user_config and default_config).

user_config

MysqlConfig5_7

User-defined settings for a MySQL 5.7 cluster.

default_config

MysqlConfig5_7

Default configuration for a MySQL 5.7 cluster.

MysqlConfig5_7MysqlConfig5_7

Options and structure of MysqlConfig5_7 reflects MySQL 5.7 configuration file.

Field

Description

innodb_buffer_pool_size

google.protobuf.Int64Value

Size of the InnoDB buffer pool used for caching table and index data.

See MySQL documentation for details.

max_connections

google.protobuf.Int64Value

The maximum permitted number of simultaneous client connections.

See MySQL documentation for details.

long_query_time

google.protobuf.DoubleValue

Time that it takes to process a query before it is considered slow.

See MySQL documentation for details.

general_log

google.protobuf.BoolValue

Enable writing of general query log of MySQL.

See MySQL documentation for details.

audit_log

google.protobuf.BoolValue

Enable writing of audit log of MySQL.

See MySQL documentation for details.

sql_mode[]

enum SQLMode

Server SQL mode of MySQL.

See MySQL documentation for details.

  • SQLMODE_UNSPECIFIED
  • ALLOW_INVALID_DATES
  • ANSI_QUOTES
  • ERROR_FOR_DIVISION_BY_ZERO
  • HIGH_NOT_PRECEDENCE
  • IGNORE_SPACE
  • NO_AUTO_VALUE_ON_ZERO
  • NO_BACKSLASH_ESCAPES
  • NO_ENGINE_SUBSTITUTION
  • NO_UNSIGNED_SUBTRACTION
  • NO_ZERO_DATE
  • NO_ZERO_IN_DATE
  • NO_FIELD_OPTIONS
  • NO_KEY_OPTIONS
  • NO_TABLE_OPTIONS
  • ONLY_FULL_GROUP_BY
  • PAD_CHAR_TO_FULL_LENGTH
  • PIPES_AS_CONCAT
  • REAL_AS_FLOAT
  • STRICT_ALL_TABLES
  • STRICT_TRANS_TABLES
  • ANSI
  • TRADITIONAL
  • DB2
  • MAXDB
  • MSSQL
  • MYSQL323
  • MYSQL40
  • ORACLE
  • POSTGRESQL
  • NO_AUTO_CREATE_USER
  • NO_DIR_IN_CREATE

max_allowed_packet

google.protobuf.Int64Value

The maximum size in bytes of one packet.

See MySQL documentation for details.

default_authentication_plugin

enum AuthPlugin

Authentication plugin used in the managed MySQL cluster.

See MySQL documentation for details.

  • AUTH_PLUGIN_UNSPECIFIED
  • MYSQL_NATIVE_PASSWORD: Using Native Pluggable Authentication.
  • CACHING_SHA2_PASSWORD
  • SHA256_PASSWORD: Using SHA-256 Pluggable Authentication.
  • MYSQL_NO_LOGIN: Use MYSQL_NO_LOGIN Pluggable Authentication.
  • MDB_IAMPROXY_AUTH: Use IAM Pluggable Authentication.

innodb_flush_log_at_trx_commit

google.protobuf.Int64Value

Transaction log flush behaviour.

See MySQL documentation for details.

innodb_lock_wait_timeout

google.protobuf.Int64Value

Max time in seconds for a transaction to wait for a row lock.

See MySQL documentation for details.

transaction_isolation

enum TransactionIsolation

Default transaction isolation level.

See MySQL documentation for details.

  • TRANSACTION_ISOLATION_UNSPECIFIED
  • READ_COMMITTED
  • REPEATABLE_READ
  • SERIALIZABLE

innodb_print_all_deadlocks

google.protobuf.BoolValue

Print information about deadlocks in error log.

See MySQL documentation for details.

net_read_timeout

google.protobuf.Int64Value

The number of seconds to wait for more data from a connection before aborting the read.

See MySQL documentation for details.

net_write_timeout

google.protobuf.Int64Value

The number of seconds to wait for a block to be written to a connection before aborting the write.

See MySQL documentation for details.

group_concat_max_len

google.protobuf.Int64Value

The maximum permitted result length in bytes for the GROUP_CONCAT() function.

See MySQL documentation for details.

tmp_table_size

google.protobuf.Int64Value

The maximum size of internal in-memory temporary tables.

See MySQL documentation for details.

max_heap_table_size

google.protobuf.Int64Value

This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.

See MySQL documentation for details.

default_time_zone

string

The servers default time zone.

See MySQL documentation for details.

character_set_server

string

The servers default character set.

See MySQL documentation for details.

collation_server

string

The server default collation.

See MySQL documentation for details.

innodb_adaptive_hash_index

google.protobuf.BoolValue

Enables InnoDB adaptive hash index.

See MySQL documentation for details.

innodb_numa_interleave

google.protobuf.BoolValue

Enables the NUMA interleave memory policy for allocation of the InnoDB buffer pool.

See MySQL documentation for details.

innodb_log_buffer_size

google.protobuf.Int64Value

The size in bytes of the buffer that InnoDB uses to write to the log files on disk.

See MySQL documentation for details.

innodb_log_file_size

google.protobuf.Int64Value

The size in bytes of the single InnoDB Redo log file.

See MySQL documentation for details.

innodb_io_capacity

google.protobuf.Int64Value

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodb_io_capacity_max

google.protobuf.Int64Value

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodb_read_io_threads

google.protobuf.Int64Value

The number of I/O threads for read operations in InnoDB.

See MySQL documentation for details.

innodb_write_io_threads

google.protobuf.Int64Value

The number of I/O threads for write operations in InnoDB.

See MySQL documentation for details.

innodb_purge_threads

google.protobuf.Int64Value

The number of background threads devoted to the InnoDB purge operation.

See MySQL documentation for details.

innodb_thread_concurrency

google.protobuf.Int64Value

Defines the maximum number of threads permitted inside of InnoDB.

See MySQL documentation for details.

innodb_temp_data_file_max_size

google.protobuf.Int64Value

Limits the max size of InnoDB temp tablespace.

See MySQL documentation for details.

thread_cache_size

google.protobuf.Int64Value

A number of threads the server should cache for reuse.

See MySQL documentation for details.

thread_stack

google.protobuf.Int64Value

The stack size for each thread. The default is large enough for normal operation.

See MySQL documentation for details.

join_buffer_size

google.protobuf.Int64Value

The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.

See MySQL documentation for details.

sort_buffer_size

google.protobuf.Int64Value

Each session that must perform a sort allocates a buffer of this size.

See MySQL documentation for details.

table_definition_cache

google.protobuf.Int64Value

The number of table definitions that can be stored in the definition cache.

See MySQL documentation for details.

table_open_cache

google.protobuf.Int64Value

The number of open tables for all threads.

See MySQL documentation for details.

table_open_cache_instances

google.protobuf.Int64Value

The number of open tables cache instances.

See MySQL documentation for details.

explicit_defaults_for_timestamp

google.protobuf.BoolValue

Determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns.

See MySQL documentation for details.

auto_increment_increment

google.protobuf.Int64Value

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

auto_increment_offset

google.protobuf.Int64Value

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

sync_binlog

google.protobuf.Int64Value

Controls how often the MySQL server synchronizes the binary log to disk.

See MySQL documentation for details.

binlog_cache_size

google.protobuf.Int64Value

The size of the cache to hold changes to the binary log during a transaction.

See MySQL documentation for details.

binlog_group_commit_sync_delay

google.protobuf.Int64Value

Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.

See MySQL documentation for the variable for details.

binlog_row_image

enum BinlogRowImage

For MySQL row-based replication, this variable determines how row images are written to the binary log.

See MySQL documentation for details.

  • BINLOG_ROW_IMAGE_UNSPECIFIED
  • FULL
  • MINIMAL
  • NOBLOB

binlog_rows_query_log_events

google.protobuf.BoolValue

When enabled, it causes the server to write informational log events such as row query log events into its binary log.

See MySQL documentation for details.

rpl_semi_sync_master_wait_for_slave_count

google.protobuf.Int64Value

The number of replica acknowledgments the source must receive per transaction before proceeding.

See MySQL documentation for details.

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.

See MySQL documentation for details.

  • SLAVE_PARALLEL_TYPE_UNSPECIFIED
  • DATABASE
  • LOGICAL_CLOCK

slave_parallel_workers

google.protobuf.Int64Value

Sets the number of applier threads for executing replication transactions in parallel.

See MySQL documentation for details.

mdb_preserve_binlog_bytes

google.protobuf.Int64Value

The size of the binary log to hold.

interactive_timeout

google.protobuf.Int64Value

The number of seconds the server waits for activity on an interactive connection before closing it.

See MySQL documentation for details.

wait_timeout

google.protobuf.Int64Value

The number of seconds the server waits for activity on a noninteractive connection before closing it.

See MySQL documentation for details.

mdb_offline_mode_enable_lag

google.protobuf.Int64Value

Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = ON' to prevent users from reading stale data.

mdb_offline_mode_disable_lag

google.protobuf.Int64Value

Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = OFF'.
Should be less than mdb_offline_mode_enable_lag value.

range_optimizer_max_mem_size

google.protobuf.Int64Value

The limit on memory consumption for the range optimizer.

See MySQL documentation for details.

slow_query_log

google.protobuf.BoolValue

Manages slow query log.

See MySQL documentation for details.

slow_query_log_always_write_time

google.protobuf.DoubleValue

Query execution time, after which query to be logged unconditionally, that is, `log_slow_rate_limit`` will not apply to it.

See Percona documentation for details.

log_slow_rate_type

enum LogSlowRateType

Specifies slow log granularity for log_slow_rate_limit values QUERY or SESSION.

See Percona documentation for details.

  • LOG_SLOW_RATE_TYPE_UNSPECIFIED
  • SESSION
  • QUERY

log_slow_rate_limit

google.protobuf.Int64Value

Specifies what fraction of session/query should be logged. Logging is enabled for every nth session/query.

See Percona documentation for details.

log_slow_sp_statements

google.protobuf.BoolValue

When TRUE, statements executed by stored procedures are logged to the slow log.

See Percona documentation for details.

log_slow_filter[]

enum LogSlowFilterType

Filters the slow log by the query's execution plan.

See Percona documentation for details.

  • LOG_SLOW_FILTER_TYPE_UNSPECIFIED
  • FULL_SCAN
  • FULL_JOIN
  • TMP_TABLE
  • TMP_TABLE_ON_DISK
  • FILESORT
  • FILESORT_ON_DISK

mdb_priority_choice_max_lag

google.protobuf.Int64Value

Replication lag threshold (seconds) which allows replica to be promoted to master while executing "switchover from".
Should be less than mdb_offline_mode_disable_lag.

innodb_page_size

google.protobuf.Int64Value

Specifies the page size for InnoDB tablespaces.

For details, see MySQL documentation for the variable.

innodb_online_alter_log_max_size

google.protobuf.Int64Value

The limit in bytes on the size of the temporary log files used during online DDL operations

For details, see MySQL documentation for the variable.

innodb_ft_min_token_size

google.protobuf.Int64Value

Minimum length of words that are stored in an InnoDB FULLTEXT index

For details, see MySQL documentation for the variable.

innodb_ft_max_token_size

google.protobuf.Int64Value

Maximum length of words that are stored in an InnoDB FULLTEXT index

For details, see MySQL documentation for the variable.

lower_case_table_names

google.protobuf.Int64Value

Table names storage and comparison strategy

For details, see MySQL documentation for the variable.

show_compatibility_56

google.protobuf.BoolValue

Manages MySQL 5.6 compatibility

For details, see MySQL documentation for the variable.

max_sp_recursion_depth

google.protobuf.Int64Value

The number of times that any given stored procedure may be called recursively.

For details, see MySQL documentation for the variable.

innodb_compression_level

google.protobuf.Int64Value

The level of zlib compression to use for InnoDB compressed tables and indexes.

For details, see MySQL documentation for the variable.

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.

For details, see MySQL documentation for the variable.

  • BINLOG_TRANSACTION_DEPENDENCY_TRACKING_UNSPECIFIED
  • COMMIT_ORDER
  • WRITESET
  • WRITESET_SESSION

autocommit

google.protobuf.BoolValue

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.

For details, see MySQL documentation for the variable.

innodb_status_output

google.protobuf.BoolValue

Enables or disables periodic output for the standard InnoDB Monitor.

For details, see MySQL documentation for the variable.

innodb_strict_mode

google.protobuf.BoolValue

When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings when checking for invalid or incompatible table options.

For details, see MySQL documentation for the variable.

innodb_print_lock_wait_timeout_info

google.protobuf.BoolValue

Makes InnoDB to write information about all lock wait timeout errors into the log file.

For details, see Percona documentation for the variable.

log_error_verbosity

google.protobuf.Int64Value

System variable specifies the verbosity for handling events intended for the error log

For details, see MySQL documentation for the variable.

max_digest_length

google.protobuf.Int64Value

The maximum number of bytes of memory reserved per session for computation of normalized statement digests.

For details, see MySQL documentation for the variable.

query_cache_limit

google.protobuf.Int64Value

Do not cache results that are larger than this number of bytes.

For details, see MySQL documentation for the variable.

query_cache_size

google.protobuf.Int64Value

The amount of memory allocated for caching query results.

For details, see MySQL documentation for the variable.

query_cache_type

google.protobuf.Int64Value

Set the query cache type.

For details, see MySQL documentation for the variable.

lock_wait_timeout

google.protobuf.Int64Value

This variable specifies the timeout in seconds for attempts to acquire metadata locks

For details, see MySQL documentation for the variable.

max_prepared_stmt_count

google.protobuf.Int64Value

This variable limits the total number of prepared statements in the server.

For details, see MySQL documentation for the variable.

optimizer_switch

string

The system variable enables control over optimizer behavior.

For details, see MySQL documentation for the variable
https://dev.mysql.com/doc/refman/5.7/en/switchable-optimizations.html

optimizer_search_depth

google.protobuf.Int64Value

The maximum depth of search performed by the query optimizer

For details, see MySQL documentation for the variable

query_response_time_stats

google.protobuf.BoolValue

Enables and disables collection of query times

For details, see Percona documentation for the variable.

userstat

google.protobuf.BoolValue

Enables or disables collection of statistics

For details, see Percona documentation for the variable.

max_execution_time

google.protobuf.Int64Value

The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.

For details, see MySQL documentation for the variable

audit_log_policy

enum AuditLogPolicy

The policy controlling how the audit log plugin writes events to its log file

For details, see MySQL documentation for the variable

  • AUDIT_LOG_POLICY_UNSPECIFIED
  • ALL
  • LOGINS
  • QUERIES
  • NONE

innodb_lru_scan_depth

google.protobuf.Int64Value

A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool

For details, see MySQL documentation for the variable

mdb_force_ssl

google.protobuf.BoolValue

Force ssl on all hosts (require_secure_transport)

innodb_change_buffering

enum InnodbChangeBuffering

An optimization for change buffering

For details, see MySQL documentation for the variable.

  • INNODB_CHANGE_BUFFERING_UNSPECIFIED
  • INNODB_CHANGE_BUFFERING_NONE
  • INNODB_CHANGE_BUFFERING_INSERTS
  • INNODB_CHANGE_BUFFERING_DELETES
  • INNODB_CHANGE_BUFFERING_CHANGES
  • INNODB_CHANGE_BUFFERING_PURGES
  • INNODB_CHANGE_BUFFERING_ALL

MysqlConfigSet8_0MysqlConfigSet8_0

Field

Description

effective_config

MysqlConfig8_0

Effective settings for a MySQL 8.0 cluster (a combination of settings defined
in user_config and default_config).

user_config

MysqlConfig8_0

User-defined settings for a MySQL 8.0 cluster.

default_config

MysqlConfig8_0

Default configuration for a MySQL 8.0 cluster.

MysqlConfig8_0MysqlConfig8_0

Options and structure of MysqlConfig8_0 reflects MySQL 8.0 configuration file.

Field

Description

innodb_buffer_pool_size

google.protobuf.Int64Value

Size of the InnoDB buffer pool used for caching table and index data.

See MySQL documentation for details.

max_connections

google.protobuf.Int64Value

The maximum permitted number of simultaneous client connections.

See MySQL documentation for details.

long_query_time

google.protobuf.DoubleValue

Time that it takes to process a query before it is considered slow.

See MySQL documentation for details.

general_log

google.protobuf.BoolValue

Enable writing of general query log of MySQL.

See MySQL documentation for details.

audit_log

google.protobuf.BoolValue

Enable writing of audit log of MySQL.

See MySQL documentation for details.

sql_mode[]

enum SQLMode

Server SQL mode of MySQL.

See MySQL documentation for details.

  • SQLMODE_UNSPECIFIED
  • ALLOW_INVALID_DATES
  • ANSI_QUOTES
  • ERROR_FOR_DIVISION_BY_ZERO
  • HIGH_NOT_PRECEDENCE
  • IGNORE_SPACE
  • NO_AUTO_VALUE_ON_ZERO
  • NO_BACKSLASH_ESCAPES
  • NO_ENGINE_SUBSTITUTION
  • NO_UNSIGNED_SUBTRACTION
  • NO_ZERO_DATE
  • NO_ZERO_IN_DATE
  • ONLY_FULL_GROUP_BY
  • PAD_CHAR_TO_FULL_LENGTH
  • PIPES_AS_CONCAT
  • REAL_AS_FLOAT
  • STRICT_ALL_TABLES
  • STRICT_TRANS_TABLES
  • TIME_TRUNCATE_FRACTIONAL
  • ANSI
  • TRADITIONAL
  • NO_DIR_IN_CREATE

max_allowed_packet

google.protobuf.Int64Value

The maximum size in bytes of one packet.

See MySQL documentation for details.

default_authentication_plugin

enum AuthPlugin

Authentication plugin used in the managed MySQL cluster.

See MySQL documentation for details.

  • AUTH_PLUGIN_UNSPECIFIED
  • MYSQL_NATIVE_PASSWORD: Using Native Pluggable Authentication.
  • CACHING_SHA2_PASSWORD: Using Caching SHA-2 Pluggable Authentication.
  • SHA256_PASSWORD: Using SHA-256 Pluggable Authentication.
  • MYSQL_NO_LOGIN: Use MYSQL_NO_LOGIN Pluggable Authentication.
  • MDB_IAMPROXY_AUTH: Use IAM Pluggable Authentication.

innodb_flush_log_at_trx_commit

google.protobuf.Int64Value

Transaction log flush behaviour.

See MySQL documentation for details.

innodb_lock_wait_timeout

google.protobuf.Int64Value

Max time in seconds for a transaction to wait for a row lock.

See MySQL documentation for details.

transaction_isolation

enum TransactionIsolation

Default transaction isolation level.

See MySQL documentation for details.

  • TRANSACTION_ISOLATION_UNSPECIFIED
  • READ_COMMITTED
  • REPEATABLE_READ
  • SERIALIZABLE

innodb_print_all_deadlocks

google.protobuf.BoolValue

Print information about deadlocks in error log.

See MySQL documentation for details.

net_read_timeout

google.protobuf.Int64Value

The number of seconds to wait for more data from a connection before aborting the read.

See MySQL documentation for details.

net_write_timeout

google.protobuf.Int64Value

The number of seconds to wait for a block to be written to a connection before aborting the write.

See MySQL documentation for details.

group_concat_max_len

google.protobuf.Int64Value

The maximum permitted result length in bytes for the GROUP_CONCAT() function.

See MySQL documentation for details.

tmp_table_size

google.protobuf.Int64Value

The maximum size of internal in-memory temporary tables.

See MySQL documentation for details.

max_heap_table_size

google.protobuf.Int64Value

This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.

See MySQL documentation for details.

default_time_zone

string

The servers default time zone.

See MySQL documentation for details.

character_set_server

string

The servers default character set.

See MySQL documentation for details.

collation_server

string

The server default collation.

See MySQL documentation for details.

innodb_adaptive_hash_index

google.protobuf.BoolValue

Enables InnoDB adaptive hash index.

See MySQL documentation for details.

innodb_numa_interleave

google.protobuf.BoolValue

Enables the NUMA interleave memory policy for allocation of the InnoDB buffer pool.

See MySQL documentation for details.

innodb_log_buffer_size

google.protobuf.Int64Value

The size in bytes of the buffer that InnoDB uses to write to the log files on disk.

See MySQL documentation for details.

innodb_log_file_size

google.protobuf.Int64Value

The size in bytes of the single InnoDB Redo log file.

See MySQL documentation for details.

innodb_io_capacity

google.protobuf.Int64Value

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodb_io_capacity_max

google.protobuf.Int64Value

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodb_read_io_threads

google.protobuf.Int64Value

The number of I/O threads for read operations in InnoDB.

See MySQL documentation for details.

innodb_write_io_threads

google.protobuf.Int64Value

The number of I/O threads for write operations in InnoDB.

See MySQL documentation for details.

innodb_purge_threads

google.protobuf.Int64Value

The number of background threads devoted to the InnoDB purge operation.

See MySQL documentation for details.

innodb_thread_concurrency

google.protobuf.Int64Value

Defines the maximum number of threads permitted inside of InnoDB.

See MySQL documentation for details.

innodb_temp_data_file_max_size

google.protobuf.Int64Value

Limits the max size of InnoDB temp tablespace.

See MySQL documentation for details.

thread_cache_size

google.protobuf.Int64Value

How many threads the server should cache for reuse.

See MySQL documentation for details.

thread_stack

google.protobuf.Int64Value

The stack size for each thread. The default is large enough for normal operation.

See MySQL documentation for details.

join_buffer_size

google.protobuf.Int64Value

The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.

See MySQL documentation for details.

sort_buffer_size

google.protobuf.Int64Value

Each session that must perform a sort allocates a buffer of this size.

See MySQL documentation for details.

table_definition_cache

google.protobuf.Int64Value

The number of table definitions that can be stored in the definition cache.

See MySQL documentation for details.

table_open_cache

google.protobuf.Int64Value

The number of open tables for all threads.

See MySQL documentation for details.

table_open_cache_instances

google.protobuf.Int64Value

The number of open tables cache instances.

See MySQL documentation for details.

explicit_defaults_for_timestamp

google.protobuf.BoolValue

Determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns.

See MySQL documentation for details.

auto_increment_increment

google.protobuf.Int64Value

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

auto_increment_offset

google.protobuf.Int64Value

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

sync_binlog

google.protobuf.Int64Value

Controls how often the MySQL server synchronizes the binary log to disk.

See MySQL documentation for details.

binlog_cache_size

google.protobuf.Int64Value

The size of the cache to hold changes to the binary log during a transaction.

See MySQL documentation for details.

binlog_group_commit_sync_delay

google.protobuf.Int64Value

Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.

See MySQL documentation for details.

binlog_row_image

enum BinlogRowImage

For MySQL row-based replication, this variable determines how row images are written to the binary log.

See MySQL documentation for details.

  • BINLOG_ROW_IMAGE_UNSPECIFIED
  • FULL
  • MINIMAL
  • NOBLOB

binlog_rows_query_log_events

google.protobuf.BoolValue

When enabled, it causes the server to write informational log events such as row query log events into its binary log.

See MySQL documentation for details.

rpl_semi_sync_master_wait_for_slave_count

google.protobuf.Int64Value

The number of replica acknowledgments the source must receive per transaction before proceeding.

See MySQL documentation for details.

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.

See MySQL documentation for details.

  • SLAVE_PARALLEL_TYPE_UNSPECIFIED
  • DATABASE
  • LOGICAL_CLOCK

slave_parallel_workers

google.protobuf.Int64Value

Sets the number of applier threads for executing replication transactions in parallel.

See MySQL documentation for details.

regexp_time_limit

google.protobuf.Int64Value

The time limit for regular expression matching operations performed by REGEXP_LIKE and similar functions.

See MySQL documentation for details.

mdb_preserve_binlog_bytes

google.protobuf.Int64Value

The size of the binary log to hold.

interactive_timeout

google.protobuf.Int64Value

The number of seconds the server waits for activity on an interactive connection before closing it.

See MySQL documentation for details.

wait_timeout

google.protobuf.Int64Value

The number of seconds the server waits for activity on a noninteractive connection before closing it.

See MySQL documentation for details.

mdb_offline_mode_enable_lag

google.protobuf.Int64Value

Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = ON' to prevent users from reading stale data.

mdb_offline_mode_disable_lag

google.protobuf.Int64Value

Replication lag threshold (seconds) which will switch MySQL to 'offline_mode = OFF'.
Should be less than mdb_offline_mode_enable_lag.

range_optimizer_max_mem_size

google.protobuf.Int64Value

The limit on memory consumption for the range optimizer.

See MySQL documentation for details.

slow_query_log

google.protobuf.BoolValue

Manages slow query log.

See MySQL documentation for details.

slow_query_log_always_write_time

google.protobuf.DoubleValue

Query execution time, after which query to be logged unconditionally, that is, log_slow_rate_limit will not apply to it.

See Percona documentation for details.

log_slow_rate_type

enum LogSlowRateType

Specifies slow log granularity for log_slow_rate_limit QUERY or SESSION value.

See Percona documentation for details.

  • LOG_SLOW_RATE_TYPE_UNSPECIFIED
  • SESSION
  • QUERY

log_slow_rate_limit

google.protobuf.Int64Value

Specifies what fraction of session/query should be logged. Logging is enabled for every nth session/query.

See Percona documentation for details.

log_slow_sp_statements

google.protobuf.BoolValue

When TRUE, statements executed by stored procedures are logged to the slow log.

See Percona documentation for details.

log_slow_filter[]

enum LogSlowFilterType

Filters the slow log by the query's execution plan.

See Percona documentation for details.

  • LOG_SLOW_FILTER_TYPE_UNSPECIFIED
  • FULL_SCAN
  • FULL_JOIN
  • TMP_TABLE
  • TMP_TABLE_ON_DISK
  • FILESORT
  • FILESORT_ON_DISK

mdb_priority_choice_max_lag

google.protobuf.Int64Value

Replication lag threshold (seconds) which allows replica to be promoted to master while executing "switchover from".
Should be less than mdb_offline_mode_disable_lag.

innodb_page_size

google.protobuf.Int64Value

Specifies the page size for InnoDB tablespaces.

For details, see MySQL documentation for the variable.

innodb_online_alter_log_max_size

google.protobuf.Int64Value

The limit in bytes on the size of the temporary log files used during online DDL operations

See MySQL documentation for the variable for details.

innodb_ft_min_token_size

google.protobuf.Int64Value

Minimum length of words that are stored in an InnoDB FULLTEXT index

See MySQL documentation for the variable for details.

innodb_ft_max_token_size

google.protobuf.Int64Value

Maximum length of words that are stored in an InnoDB FULLTEXT index

See MySQL documentation for the variable for details.

lower_case_table_names

google.protobuf.Int64Value

Table names storage and comparison strategy

See MySQL documentation for the variable for details.

max_sp_recursion_depth

google.protobuf.Int64Value

The number of times that any given stored procedure may be called recursively.

For details, see MySQL documentation for the variable.

innodb_compression_level

google.protobuf.Int64Value

The level of zlib compression to use for InnoDB compressed tables and indexes.

For details, see MySQL documentation for the variable.

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.

For details, see MySQL documentation for the variable.

  • BINLOG_TRANSACTION_DEPENDENCY_TRACKING_UNSPECIFIED
  • COMMIT_ORDER
  • WRITESET
  • WRITESET_SESSION

autocommit

google.protobuf.BoolValue

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.

For details, see MySQL documentation for the variable.

innodb_status_output

google.protobuf.BoolValue

Enables or disables periodic output for the standard InnoDB Monitor.

For details, see MySQL documentation for the variable.

innodb_strict_mode

google.protobuf.BoolValue

When innodb_strict_mode is enabled, InnoDB returns errors rather than warnings when checking for invalid or incompatible table options.

For details, see MySQL documentation for the variable.

innodb_print_lock_wait_timeout_info

google.protobuf.BoolValue

Makes InnoDB to write information about all lock wait timeout errors into the log file.

For details, see Percona documentation for the variable.

log_error_verbosity

google.protobuf.Int64Value

System variable specifies the verbosity for handling events intended for the error log

For details, see MySQL documentation for the variable.

max_digest_length

google.protobuf.Int64Value

The maximum number of bytes of memory reserved per session for computation of normalized statement digests.

For details, see MySQL documentation for the variable.

lock_wait_timeout

google.protobuf.Int64Value

This variable specifies the timeout in seconds for attempts to acquire metadata locks

For details, see MySQL documentation for the variable.

max_prepared_stmt_count

google.protobuf.Int64Value

This variable limits the total number of prepared statements in the server.

For details, see MySQL documentation for the variable.

optimizer_switch

string

The system variable enables control over optimizer behavior.

For details, see MySQL documentation for the variable
https://dev.mysql.com/doc/refman/8.0/en/switchable-optimizations.html

optimizer_search_depth

google.protobuf.Int64Value

The maximum depth of search performed by the query optimizer

For details, see MySQL documentation for the variable

userstat

google.protobuf.BoolValue

Enables or disables collection of statistics

For details, see Percona documentation for the variable.

max_execution_time

google.protobuf.Int64Value

The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are not enabled.

For details, see MySQL documentation for the variable

audit_log_policy

enum AuditLogPolicy

The policy controlling how the audit log plugin writes events to its log file

For details, see MySQL documentation for the variable

  • AUDIT_LOG_POLICY_UNSPECIFIED
  • ALL
  • LOGINS
  • QUERIES
  • NONE

replication_sender_observe_commit_only

google.protobuf.BoolValue

Limit callbacks to improve performance for semisynchronous replication

For details, see MySQL documentation for the variable.

replication_optimize_for_static_plugin_config

google.protobuf.BoolValue

Use shared locks, and avoid unnecessary lock acquisitions, to improve performance for semisynchronous replication

For details, see MySQL documentation for the variable.

innodb_lru_scan_depth

google.protobuf.Int64Value

A parameter that influences the algorithms and heuristics for the flush operation for the InnoDB buffer pool

For details, see MySQL documentation for the variable

sql_require_primary_key

google.protobuf.BoolValue

Whether statements that create new tables or alter the structure of existing tables enforce the requirement that tables have a primary key

For details, see MySQL documentation for the variable.

mdb_force_ssl

google.protobuf.BoolValue

Force ssl on all hosts (require_secure_transport)

innodb_change_buffering

enum InnodbChangeBuffering

An optimization for change buffering

For details, see MySQL documentation for the variable.

  • INNODB_CHANGE_BUFFERING_UNSPECIFIED
  • INNODB_CHANGE_BUFFERING_NONE
  • INNODB_CHANGE_BUFFERING_INSERTS
  • INNODB_CHANGE_BUFFERING_DELETES
  • INNODB_CHANGE_BUFFERING_CHANGES
  • INNODB_CHANGE_BUFFERING_PURGES
  • INNODB_CHANGE_BUFFERING_ALL

ResourcesResources

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.

All available presets are listed in the documentation.

disk_size

int64

Volume of the storage (for each cluster host, in bytes).

disk_type_id

string

Type of the storage.

Possible values:

  • network-hdd - standard network storage
  • network-ssd - fast network storage
  • network-ssd-nonreplicated - fast network nonreplicated storage
  • local-ssd - fast local storage.

See the documentation for details.

AccessAccess

Field

Description

data_lens

bool

Allows access from DataLens.

See the documentation for details.

web_sql

bool

Allows SQL queries to the cluster databases from management console.

See the documentation for details.

data_transfer

bool

Allow access for DataTransfer.

PerformanceDiagnosticsPerformanceDiagnostics

Field

Description

enabled

bool

Flag that shows if performance statistics gathering is enabled for the cluster.

sessions_sampling_interval

int64

Interval (in seconds) for my_session sampling.

statements_sampling_interval

int64

Interval (in seconds) for my_statements sampling.

MaintenanceWindowMaintenanceWindow

Configuration of a maintenance window in a MySQL cluster.

Field

Description

anytime

AnytimeMaintenanceWindow

Maintenance operation can be scheduled anytime.

Includes only one of the fields anytime, weekly_maintenance_window.

The maintenance policy in effect.

weekly_maintenance_window

WeeklyMaintenanceWindow

Maintenance operation can be scheduled on a weekly basis.

Includes only one of the fields anytime, weekly_maintenance_window.

The maintenance policy in effect.

AnytimeMaintenanceWindowAnytimeMaintenanceWindow

Field

Description

Empty

WeeklyMaintenanceWindowWeeklyMaintenanceWindow

Weelky maintenance window settings.

Field

Description

day

enum WeekDay

Day of the week (in DDD format).

  • WEEK_DAY_UNSPECIFIED
  • MON
  • TUE
  • WED
  • THU
  • FRI
  • SAT
  • SUN

hour

int64

Hour of the day in UTC (in HH format).

MaintenanceOperationMaintenanceOperation

A planned maintenance operation.

Field

Description

info

string

Information about this maintenance operation.

delayed_until

google.protobuf.Timestamp

Time until which this maintenance operation is delayed.

Was the article helpful?

Previous
RescheduleMaintenance
Next
ListLogs
Yandex project
© 2025 Yandex.Cloud LLC