Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • Машинное обучение
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Истории успеха
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Managed Service for MySQL®
  • Начало работы
  • Управление доступом
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • Start
        • Stop
        • Move
        • Backup
        • Restore
        • RescheduleMaintenance
        • StartFailover
        • ListLogs
        • StreamLogs
        • ListOperations
        • ListBackups
        • ListHosts
        • AddHosts
        • UpdateHosts
        • DeleteHosts
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • Публичные материалы
  • История изменений
  • Обучающие курсы

В этой статье:

  • HTTP request
  • Body parameters
  • ConfigSpec
  • MysqlConfig5_7
  • MysqlConfig8_0
  • Resources
  • TimeOfDay
  • Access
  • PerformanceDiagnostics
  • DatabaseSpec
  • UserSpec
  • Permission
  • ConnectionLimits
  • HostSpec
  • MaintenanceWindow
  • WeeklyMaintenanceWindow
  • Response
  • CreateClusterMetadata
  • Status
  • Cluster
  • Monitoring
  • ClusterConfig
  • MysqlConfigSet5_7
  • MysqlConfig5_7
  • MysqlConfigSet8_0
  • MysqlConfig8_0
  • Resources
  • TimeOfDay
  • Access
  • PerformanceDiagnostics
  • MaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation
  1. Справочник API
  2. REST (англ.)
  3. Cluster
  4. Create

Managed Service for MySQL API, REST: Cluster.Create

Статья создана
Yandex Cloud
Улучшена
Обновлена 18 апреля 2025 г.
  • HTTP request
  • Body parameters
  • ConfigSpec
  • MysqlConfig5_7
  • MysqlConfig8_0
  • Resources
  • TimeOfDay
  • Access
  • PerformanceDiagnostics
  • DatabaseSpec
  • UserSpec
  • Permission
  • ConnectionLimits
  • HostSpec
  • MaintenanceWindow
  • WeeklyMaintenanceWindow
  • Response
  • CreateClusterMetadata
  • Status
  • Cluster
  • Monitoring
  • ClusterConfig
  • MysqlConfigSet5_7
  • MysqlConfig5_7
  • MysqlConfigSet8_0
  • MysqlConfig8_0
  • Resources
  • TimeOfDay
  • Access
  • PerformanceDiagnostics
  • MaintenanceWindow
  • WeeklyMaintenanceWindow
  • MaintenanceOperation

Creates a cluster in a folder.

HTTP requestHTTP request

POST https://mdb.api.cloud.yandex.net/managed-mysql/v1/clusters

Body parametersBody parameters

{
  "folderId": "string",
  "name": "string",
  "description": "string",
  "labels": "object",
  "environment": "string",
  "configSpec": {
    "version": "string",
    // Includes only one of the fields `mysqlConfig_5_7`, `mysqlConfig_8_0`
    "mysqlConfig_5_7": {
      "innodbBufferPoolSize": "string",
      "maxConnections": "string",
      "longQueryTime": "number",
      "generalLog": "boolean",
      "auditLog": "boolean",
      "sqlMode": [
        "string"
      ],
      "maxAllowedPacket": "string",
      "defaultAuthenticationPlugin": "string",
      "innodbFlushLogAtTrxCommit": "string",
      "innodbLockWaitTimeout": "string",
      "transactionIsolation": "string",
      "innodbPrintAllDeadlocks": "boolean",
      "netReadTimeout": "string",
      "netWriteTimeout": "string",
      "groupConcatMaxLen": "string",
      "tmpTableSize": "string",
      "maxHeapTableSize": "string",
      "defaultTimeZone": "string",
      "characterSetServer": "string",
      "collationServer": "string",
      "innodbAdaptiveHashIndex": "boolean",
      "innodbNumaInterleave": "boolean",
      "innodbLogBufferSize": "string",
      "innodbLogFileSize": "string",
      "innodbIoCapacity": "string",
      "innodbIoCapacityMax": "string",
      "innodbReadIoThreads": "string",
      "innodbWriteIoThreads": "string",
      "innodbPurgeThreads": "string",
      "innodbThreadConcurrency": "string",
      "innodbTempDataFileMaxSize": "string",
      "threadCacheSize": "string",
      "threadStack": "string",
      "joinBufferSize": "string",
      "sortBufferSize": "string",
      "tableDefinitionCache": "string",
      "tableOpenCache": "string",
      "tableOpenCacheInstances": "string",
      "explicitDefaultsForTimestamp": "boolean",
      "autoIncrementIncrement": "string",
      "autoIncrementOffset": "string",
      "syncBinlog": "string",
      "binlogCacheSize": "string",
      "binlogGroupCommitSyncDelay": "string",
      "binlogRowImage": "string",
      "binlogRowsQueryLogEvents": "boolean",
      "rplSemiSyncMasterWaitForSlaveCount": "string",
      "slaveParallelType": "string",
      "slaveParallelWorkers": "string",
      "mdbPreserveBinlogBytes": "string",
      "interactiveTimeout": "string",
      "waitTimeout": "string",
      "mdbOfflineModeEnableLag": "string",
      "mdbOfflineModeDisableLag": "string",
      "rangeOptimizerMaxMemSize": "string",
      "slowQueryLog": "boolean",
      "slowQueryLogAlwaysWriteTime": "number",
      "logSlowRateType": "string",
      "logSlowRateLimit": "string",
      "logSlowSpStatements": "boolean",
      "logSlowFilter": [
        "string"
      ],
      "mdbPriorityChoiceMaxLag": "string",
      "innodbPageSize": "string",
      "innodbOnlineAlterLogMaxSize": "string",
      "innodbFtMinTokenSize": "string",
      "innodbFtMaxTokenSize": "string",
      "lowerCaseTableNames": "string",
      "showCompatibility_56": "boolean",
      "maxSpRecursionDepth": "string",
      "innodbCompressionLevel": "string",
      "binlogTransactionDependencyTracking": "string",
      "autocommit": "boolean",
      "innodbStatusOutput": "boolean",
      "innodbStrictMode": "boolean",
      "innodbPrintLockWaitTimeoutInfo": "boolean",
      "logErrorVerbosity": "string",
      "maxDigestLength": "string",
      "queryCacheLimit": "string",
      "queryCacheSize": "string",
      "queryCacheType": "string",
      "lockWaitTimeout": "string",
      "maxPreparedStmtCount": "string",
      "optimizerSwitch": "string",
      "optimizerSearchDepth": "string",
      "queryResponseTimeStats": "boolean",
      "userstat": "boolean",
      "maxExecutionTime": "string",
      "auditLogPolicy": "string",
      "innodbLruScanDepth": "string",
      "mdbForceSsl": "boolean",
      "innodbChangeBuffering": "string"
    },
    "mysqlConfig_8_0": {
      "innodbBufferPoolSize": "string",
      "maxConnections": "string",
      "longQueryTime": "number",
      "generalLog": "boolean",
      "auditLog": "boolean",
      "sqlMode": [
        "string"
      ],
      "maxAllowedPacket": "string",
      "defaultAuthenticationPlugin": "string",
      "innodbFlushLogAtTrxCommit": "string",
      "innodbLockWaitTimeout": "string",
      "transactionIsolation": "string",
      "innodbPrintAllDeadlocks": "boolean",
      "netReadTimeout": "string",
      "netWriteTimeout": "string",
      "groupConcatMaxLen": "string",
      "tmpTableSize": "string",
      "maxHeapTableSize": "string",
      "defaultTimeZone": "string",
      "characterSetServer": "string",
      "collationServer": "string",
      "innodbAdaptiveHashIndex": "boolean",
      "innodbNumaInterleave": "boolean",
      "innodbLogBufferSize": "string",
      "innodbLogFileSize": "string",
      "innodbIoCapacity": "string",
      "innodbIoCapacityMax": "string",
      "innodbReadIoThreads": "string",
      "innodbWriteIoThreads": "string",
      "innodbPurgeThreads": "string",
      "innodbThreadConcurrency": "string",
      "innodbTempDataFileMaxSize": "string",
      "threadCacheSize": "string",
      "threadStack": "string",
      "joinBufferSize": "string",
      "sortBufferSize": "string",
      "tableDefinitionCache": "string",
      "tableOpenCache": "string",
      "tableOpenCacheInstances": "string",
      "explicitDefaultsForTimestamp": "boolean",
      "autoIncrementIncrement": "string",
      "autoIncrementOffset": "string",
      "syncBinlog": "string",
      "binlogCacheSize": "string",
      "binlogGroupCommitSyncDelay": "string",
      "binlogRowImage": "string",
      "binlogRowsQueryLogEvents": "boolean",
      "rplSemiSyncMasterWaitForSlaveCount": "string",
      "slaveParallelType": "string",
      "slaveParallelWorkers": "string",
      "regexpTimeLimit": "string",
      "mdbPreserveBinlogBytes": "string",
      "interactiveTimeout": "string",
      "waitTimeout": "string",
      "mdbOfflineModeEnableLag": "string",
      "mdbOfflineModeDisableLag": "string",
      "rangeOptimizerMaxMemSize": "string",
      "slowQueryLog": "boolean",
      "slowQueryLogAlwaysWriteTime": "number",
      "logSlowRateType": "string",
      "logSlowRateLimit": "string",
      "logSlowSpStatements": "boolean",
      "logSlowFilter": [
        "string"
      ],
      "mdbPriorityChoiceMaxLag": "string",
      "innodbPageSize": "string",
      "innodbOnlineAlterLogMaxSize": "string",
      "innodbFtMinTokenSize": "string",
      "innodbFtMaxTokenSize": "string",
      "lowerCaseTableNames": "string",
      "maxSpRecursionDepth": "string",
      "innodbCompressionLevel": "string",
      "binlogTransactionDependencyTracking": "string",
      "autocommit": "boolean",
      "innodbStatusOutput": "boolean",
      "innodbStrictMode": "boolean",
      "innodbPrintLockWaitTimeoutInfo": "boolean",
      "logErrorVerbosity": "string",
      "maxDigestLength": "string",
      "lockWaitTimeout": "string",
      "maxPreparedStmtCount": "string",
      "optimizerSwitch": "string",
      "optimizerSearchDepth": "string",
      "userstat": "boolean",
      "maxExecutionTime": "string",
      "auditLogPolicy": "string",
      "replicationSenderObserveCommitOnly": "boolean",
      "replicationOptimizeForStaticPluginConfig": "boolean",
      "innodbLruScanDepth": "string",
      "sqlRequirePrimaryKey": "boolean",
      "mdbForceSsl": "boolean",
      "innodbChangeBuffering": "string"
    },
    // end of the list of possible fields
    "resources": {
      "resourcePresetId": "string",
      "diskSize": "string",
      "diskTypeId": "string"
    },
    "backupWindowStart": {
      "hours": "integer",
      "minutes": "integer",
      "seconds": "integer",
      "nanos": "integer"
    },
    "access": {
      "dataLens": "boolean",
      "webSql": "boolean",
      "dataTransfer": "boolean"
    },
    "performanceDiagnostics": {
      "enabled": "boolean",
      "sessionsSamplingInterval": "string",
      "statementsSamplingInterval": "string"
    },
    "backupRetainPeriodDays": "string"
  },
  "databaseSpecs": [
    {
      "name": "string"
    }
  ],
  "userSpecs": [
    {
      "name": "string",
      "password": "string",
      "permissions": [
        {
          "databaseName": "string",
          "roles": [
            "string"
          ]
        }
      ],
      "globalPermissions": [
        "string"
      ],
      "connectionLimits": {
        "maxQuestionsPerHour": "string",
        "maxUpdatesPerHour": "string",
        "maxConnectionsPerHour": "string",
        "maxUserConnections": "string"
      },
      "authenticationPlugin": "string",
      "generatePassword": "boolean"
    }
  ],
  "hostSpecs": [
    {
      "zoneId": "string",
      "subnetId": "string",
      "assignPublicIp": "boolean",
      "replicationSource": "string",
      "backupPriority": "string",
      "priority": "string"
    }
  ],
  "networkId": "string",
  "securityGroupIds": [
    "string"
  ],
  "deletionProtection": "boolean",
  "hostGroupIds": [
    "string"
  ],
  "maintenanceWindow": {
    // Includes only one of the fields `anytime`, `weeklyMaintenanceWindow`
    "anytime": "object",
    "weeklyMaintenanceWindow": {
      "day": "string",
      "hour": "string"
    }
    // end of the list of possible fields
  }
}

Field

Description

folderId

string

Required field. ID of the folder to create the cluster in.

To get this ID, make a yandex.cloud.resourcemanager.v1.FolderService.List request.

name

string

Required field. Name of the cluster. The name must be unique within the folder.

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.

configSpec

ConfigSpec

Configuration of the cluster.

databaseSpecs[]

DatabaseSpec

Configuration of databases in the cluster.

userSpecs[]

UserSpec

Configuration of database users in the cluster.

hostSpecs[]

HostSpec

Configuration of hosts in the cluster.

networkId

string

ID of the network to create the cluster in.

securityGroupIds[]

string

List of security group IDs to apply to the cluster.

deletionProtection

boolean

This option prevents unintended deletion of the cluster.

hostGroupIds[]

string

Host groups hosting VMs of the cluster.

maintenanceWindow

MaintenanceWindow

Window of maintenance operations.

ConfigSpecConfigSpec

Field

Description

version

string

Version of MySQL used in the cluster.

Possible values: 5.7, 8.0.

mysqlConfig_5_7

MysqlConfig5_7

Configuration for a MySQL 5.7 cluster.

Includes only one of the fields mysqlConfig_5_7, mysqlConfig_8_0.

Cluster-wide MySQL configuration.

mysqlConfig_8_0

MysqlConfig8_0

Configuration for a MySQL 8.0 cluster.

Includes only one of the fields mysqlConfig_5_7, mysqlConfig_8_0.

Cluster-wide MySQL configuration.

resources

Resources

Resource preset for the cluster hosts.

backupWindowStart

TimeOfDay

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

access

Access

Access policy for external services.

If the specific services need to access the cluster, then set the necessary values in this policy.

performanceDiagnostics

PerformanceDiagnostics

Configuration of the performance diagnostics service.

backupRetainPeriodDays

string (int64)

Retention policy of automated backups.

MysqlConfig5_7MysqlConfig5_7

Options and structure of MysqlConfig5_7 reflects MySQL 5.7 configuration file.

Field

Description

innodbBufferPoolSize

string (int64)

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

See MySQL documentation for details.

maxConnections

string (int64)

The maximum permitted number of simultaneous client connections.

See MySQL documentation for details.

longQueryTime

number (double)

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

See MySQL documentation for details.

generalLog

boolean

Enable writing of general query log of MySQL.

See MySQL documentation for details.

auditLog

boolean

Enable writing of audit log of MySQL.

See MySQL documentation for details.

sqlMode[]

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

maxAllowedPacket

string (int64)

The maximum size in bytes of one packet.

See MySQL documentation for details.

defaultAuthenticationPlugin

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.

innodbFlushLogAtTrxCommit

string (int64)

Transaction log flush behaviour.

See MySQL documentation for details.

innodbLockWaitTimeout

string (int64)

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

See MySQL documentation for details.

transactionIsolation

enum (TransactionIsolation)

Default transaction isolation level.

See MySQL documentation for details.

  • TRANSACTION_ISOLATION_UNSPECIFIED
  • READ_COMMITTED
  • REPEATABLE_READ
  • SERIALIZABLE

innodbPrintAllDeadlocks

boolean

Print information about deadlocks in error log.

See MySQL documentation for details.

netReadTimeout

string (int64)

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

See MySQL documentation for details.

netWriteTimeout

string (int64)

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

See MySQL documentation for details.

groupConcatMaxLen

string (int64)

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

See MySQL documentation for details.

tmpTableSize

string (int64)

The maximum size of internal in-memory temporary tables.

See MySQL documentation for details.

maxHeapTableSize

string (int64)

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

See MySQL documentation for details.

defaultTimeZone

string

The servers default time zone.

See MySQL documentation for details.

characterSetServer

string

The servers default character set.

See MySQL documentation for details.

collationServer

string

The server default collation.

See MySQL documentation for details.

innodbAdaptiveHashIndex

boolean

Enables InnoDB adaptive hash index.

See MySQL documentation for details.

innodbNumaInterleave

boolean

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

See MySQL documentation for details.

innodbLogBufferSize

string (int64)

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

See MySQL documentation for details.

innodbLogFileSize

string (int64)

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

See MySQL documentation for details.

innodbIoCapacity

string (int64)

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodbIoCapacityMax

string (int64)

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodbReadIoThreads

string (int64)

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

See MySQL documentation for details.

innodbWriteIoThreads

string (int64)

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

See MySQL documentation for details.

innodbPurgeThreads

string (int64)

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

See MySQL documentation for details.

innodbThreadConcurrency

string (int64)

Defines the maximum number of threads permitted inside of InnoDB.

See MySQL documentation for details.

innodbTempDataFileMaxSize

string (int64)

Limits the max size of InnoDB temp tablespace.

See MySQL documentation for details.

threadCacheSize

string (int64)

A number of threads the server should cache for reuse.

See MySQL documentation for details.

threadStack

string (int64)

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

See MySQL documentation for details.

joinBufferSize

string (int64)

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.

sortBufferSize

string (int64)

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

See MySQL documentation for details.

tableDefinitionCache

string (int64)

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

See MySQL documentation for details.

tableOpenCache

string (int64)

The number of open tables for all threads.

See MySQL documentation for details.

tableOpenCacheInstances

string (int64)

The number of open tables cache instances.

See MySQL documentation for details.

explicitDefaultsForTimestamp

boolean

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

See MySQL documentation for details.

autoIncrementIncrement

string (int64)

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

autoIncrementOffset

string (int64)

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

syncBinlog

string (int64)

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

See MySQL documentation for details.

binlogCacheSize

string (int64)

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

See MySQL documentation for details.

binlogGroupCommitSyncDelay

string (int64)

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.

binlogRowImage

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

binlogRowsQueryLogEvents

boolean

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.

rplSemiSyncMasterWaitForSlaveCount

string (int64)

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

See MySQL documentation for details.

slaveParallelType

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

slaveParallelWorkers

string (int64)

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

See MySQL documentation for details.

mdbPreserveBinlogBytes

string (int64)

The size of the binary log to hold.

interactiveTimeout

string (int64)

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

See MySQL documentation for details.

waitTimeout

string (int64)

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

See MySQL documentation for details.

mdbOfflineModeEnableLag

string (int64)

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

mdbOfflineModeDisableLag

string (int64)

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

rangeOptimizerMaxMemSize

string (int64)

The limit on memory consumption for the range optimizer.

See MySQL documentation for details.

slowQueryLog

boolean

Manages slow query log.

See MySQL documentation for details.

slowQueryLogAlwaysWriteTime

number (double)

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.

logSlowRateType

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

logSlowRateLimit

string (int64)

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

See Percona documentation for details.

logSlowSpStatements

boolean

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

See Percona documentation for details.

logSlowFilter[]

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

mdbPriorityChoiceMaxLag

string (int64)

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.

innodbPageSize

string (int64)

Specifies the page size for InnoDB tablespaces.

For details, see MySQL documentation for the variable.

innodbOnlineAlterLogMaxSize

string (int64)

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.

innodbFtMinTokenSize

string (int64)

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

For details, see MySQL documentation for the variable.

innodbFtMaxTokenSize

string (int64)

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

For details, see MySQL documentation for the variable.

lowerCaseTableNames

string (int64)

Table names storage and comparison strategy

For details, see MySQL documentation for the variable.

showCompatibility_56

boolean

Manages MySQL 5.6 compatibility

For details, see MySQL documentation for the variable.

maxSpRecursionDepth

string (int64)

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

For details, see MySQL documentation for the variable.

innodbCompressionLevel

string (int64)

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

For details, see MySQL documentation for the variable.

binlogTransactionDependencyTracking

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

boolean

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.

innodbStatusOutput

boolean

Enables or disables periodic output for the standard InnoDB Monitor.

For details, see MySQL documentation for the variable.

innodbStrictMode

boolean

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.

innodbPrintLockWaitTimeoutInfo

boolean

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

For details, see Percona documentation for the variable.

logErrorVerbosity

string (int64)

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

For details, see MySQL documentation for the variable.

maxDigestLength

string (int64)

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

For details, see MySQL documentation for the variable.

queryCacheLimit

string (int64)

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

For details, see MySQL documentation for the variable.

queryCacheSize

string (int64)

The amount of memory allocated for caching query results.

For details, see MySQL documentation for the variable.

queryCacheType

string (int64)

Set the query cache type.

For details, see MySQL documentation for the variable.

lockWaitTimeout

string (int64)

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

For details, see MySQL documentation for the variable.

maxPreparedStmtCount

string (int64)

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

For details, see MySQL documentation for the variable.

optimizerSwitch

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

optimizerSearchDepth

string (int64)

The maximum depth of search performed by the query optimizer

For details, see MySQL documentation for the variable

queryResponseTimeStats

boolean

Enables and disables collection of query times

For details, see Percona documentation for the variable.

userstat

boolean

Enables or disables collection of statistics

For details, see Percona documentation for the variable.

maxExecutionTime

string (int64)

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

auditLogPolicy

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

innodbLruScanDepth

string (int64)

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

mdbForceSsl

boolean

Force ssl on all hosts (require_secure_transport)

innodbChangeBuffering

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

MysqlConfig8_0MysqlConfig8_0

Options and structure of MysqlConfig8_0 reflects MySQL 8.0 configuration file.

Field

Description

innodbBufferPoolSize

string (int64)

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

See MySQL documentation for details.

maxConnections

string (int64)

The maximum permitted number of simultaneous client connections.

See MySQL documentation for details.

longQueryTime

number (double)

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

See MySQL documentation for details.

generalLog

boolean

Enable writing of general query log of MySQL.

See MySQL documentation for details.

auditLog

boolean

Enable writing of audit log of MySQL.

See MySQL documentation for details.

sqlMode[]

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

maxAllowedPacket

string (int64)

The maximum size in bytes of one packet.

See MySQL documentation for details.

defaultAuthenticationPlugin

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.

innodbFlushLogAtTrxCommit

string (int64)

Transaction log flush behaviour.

See MySQL documentation for details.

innodbLockWaitTimeout

string (int64)

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

See MySQL documentation for details.

transactionIsolation

enum (TransactionIsolation)

Default transaction isolation level.

See MySQL documentation for details.

  • TRANSACTION_ISOLATION_UNSPECIFIED
  • READ_COMMITTED
  • REPEATABLE_READ
  • SERIALIZABLE

innodbPrintAllDeadlocks

boolean

Print information about deadlocks in error log.

See MySQL documentation for details.

netReadTimeout

string (int64)

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

See MySQL documentation for details.

netWriteTimeout

string (int64)

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

See MySQL documentation for details.

groupConcatMaxLen

string (int64)

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

See MySQL documentation for details.

tmpTableSize

string (int64)

The maximum size of internal in-memory temporary tables.

See MySQL documentation for details.

maxHeapTableSize

string (int64)

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

See MySQL documentation for details.

defaultTimeZone

string

The servers default time zone.

See MySQL documentation for details.

characterSetServer

string

The servers default character set.

See MySQL documentation for details.

collationServer

string

The server default collation.

See MySQL documentation for details.

innodbAdaptiveHashIndex

boolean

Enables InnoDB adaptive hash index.

See MySQL documentation for details.

innodbNumaInterleave

boolean

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

See MySQL documentation for details.

innodbLogBufferSize

string (int64)

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

See MySQL documentation for details.

innodbLogFileSize

string (int64)

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

See MySQL documentation for details.

innodbIoCapacity

string (int64)

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodbIoCapacityMax

string (int64)

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodbReadIoThreads

string (int64)

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

See MySQL documentation for details.

innodbWriteIoThreads

string (int64)

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

See MySQL documentation for details.

innodbPurgeThreads

string (int64)

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

See MySQL documentation for details.

innodbThreadConcurrency

string (int64)

Defines the maximum number of threads permitted inside of InnoDB.

See MySQL documentation for details.

innodbTempDataFileMaxSize

string (int64)

Limits the max size of InnoDB temp tablespace.

See MySQL documentation for details.

threadCacheSize

string (int64)

How many threads the server should cache for reuse.

See MySQL documentation for details.

threadStack

string (int64)

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

See MySQL documentation for details.

joinBufferSize

string (int64)

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.

sortBufferSize

string (int64)

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

See MySQL documentation for details.

tableDefinitionCache

string (int64)

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

See MySQL documentation for details.

tableOpenCache

string (int64)

The number of open tables for all threads.

See MySQL documentation for details.

tableOpenCacheInstances

string (int64)

The number of open tables cache instances.

See MySQL documentation for details.

explicitDefaultsForTimestamp

boolean

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

See MySQL documentation for details.

autoIncrementIncrement

string (int64)

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

autoIncrementOffset

string (int64)

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

syncBinlog

string (int64)

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

See MySQL documentation for details.

binlogCacheSize

string (int64)

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

See MySQL documentation for details.

binlogGroupCommitSyncDelay

string (int64)

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

See MySQL documentation for details.

binlogRowImage

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

binlogRowsQueryLogEvents

boolean

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.

rplSemiSyncMasterWaitForSlaveCount

string (int64)

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

See MySQL documentation for details.

slaveParallelType

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

slaveParallelWorkers

string (int64)

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

See MySQL documentation for details.

regexpTimeLimit

string (int64)

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

See MySQL documentation for details.

mdbPreserveBinlogBytes

string (int64)

The size of the binary log to hold.

interactiveTimeout

string (int64)

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

See MySQL documentation for details.

waitTimeout

string (int64)

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

See MySQL documentation for details.

mdbOfflineModeEnableLag

string (int64)

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

mdbOfflineModeDisableLag

string (int64)

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

rangeOptimizerMaxMemSize

string (int64)

The limit on memory consumption for the range optimizer.

See MySQL documentation for details.

slowQueryLog

boolean

Manages slow query log.

See MySQL documentation for details.

slowQueryLogAlwaysWriteTime

number (double)

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.

logSlowRateType

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

logSlowRateLimit

string (int64)

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

See Percona documentation for details.

logSlowSpStatements

boolean

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

See Percona documentation for details.

logSlowFilter[]

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

mdbPriorityChoiceMaxLag

string (int64)

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.

innodbPageSize

string (int64)

Specifies the page size for InnoDB tablespaces.

For details, see MySQL documentation for the variable.

innodbOnlineAlterLogMaxSize

string (int64)

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.

innodbFtMinTokenSize

string (int64)

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

See MySQL documentation for the variable for details.

innodbFtMaxTokenSize

string (int64)

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

See MySQL documentation for the variable for details.

lowerCaseTableNames

string (int64)

Table names storage and comparison strategy

See MySQL documentation for the variable for details.

maxSpRecursionDepth

string (int64)

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

For details, see MySQL documentation for the variable.

innodbCompressionLevel

string (int64)

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

For details, see MySQL documentation for the variable.

binlogTransactionDependencyTracking

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

boolean

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.

innodbStatusOutput

boolean

Enables or disables periodic output for the standard InnoDB Monitor.

For details, see MySQL documentation for the variable.

innodbStrictMode

boolean

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.

innodbPrintLockWaitTimeoutInfo

boolean

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

For details, see Percona documentation for the variable.

logErrorVerbosity

string (int64)

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

For details, see MySQL documentation for the variable.

maxDigestLength

string (int64)

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

For details, see MySQL documentation for the variable.

lockWaitTimeout

string (int64)

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

For details, see MySQL documentation for the variable.

maxPreparedStmtCount

string (int64)

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

For details, see MySQL documentation for the variable.

optimizerSwitch

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

optimizerSearchDepth

string (int64)

The maximum depth of search performed by the query optimizer

For details, see MySQL documentation for the variable

userstat

boolean

Enables or disables collection of statistics

For details, see Percona documentation for the variable.

maxExecutionTime

string (int64)

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

auditLogPolicy

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

replicationSenderObserveCommitOnly

boolean

Limit callbacks to improve performance for semisynchronous replication

For details, see MySQL documentation for the variable.

replicationOptimizeForStaticPluginConfig

boolean

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

For details, see MySQL documentation for the variable.

innodbLruScanDepth

string (int64)

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

sqlRequirePrimaryKey

boolean

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.

mdbForceSsl

boolean

Force ssl on all hosts (require_secure_transport)

innodbChangeBuffering

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

resourcePresetId

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.

diskSize

string (int64)

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

diskTypeId

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.

TimeOfDayTimeOfDay

Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are google.type.Date and google.protobuf.Timestamp.

Field

Description

hours

integer (int32)

Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
to allow the value "24:00:00" for scenarios like business closing time.

minutes

integer (int32)

Minutes of hour of day. Must be from 0 to 59.

seconds

integer (int32)

Seconds of minutes of the time. Must normally be from 0 to 59. An API may
allow the value 60 if it allows leap-seconds.

nanos

integer (int32)

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

AccessAccess

Field

Description

dataLens

boolean

Allows access from DataLens.

See the documentation for details.

webSql

boolean

Allows SQL queries to the cluster databases from management console.

See the documentation for details.

dataTransfer

boolean

Allow access for DataTransfer.

PerformanceDiagnosticsPerformanceDiagnostics

Field

Description

enabled

boolean

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

sessionsSamplingInterval

string (int64)

Interval (in seconds) for my_session sampling.

statementsSamplingInterval

string (int64)

Interval (in seconds) for my_statements sampling.

DatabaseSpecDatabaseSpec

Field

Description

name

string

Required field. Name of the database.

UserSpecUserSpec

Field

Description

name

string

Required field. Name of the user.

password

string

Required field. Password of the user.

permissions[]

Permission

Set of permissions granted to the user to access specific databases.
One permission per database.

When a permission for a database is set, the user will have access to the database.

globalPermissions[]

enum (GlobalPermission)

Set of global permissions to grant to the user.

  • GLOBAL_PERMISSION_UNSPECIFIED

  • REPLICATION_CLIENT: Enables use of the SHOW MASTER STATUS, SHOW SLAVE STATUS, and SHOW BINARY LOGS statements.

  • REPLICATION_SLAVE: Enables the account to request updates that have been made to databases on the master server,
    using the SHOW SLAVE HOSTS, SHOW RELAYLOG EVENTS and SHOW BINLOG EVENTS statements.

  • PROCESS: Enables display of information about the the statements currently being performed by sessions (the set of threads executing within the server).

    The privilege enables use of SHOW PROCESSLIST or mysqladmin processlist to see threads belonging to other users.
    You can always see your own threads. The PROCESS privilege also enables use of SHOW ENGINE.

  • FLUSH_OPTIMIZER_COSTS: Enables use of the FLUSH OPTIMIZER_COSTS statement.

  • SHOW_ROUTINE: Enables a user to access definitions and properties of all stored routines (stored procedures and functions), even those for which the user is not named as the routine DEFINER.
    This access includes:
    The contents of the Information Schema ROUTINES table.
    The SHOW CREATE FUNCTION and SHOW CREATE PROCEDURE statements.
    The SHOW FUNCTION CODE and SHOW PROCEDURE CODE statements.
    The SHOW FUNCTION STATUS and SHOW PROCEDURE STATUS statements.

connectionLimits

ConnectionLimits

Set of user connection limits.

authenticationPlugin

enum (AuthPlugin)

User authentication plugin.

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

generatePassword

boolean

Generate password using Connection Manager.

PermissionPermission

Field

Description

databaseName

string

Name of the database that the permission grants access to.

roles[]

enum (Privilege)

Roles granted to the user within the database.

See the documentation for details.

  • PRIVILEGE_UNSPECIFIED

  • ALL_PRIVILEGES: All privileges that can be made available to the user.

  • ALTER: Altering tables.

  • ALTER_ROUTINE: Altering stored routines and functions.

  • CREATE: Creating tables or indexes.

  • CREATE_ROUTINE: Creating stored routines.

  • CREATE_TEMPORARY_TABLES: Creating temporary tables.

  • CREATE_VIEW: Creating views.

  • DELETE: Deleting tables.

  • DROP: Removing tables or views.

  • EVENT: Creating, altering, dropping, or displaying events for the Event Scheduler.

  • EXECUTE: Executing stored routines.

  • INDEX: Creating and removing indexes.

  • INSERT: Inserting rows into the database.

  • LOCK_TABLES: Using LOCK TABLES statement for tables available with SELECT privilege.

  • SELECT: Selecting rows from tables.

    Some SELECT statements can be allowed without the SELECT privilege. All statements that read column values require the SELECT privilege.

    See MySQL documentation for details.

  • SHOW_VIEW: Using the SHOW CREATE VIEW statement. Also needed for views used with EXPLAIN.

  • TRIGGER: Creating, removing, executing, or displaying triggers for a table.

  • UPDATE: Updating rows in the database.

  • REFERENCES: Creation of a foreign key constraint for the parent table.

ConnectionLimitsConnectionLimits

Field

Description

maxQuestionsPerHour

string (int64)

The maximum permitted number of user questions per hour.

maxUpdatesPerHour

string (int64)

The maximum permitted number of user updates per hour.

maxConnectionsPerHour

string (int64)

The maximum permitted number of simultaneous client connections per hour.

maxUserConnections

string (int64)

The maximum number of simultaneous connections permitted to any given MySQL user account.

HostSpecHostSpec

Field

Description

zoneId

string

ID of the availability zone where the host resides.

To get a list of available zones, make the yandex.cloud.compute.v1.ZoneService.List request.

subnetId

string

ID of the subnet to assign to the host.

This subnet should be a part of the cluster network (the network ID is specified in the ClusterService.CreateClusterRequest.networkId).

assignPublicIp

boolean

Option that enables public IP address for the host so that the host can be accessed from the internet.

After a host has been created, this setting cannot be changed.
To remove an assigned public IP address, or to assign a public IP address to a host without one, recreate the host with the appropriate assignPublicIp value set.

Possible values:

  • false - don't assign a public IP address to the host.
  • true - assign a public IP address to the host.

replicationSource

string

Host.name of the host to be used as the replication source (for cascading replication).

backupPriority

string (int64)

Host backup priority

priority

string (int64)

Host master promotion priority

MaintenanceWindowMaintenanceWindow

Configuration of a maintenance window in a MySQL cluster.

Field

Description

anytime

object

Maintenance operation can be scheduled anytime.

Includes only one of the fields anytime, weeklyMaintenanceWindow.

The maintenance policy in effect.

weeklyMaintenanceWindow

WeeklyMaintenanceWindow

Maintenance operation can be scheduled on a weekly basis.

Includes only one of the fields anytime, weeklyMaintenanceWindow.

The maintenance policy in effect.

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

string (int64)

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

ResponseResponse

HTTP Code: 200 - OK

{
  "id": "string",
  "description": "string",
  "createdAt": "string",
  "createdBy": "string",
  "modifiedAt": "string",
  "done": "boolean",
  "metadata": {
    "clusterId": "string"
  },
  // Includes only one of the fields `error`, `response`
  "error": {
    "code": "integer",
    "message": "string",
    "details": [
      "object"
    ]
  },
  "response": {
    "id": "string",
    "folderId": "string",
    "createdAt": "string",
    "name": "string",
    "description": "string",
    "labels": "object",
    "environment": "string",
    "monitoring": [
      {
        "name": "string",
        "description": "string",
        "link": "string"
      }
    ],
    "config": {
      "version": "string",
      // Includes only one of the fields `mysqlConfig_5_7`, `mysqlConfig_8_0`
      "mysqlConfig_5_7": {
        "effectiveConfig": {
          "innodbBufferPoolSize": "string",
          "maxConnections": "string",
          "longQueryTime": "number",
          "generalLog": "boolean",
          "auditLog": "boolean",
          "sqlMode": [
            "string"
          ],
          "maxAllowedPacket": "string",
          "defaultAuthenticationPlugin": "string",
          "innodbFlushLogAtTrxCommit": "string",
          "innodbLockWaitTimeout": "string",
          "transactionIsolation": "string",
          "innodbPrintAllDeadlocks": "boolean",
          "netReadTimeout": "string",
          "netWriteTimeout": "string",
          "groupConcatMaxLen": "string",
          "tmpTableSize": "string",
          "maxHeapTableSize": "string",
          "defaultTimeZone": "string",
          "characterSetServer": "string",
          "collationServer": "string",
          "innodbAdaptiveHashIndex": "boolean",
          "innodbNumaInterleave": "boolean",
          "innodbLogBufferSize": "string",
          "innodbLogFileSize": "string",
          "innodbIoCapacity": "string",
          "innodbIoCapacityMax": "string",
          "innodbReadIoThreads": "string",
          "innodbWriteIoThreads": "string",
          "innodbPurgeThreads": "string",
          "innodbThreadConcurrency": "string",
          "innodbTempDataFileMaxSize": "string",
          "threadCacheSize": "string",
          "threadStack": "string",
          "joinBufferSize": "string",
          "sortBufferSize": "string",
          "tableDefinitionCache": "string",
          "tableOpenCache": "string",
          "tableOpenCacheInstances": "string",
          "explicitDefaultsForTimestamp": "boolean",
          "autoIncrementIncrement": "string",
          "autoIncrementOffset": "string",
          "syncBinlog": "string",
          "binlogCacheSize": "string",
          "binlogGroupCommitSyncDelay": "string",
          "binlogRowImage": "string",
          "binlogRowsQueryLogEvents": "boolean",
          "rplSemiSyncMasterWaitForSlaveCount": "string",
          "slaveParallelType": "string",
          "slaveParallelWorkers": "string",
          "mdbPreserveBinlogBytes": "string",
          "interactiveTimeout": "string",
          "waitTimeout": "string",
          "mdbOfflineModeEnableLag": "string",
          "mdbOfflineModeDisableLag": "string",
          "rangeOptimizerMaxMemSize": "string",
          "slowQueryLog": "boolean",
          "slowQueryLogAlwaysWriteTime": "number",
          "logSlowRateType": "string",
          "logSlowRateLimit": "string",
          "logSlowSpStatements": "boolean",
          "logSlowFilter": [
            "string"
          ],
          "mdbPriorityChoiceMaxLag": "string",
          "innodbPageSize": "string",
          "innodbOnlineAlterLogMaxSize": "string",
          "innodbFtMinTokenSize": "string",
          "innodbFtMaxTokenSize": "string",
          "lowerCaseTableNames": "string",
          "showCompatibility_56": "boolean",
          "maxSpRecursionDepth": "string",
          "innodbCompressionLevel": "string",
          "binlogTransactionDependencyTracking": "string",
          "autocommit": "boolean",
          "innodbStatusOutput": "boolean",
          "innodbStrictMode": "boolean",
          "innodbPrintLockWaitTimeoutInfo": "boolean",
          "logErrorVerbosity": "string",
          "maxDigestLength": "string",
          "queryCacheLimit": "string",
          "queryCacheSize": "string",
          "queryCacheType": "string",
          "lockWaitTimeout": "string",
          "maxPreparedStmtCount": "string",
          "optimizerSwitch": "string",
          "optimizerSearchDepth": "string",
          "queryResponseTimeStats": "boolean",
          "userstat": "boolean",
          "maxExecutionTime": "string",
          "auditLogPolicy": "string",
          "innodbLruScanDepth": "string",
          "mdbForceSsl": "boolean",
          "innodbChangeBuffering": "string"
        },
        "userConfig": {
          "innodbBufferPoolSize": "string",
          "maxConnections": "string",
          "longQueryTime": "number",
          "generalLog": "boolean",
          "auditLog": "boolean",
          "sqlMode": [
            "string"
          ],
          "maxAllowedPacket": "string",
          "defaultAuthenticationPlugin": "string",
          "innodbFlushLogAtTrxCommit": "string",
          "innodbLockWaitTimeout": "string",
          "transactionIsolation": "string",
          "innodbPrintAllDeadlocks": "boolean",
          "netReadTimeout": "string",
          "netWriteTimeout": "string",
          "groupConcatMaxLen": "string",
          "tmpTableSize": "string",
          "maxHeapTableSize": "string",
          "defaultTimeZone": "string",
          "characterSetServer": "string",
          "collationServer": "string",
          "innodbAdaptiveHashIndex": "boolean",
          "innodbNumaInterleave": "boolean",
          "innodbLogBufferSize": "string",
          "innodbLogFileSize": "string",
          "innodbIoCapacity": "string",
          "innodbIoCapacityMax": "string",
          "innodbReadIoThreads": "string",
          "innodbWriteIoThreads": "string",
          "innodbPurgeThreads": "string",
          "innodbThreadConcurrency": "string",
          "innodbTempDataFileMaxSize": "string",
          "threadCacheSize": "string",
          "threadStack": "string",
          "joinBufferSize": "string",
          "sortBufferSize": "string",
          "tableDefinitionCache": "string",
          "tableOpenCache": "string",
          "tableOpenCacheInstances": "string",
          "explicitDefaultsForTimestamp": "boolean",
          "autoIncrementIncrement": "string",
          "autoIncrementOffset": "string",
          "syncBinlog": "string",
          "binlogCacheSize": "string",
          "binlogGroupCommitSyncDelay": "string",
          "binlogRowImage": "string",
          "binlogRowsQueryLogEvents": "boolean",
          "rplSemiSyncMasterWaitForSlaveCount": "string",
          "slaveParallelType": "string",
          "slaveParallelWorkers": "string",
          "mdbPreserveBinlogBytes": "string",
          "interactiveTimeout": "string",
          "waitTimeout": "string",
          "mdbOfflineModeEnableLag": "string",
          "mdbOfflineModeDisableLag": "string",
          "rangeOptimizerMaxMemSize": "string",
          "slowQueryLog": "boolean",
          "slowQueryLogAlwaysWriteTime": "number",
          "logSlowRateType": "string",
          "logSlowRateLimit": "string",
          "logSlowSpStatements": "boolean",
          "logSlowFilter": [
            "string"
          ],
          "mdbPriorityChoiceMaxLag": "string",
          "innodbPageSize": "string",
          "innodbOnlineAlterLogMaxSize": "string",
          "innodbFtMinTokenSize": "string",
          "innodbFtMaxTokenSize": "string",
          "lowerCaseTableNames": "string",
          "showCompatibility_56": "boolean",
          "maxSpRecursionDepth": "string",
          "innodbCompressionLevel": "string",
          "binlogTransactionDependencyTracking": "string",
          "autocommit": "boolean",
          "innodbStatusOutput": "boolean",
          "innodbStrictMode": "boolean",
          "innodbPrintLockWaitTimeoutInfo": "boolean",
          "logErrorVerbosity": "string",
          "maxDigestLength": "string",
          "queryCacheLimit": "string",
          "queryCacheSize": "string",
          "queryCacheType": "string",
          "lockWaitTimeout": "string",
          "maxPreparedStmtCount": "string",
          "optimizerSwitch": "string",
          "optimizerSearchDepth": "string",
          "queryResponseTimeStats": "boolean",
          "userstat": "boolean",
          "maxExecutionTime": "string",
          "auditLogPolicy": "string",
          "innodbLruScanDepth": "string",
          "mdbForceSsl": "boolean",
          "innodbChangeBuffering": "string"
        },
        "defaultConfig": {
          "innodbBufferPoolSize": "string",
          "maxConnections": "string",
          "longQueryTime": "number",
          "generalLog": "boolean",
          "auditLog": "boolean",
          "sqlMode": [
            "string"
          ],
          "maxAllowedPacket": "string",
          "defaultAuthenticationPlugin": "string",
          "innodbFlushLogAtTrxCommit": "string",
          "innodbLockWaitTimeout": "string",
          "transactionIsolation": "string",
          "innodbPrintAllDeadlocks": "boolean",
          "netReadTimeout": "string",
          "netWriteTimeout": "string",
          "groupConcatMaxLen": "string",
          "tmpTableSize": "string",
          "maxHeapTableSize": "string",
          "defaultTimeZone": "string",
          "characterSetServer": "string",
          "collationServer": "string",
          "innodbAdaptiveHashIndex": "boolean",
          "innodbNumaInterleave": "boolean",
          "innodbLogBufferSize": "string",
          "innodbLogFileSize": "string",
          "innodbIoCapacity": "string",
          "innodbIoCapacityMax": "string",
          "innodbReadIoThreads": "string",
          "innodbWriteIoThreads": "string",
          "innodbPurgeThreads": "string",
          "innodbThreadConcurrency": "string",
          "innodbTempDataFileMaxSize": "string",
          "threadCacheSize": "string",
          "threadStack": "string",
          "joinBufferSize": "string",
          "sortBufferSize": "string",
          "tableDefinitionCache": "string",
          "tableOpenCache": "string",
          "tableOpenCacheInstances": "string",
          "explicitDefaultsForTimestamp": "boolean",
          "autoIncrementIncrement": "string",
          "autoIncrementOffset": "string",
          "syncBinlog": "string",
          "binlogCacheSize": "string",
          "binlogGroupCommitSyncDelay": "string",
          "binlogRowImage": "string",
          "binlogRowsQueryLogEvents": "boolean",
          "rplSemiSyncMasterWaitForSlaveCount": "string",
          "slaveParallelType": "string",
          "slaveParallelWorkers": "string",
          "mdbPreserveBinlogBytes": "string",
          "interactiveTimeout": "string",
          "waitTimeout": "string",
          "mdbOfflineModeEnableLag": "string",
          "mdbOfflineModeDisableLag": "string",
          "rangeOptimizerMaxMemSize": "string",
          "slowQueryLog": "boolean",
          "slowQueryLogAlwaysWriteTime": "number",
          "logSlowRateType": "string",
          "logSlowRateLimit": "string",
          "logSlowSpStatements": "boolean",
          "logSlowFilter": [
            "string"
          ],
          "mdbPriorityChoiceMaxLag": "string",
          "innodbPageSize": "string",
          "innodbOnlineAlterLogMaxSize": "string",
          "innodbFtMinTokenSize": "string",
          "innodbFtMaxTokenSize": "string",
          "lowerCaseTableNames": "string",
          "showCompatibility_56": "boolean",
          "maxSpRecursionDepth": "string",
          "innodbCompressionLevel": "string",
          "binlogTransactionDependencyTracking": "string",
          "autocommit": "boolean",
          "innodbStatusOutput": "boolean",
          "innodbStrictMode": "boolean",
          "innodbPrintLockWaitTimeoutInfo": "boolean",
          "logErrorVerbosity": "string",
          "maxDigestLength": "string",
          "queryCacheLimit": "string",
          "queryCacheSize": "string",
          "queryCacheType": "string",
          "lockWaitTimeout": "string",
          "maxPreparedStmtCount": "string",
          "optimizerSwitch": "string",
          "optimizerSearchDepth": "string",
          "queryResponseTimeStats": "boolean",
          "userstat": "boolean",
          "maxExecutionTime": "string",
          "auditLogPolicy": "string",
          "innodbLruScanDepth": "string",
          "mdbForceSsl": "boolean",
          "innodbChangeBuffering": "string"
        }
      },
      "mysqlConfig_8_0": {
        "effectiveConfig": {
          "innodbBufferPoolSize": "string",
          "maxConnections": "string",
          "longQueryTime": "number",
          "generalLog": "boolean",
          "auditLog": "boolean",
          "sqlMode": [
            "string"
          ],
          "maxAllowedPacket": "string",
          "defaultAuthenticationPlugin": "string",
          "innodbFlushLogAtTrxCommit": "string",
          "innodbLockWaitTimeout": "string",
          "transactionIsolation": "string",
          "innodbPrintAllDeadlocks": "boolean",
          "netReadTimeout": "string",
          "netWriteTimeout": "string",
          "groupConcatMaxLen": "string",
          "tmpTableSize": "string",
          "maxHeapTableSize": "string",
          "defaultTimeZone": "string",
          "characterSetServer": "string",
          "collationServer": "string",
          "innodbAdaptiveHashIndex": "boolean",
          "innodbNumaInterleave": "boolean",
          "innodbLogBufferSize": "string",
          "innodbLogFileSize": "string",
          "innodbIoCapacity": "string",
          "innodbIoCapacityMax": "string",
          "innodbReadIoThreads": "string",
          "innodbWriteIoThreads": "string",
          "innodbPurgeThreads": "string",
          "innodbThreadConcurrency": "string",
          "innodbTempDataFileMaxSize": "string",
          "threadCacheSize": "string",
          "threadStack": "string",
          "joinBufferSize": "string",
          "sortBufferSize": "string",
          "tableDefinitionCache": "string",
          "tableOpenCache": "string",
          "tableOpenCacheInstances": "string",
          "explicitDefaultsForTimestamp": "boolean",
          "autoIncrementIncrement": "string",
          "autoIncrementOffset": "string",
          "syncBinlog": "string",
          "binlogCacheSize": "string",
          "binlogGroupCommitSyncDelay": "string",
          "binlogRowImage": "string",
          "binlogRowsQueryLogEvents": "boolean",
          "rplSemiSyncMasterWaitForSlaveCount": "string",
          "slaveParallelType": "string",
          "slaveParallelWorkers": "string",
          "regexpTimeLimit": "string",
          "mdbPreserveBinlogBytes": "string",
          "interactiveTimeout": "string",
          "waitTimeout": "string",
          "mdbOfflineModeEnableLag": "string",
          "mdbOfflineModeDisableLag": "string",
          "rangeOptimizerMaxMemSize": "string",
          "slowQueryLog": "boolean",
          "slowQueryLogAlwaysWriteTime": "number",
          "logSlowRateType": "string",
          "logSlowRateLimit": "string",
          "logSlowSpStatements": "boolean",
          "logSlowFilter": [
            "string"
          ],
          "mdbPriorityChoiceMaxLag": "string",
          "innodbPageSize": "string",
          "innodbOnlineAlterLogMaxSize": "string",
          "innodbFtMinTokenSize": "string",
          "innodbFtMaxTokenSize": "string",
          "lowerCaseTableNames": "string",
          "maxSpRecursionDepth": "string",
          "innodbCompressionLevel": "string",
          "binlogTransactionDependencyTracking": "string",
          "autocommit": "boolean",
          "innodbStatusOutput": "boolean",
          "innodbStrictMode": "boolean",
          "innodbPrintLockWaitTimeoutInfo": "boolean",
          "logErrorVerbosity": "string",
          "maxDigestLength": "string",
          "lockWaitTimeout": "string",
          "maxPreparedStmtCount": "string",
          "optimizerSwitch": "string",
          "optimizerSearchDepth": "string",
          "userstat": "boolean",
          "maxExecutionTime": "string",
          "auditLogPolicy": "string",
          "replicationSenderObserveCommitOnly": "boolean",
          "replicationOptimizeForStaticPluginConfig": "boolean",
          "innodbLruScanDepth": "string",
          "sqlRequirePrimaryKey": "boolean",
          "mdbForceSsl": "boolean",
          "innodbChangeBuffering": "string"
        },
        "userConfig": {
          "innodbBufferPoolSize": "string",
          "maxConnections": "string",
          "longQueryTime": "number",
          "generalLog": "boolean",
          "auditLog": "boolean",
          "sqlMode": [
            "string"
          ],
          "maxAllowedPacket": "string",
          "defaultAuthenticationPlugin": "string",
          "innodbFlushLogAtTrxCommit": "string",
          "innodbLockWaitTimeout": "string",
          "transactionIsolation": "string",
          "innodbPrintAllDeadlocks": "boolean",
          "netReadTimeout": "string",
          "netWriteTimeout": "string",
          "groupConcatMaxLen": "string",
          "tmpTableSize": "string",
          "maxHeapTableSize": "string",
          "defaultTimeZone": "string",
          "characterSetServer": "string",
          "collationServer": "string",
          "innodbAdaptiveHashIndex": "boolean",
          "innodbNumaInterleave": "boolean",
          "innodbLogBufferSize": "string",
          "innodbLogFileSize": "string",
          "innodbIoCapacity": "string",
          "innodbIoCapacityMax": "string",
          "innodbReadIoThreads": "string",
          "innodbWriteIoThreads": "string",
          "innodbPurgeThreads": "string",
          "innodbThreadConcurrency": "string",
          "innodbTempDataFileMaxSize": "string",
          "threadCacheSize": "string",
          "threadStack": "string",
          "joinBufferSize": "string",
          "sortBufferSize": "string",
          "tableDefinitionCache": "string",
          "tableOpenCache": "string",
          "tableOpenCacheInstances": "string",
          "explicitDefaultsForTimestamp": "boolean",
          "autoIncrementIncrement": "string",
          "autoIncrementOffset": "string",
          "syncBinlog": "string",
          "binlogCacheSize": "string",
          "binlogGroupCommitSyncDelay": "string",
          "binlogRowImage": "string",
          "binlogRowsQueryLogEvents": "boolean",
          "rplSemiSyncMasterWaitForSlaveCount": "string",
          "slaveParallelType": "string",
          "slaveParallelWorkers": "string",
          "regexpTimeLimit": "string",
          "mdbPreserveBinlogBytes": "string",
          "interactiveTimeout": "string",
          "waitTimeout": "string",
          "mdbOfflineModeEnableLag": "string",
          "mdbOfflineModeDisableLag": "string",
          "rangeOptimizerMaxMemSize": "string",
          "slowQueryLog": "boolean",
          "slowQueryLogAlwaysWriteTime": "number",
          "logSlowRateType": "string",
          "logSlowRateLimit": "string",
          "logSlowSpStatements": "boolean",
          "logSlowFilter": [
            "string"
          ],
          "mdbPriorityChoiceMaxLag": "string",
          "innodbPageSize": "string",
          "innodbOnlineAlterLogMaxSize": "string",
          "innodbFtMinTokenSize": "string",
          "innodbFtMaxTokenSize": "string",
          "lowerCaseTableNames": "string",
          "maxSpRecursionDepth": "string",
          "innodbCompressionLevel": "string",
          "binlogTransactionDependencyTracking": "string",
          "autocommit": "boolean",
          "innodbStatusOutput": "boolean",
          "innodbStrictMode": "boolean",
          "innodbPrintLockWaitTimeoutInfo": "boolean",
          "logErrorVerbosity": "string",
          "maxDigestLength": "string",
          "lockWaitTimeout": "string",
          "maxPreparedStmtCount": "string",
          "optimizerSwitch": "string",
          "optimizerSearchDepth": "string",
          "userstat": "boolean",
          "maxExecutionTime": "string",
          "auditLogPolicy": "string",
          "replicationSenderObserveCommitOnly": "boolean",
          "replicationOptimizeForStaticPluginConfig": "boolean",
          "innodbLruScanDepth": "string",
          "sqlRequirePrimaryKey": "boolean",
          "mdbForceSsl": "boolean",
          "innodbChangeBuffering": "string"
        },
        "defaultConfig": {
          "innodbBufferPoolSize": "string",
          "maxConnections": "string",
          "longQueryTime": "number",
          "generalLog": "boolean",
          "auditLog": "boolean",
          "sqlMode": [
            "string"
          ],
          "maxAllowedPacket": "string",
          "defaultAuthenticationPlugin": "string",
          "innodbFlushLogAtTrxCommit": "string",
          "innodbLockWaitTimeout": "string",
          "transactionIsolation": "string",
          "innodbPrintAllDeadlocks": "boolean",
          "netReadTimeout": "string",
          "netWriteTimeout": "string",
          "groupConcatMaxLen": "string",
          "tmpTableSize": "string",
          "maxHeapTableSize": "string",
          "defaultTimeZone": "string",
          "characterSetServer": "string",
          "collationServer": "string",
          "innodbAdaptiveHashIndex": "boolean",
          "innodbNumaInterleave": "boolean",
          "innodbLogBufferSize": "string",
          "innodbLogFileSize": "string",
          "innodbIoCapacity": "string",
          "innodbIoCapacityMax": "string",
          "innodbReadIoThreads": "string",
          "innodbWriteIoThreads": "string",
          "innodbPurgeThreads": "string",
          "innodbThreadConcurrency": "string",
          "innodbTempDataFileMaxSize": "string",
          "threadCacheSize": "string",
          "threadStack": "string",
          "joinBufferSize": "string",
          "sortBufferSize": "string",
          "tableDefinitionCache": "string",
          "tableOpenCache": "string",
          "tableOpenCacheInstances": "string",
          "explicitDefaultsForTimestamp": "boolean",
          "autoIncrementIncrement": "string",
          "autoIncrementOffset": "string",
          "syncBinlog": "string",
          "binlogCacheSize": "string",
          "binlogGroupCommitSyncDelay": "string",
          "binlogRowImage": "string",
          "binlogRowsQueryLogEvents": "boolean",
          "rplSemiSyncMasterWaitForSlaveCount": "string",
          "slaveParallelType": "string",
          "slaveParallelWorkers": "string",
          "regexpTimeLimit": "string",
          "mdbPreserveBinlogBytes": "string",
          "interactiveTimeout": "string",
          "waitTimeout": "string",
          "mdbOfflineModeEnableLag": "string",
          "mdbOfflineModeDisableLag": "string",
          "rangeOptimizerMaxMemSize": "string",
          "slowQueryLog": "boolean",
          "slowQueryLogAlwaysWriteTime": "number",
          "logSlowRateType": "string",
          "logSlowRateLimit": "string",
          "logSlowSpStatements": "boolean",
          "logSlowFilter": [
            "string"
          ],
          "mdbPriorityChoiceMaxLag": "string",
          "innodbPageSize": "string",
          "innodbOnlineAlterLogMaxSize": "string",
          "innodbFtMinTokenSize": "string",
          "innodbFtMaxTokenSize": "string",
          "lowerCaseTableNames": "string",
          "maxSpRecursionDepth": "string",
          "innodbCompressionLevel": "string",
          "binlogTransactionDependencyTracking": "string",
          "autocommit": "boolean",
          "innodbStatusOutput": "boolean",
          "innodbStrictMode": "boolean",
          "innodbPrintLockWaitTimeoutInfo": "boolean",
          "logErrorVerbosity": "string",
          "maxDigestLength": "string",
          "lockWaitTimeout": "string",
          "maxPreparedStmtCount": "string",
          "optimizerSwitch": "string",
          "optimizerSearchDepth": "string",
          "userstat": "boolean",
          "maxExecutionTime": "string",
          "auditLogPolicy": "string",
          "replicationSenderObserveCommitOnly": "boolean",
          "replicationOptimizeForStaticPluginConfig": "boolean",
          "innodbLruScanDepth": "string",
          "sqlRequirePrimaryKey": "boolean",
          "mdbForceSsl": "boolean",
          "innodbChangeBuffering": "string"
        }
      },
      // end of the list of possible fields
      "resources": {
        "resourcePresetId": "string",
        "diskSize": "string",
        "diskTypeId": "string"
      },
      "backupWindowStart": {
        "hours": "integer",
        "minutes": "integer",
        "seconds": "integer",
        "nanos": "integer"
      },
      "access": {
        "dataLens": "boolean",
        "webSql": "boolean",
        "dataTransfer": "boolean"
      },
      "performanceDiagnostics": {
        "enabled": "boolean",
        "sessionsSamplingInterval": "string",
        "statementsSamplingInterval": "string"
      },
      "backupRetainPeriodDays": "string"
    },
    "networkId": "string",
    "health": "string",
    "status": "string",
    "maintenanceWindow": {
      // Includes only one of the fields `anytime`, `weeklyMaintenanceWindow`
      "anytime": "object",
      "weeklyMaintenanceWindow": {
        "day": "string",
        "hour": "string"
      }
      // end of the list of possible fields
    },
    "plannedOperation": {
      "info": "string",
      "delayedUntil": "string"
    },
    "securityGroupIds": [
      "string"
    ],
    "deletionProtection": "boolean",
    "hostGroupIds": [
      "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.

createdAt

string (date-time)

Creation timestamp.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

createdBy

string

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

modifiedAt

string (date-time)

The time when the Operation resource was last modified.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

done

boolean

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

CreateClusterMetadata

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

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.

CreateClusterMetadataCreateClusterMetadata

Field

Description

clusterId

string

ID of the cluster that is being created.

StatusStatus

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

Field

Description

code

integer (int32)

Error code. An enum value of google.rpc.Code.

message

string

An error message.

details[]

object

A list of messages that carry the error details.

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.

folderId

string

ID of the folder that the cluster belongs to.

createdAt

string (date-time)

Creation timestamp of the cluster.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

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.

networkId

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.

maintenanceWindow

MaintenanceWindow

Maintenance window settings for the cluster.

plannedOperation

MaintenanceOperation

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

securityGroupIds[]

string

Effective list of security group IDs applied to the cluster.

deletionProtection

boolean

This option prevents unintended deletion of the cluster.

hostGroupIds[]

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.

mysqlConfig_5_7

MysqlConfigSet5_7

Configuration of a MySQL 5.7 server.

Includes only one of the fields mysqlConfig_5_7, mysqlConfig_8_0.

Cluster-wide MySQL configuration.

mysqlConfig_8_0

MysqlConfigSet8_0

Configuration of a MySQL 8.0 server.

Includes only one of the fields mysqlConfig_5_7, mysqlConfig_8_0.

Cluster-wide MySQL configuration.

resources

Resources

Resource preset for the cluster hosts.

backupWindowStart

TimeOfDay

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

access

Access

Access policy for external services.

performanceDiagnostics

PerformanceDiagnostics

Configuration of the performance diagnostics service.

backupRetainPeriodDays

string (int64)

Retention policy of automated backups.

MysqlConfigSet5_7MysqlConfigSet5_7

Field

Description

effectiveConfig

MysqlConfig5_7

Effective settings for a MySQL 5.7 cluster (a combination of settings defined
in userConfig and defaultConfig).

userConfig

MysqlConfig5_7

User-defined settings for a MySQL 5.7 cluster.

defaultConfig

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

innodbBufferPoolSize

string (int64)

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

See MySQL documentation for details.

maxConnections

string (int64)

The maximum permitted number of simultaneous client connections.

See MySQL documentation for details.

longQueryTime

number (double)

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

See MySQL documentation for details.

generalLog

boolean

Enable writing of general query log of MySQL.

See MySQL documentation for details.

auditLog

boolean

Enable writing of audit log of MySQL.

See MySQL documentation for details.

sqlMode[]

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

maxAllowedPacket

string (int64)

The maximum size in bytes of one packet.

See MySQL documentation for details.

defaultAuthenticationPlugin

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.

innodbFlushLogAtTrxCommit

string (int64)

Transaction log flush behaviour.

See MySQL documentation for details.

innodbLockWaitTimeout

string (int64)

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

See MySQL documentation for details.

transactionIsolation

enum (TransactionIsolation)

Default transaction isolation level.

See MySQL documentation for details.

  • TRANSACTION_ISOLATION_UNSPECIFIED
  • READ_COMMITTED
  • REPEATABLE_READ
  • SERIALIZABLE

innodbPrintAllDeadlocks

boolean

Print information about deadlocks in error log.

See MySQL documentation for details.

netReadTimeout

string (int64)

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

See MySQL documentation for details.

netWriteTimeout

string (int64)

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

See MySQL documentation for details.

groupConcatMaxLen

string (int64)

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

See MySQL documentation for details.

tmpTableSize

string (int64)

The maximum size of internal in-memory temporary tables.

See MySQL documentation for details.

maxHeapTableSize

string (int64)

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

See MySQL documentation for details.

defaultTimeZone

string

The servers default time zone.

See MySQL documentation for details.

characterSetServer

string

The servers default character set.

See MySQL documentation for details.

collationServer

string

The server default collation.

See MySQL documentation for details.

innodbAdaptiveHashIndex

boolean

Enables InnoDB adaptive hash index.

See MySQL documentation for details.

innodbNumaInterleave

boolean

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

See MySQL documentation for details.

innodbLogBufferSize

string (int64)

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

See MySQL documentation for details.

innodbLogFileSize

string (int64)

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

See MySQL documentation for details.

innodbIoCapacity

string (int64)

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodbIoCapacityMax

string (int64)

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodbReadIoThreads

string (int64)

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

See MySQL documentation for details.

innodbWriteIoThreads

string (int64)

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

See MySQL documentation for details.

innodbPurgeThreads

string (int64)

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

See MySQL documentation for details.

innodbThreadConcurrency

string (int64)

Defines the maximum number of threads permitted inside of InnoDB.

See MySQL documentation for details.

innodbTempDataFileMaxSize

string (int64)

Limits the max size of InnoDB temp tablespace.

See MySQL documentation for details.

threadCacheSize

string (int64)

A number of threads the server should cache for reuse.

See MySQL documentation for details.

threadStack

string (int64)

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

See MySQL documentation for details.

joinBufferSize

string (int64)

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.

sortBufferSize

string (int64)

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

See MySQL documentation for details.

tableDefinitionCache

string (int64)

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

See MySQL documentation for details.

tableOpenCache

string (int64)

The number of open tables for all threads.

See MySQL documentation for details.

tableOpenCacheInstances

string (int64)

The number of open tables cache instances.

See MySQL documentation for details.

explicitDefaultsForTimestamp

boolean

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

See MySQL documentation for details.

autoIncrementIncrement

string (int64)

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

autoIncrementOffset

string (int64)

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

syncBinlog

string (int64)

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

See MySQL documentation for details.

binlogCacheSize

string (int64)

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

See MySQL documentation for details.

binlogGroupCommitSyncDelay

string (int64)

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.

binlogRowImage

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

binlogRowsQueryLogEvents

boolean

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.

rplSemiSyncMasterWaitForSlaveCount

string (int64)

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

See MySQL documentation for details.

slaveParallelType

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

slaveParallelWorkers

string (int64)

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

See MySQL documentation for details.

mdbPreserveBinlogBytes

string (int64)

The size of the binary log to hold.

interactiveTimeout

string (int64)

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

See MySQL documentation for details.

waitTimeout

string (int64)

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

See MySQL documentation for details.

mdbOfflineModeEnableLag

string (int64)

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

mdbOfflineModeDisableLag

string (int64)

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

rangeOptimizerMaxMemSize

string (int64)

The limit on memory consumption for the range optimizer.

See MySQL documentation for details.

slowQueryLog

boolean

Manages slow query log.

See MySQL documentation for details.

slowQueryLogAlwaysWriteTime

number (double)

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.

logSlowRateType

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

logSlowRateLimit

string (int64)

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

See Percona documentation for details.

logSlowSpStatements

boolean

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

See Percona documentation for details.

logSlowFilter[]

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

mdbPriorityChoiceMaxLag

string (int64)

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.

innodbPageSize

string (int64)

Specifies the page size for InnoDB tablespaces.

For details, see MySQL documentation for the variable.

innodbOnlineAlterLogMaxSize

string (int64)

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.

innodbFtMinTokenSize

string (int64)

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

For details, see MySQL documentation for the variable.

innodbFtMaxTokenSize

string (int64)

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

For details, see MySQL documentation for the variable.

lowerCaseTableNames

string (int64)

Table names storage and comparison strategy

For details, see MySQL documentation for the variable.

showCompatibility_56

boolean

Manages MySQL 5.6 compatibility

For details, see MySQL documentation for the variable.

maxSpRecursionDepth

string (int64)

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

For details, see MySQL documentation for the variable.

innodbCompressionLevel

string (int64)

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

For details, see MySQL documentation for the variable.

binlogTransactionDependencyTracking

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

boolean

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.

innodbStatusOutput

boolean

Enables or disables periodic output for the standard InnoDB Monitor.

For details, see MySQL documentation for the variable.

innodbStrictMode

boolean

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.

innodbPrintLockWaitTimeoutInfo

boolean

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

For details, see Percona documentation for the variable.

logErrorVerbosity

string (int64)

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

For details, see MySQL documentation for the variable.

maxDigestLength

string (int64)

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

For details, see MySQL documentation for the variable.

queryCacheLimit

string (int64)

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

For details, see MySQL documentation for the variable.

queryCacheSize

string (int64)

The amount of memory allocated for caching query results.

For details, see MySQL documentation for the variable.

queryCacheType

string (int64)

Set the query cache type.

For details, see MySQL documentation for the variable.

lockWaitTimeout

string (int64)

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

For details, see MySQL documentation for the variable.

maxPreparedStmtCount

string (int64)

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

For details, see MySQL documentation for the variable.

optimizerSwitch

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

optimizerSearchDepth

string (int64)

The maximum depth of search performed by the query optimizer

For details, see MySQL documentation for the variable

queryResponseTimeStats

boolean

Enables and disables collection of query times

For details, see Percona documentation for the variable.

userstat

boolean

Enables or disables collection of statistics

For details, see Percona documentation for the variable.

maxExecutionTime

string (int64)

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

auditLogPolicy

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

innodbLruScanDepth

string (int64)

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

mdbForceSsl

boolean

Force ssl on all hosts (require_secure_transport)

innodbChangeBuffering

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

effectiveConfig

MysqlConfig8_0

Effective settings for a MySQL 8.0 cluster (a combination of settings defined
in userConfig and defaultConfig).

userConfig

MysqlConfig8_0

User-defined settings for a MySQL 8.0 cluster.

defaultConfig

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

innodbBufferPoolSize

string (int64)

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

See MySQL documentation for details.

maxConnections

string (int64)

The maximum permitted number of simultaneous client connections.

See MySQL documentation for details.

longQueryTime

number (double)

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

See MySQL documentation for details.

generalLog

boolean

Enable writing of general query log of MySQL.

See MySQL documentation for details.

auditLog

boolean

Enable writing of audit log of MySQL.

See MySQL documentation for details.

sqlMode[]

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

maxAllowedPacket

string (int64)

The maximum size in bytes of one packet.

See MySQL documentation for details.

defaultAuthenticationPlugin

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.

innodbFlushLogAtTrxCommit

string (int64)

Transaction log flush behaviour.

See MySQL documentation for details.

innodbLockWaitTimeout

string (int64)

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

See MySQL documentation for details.

transactionIsolation

enum (TransactionIsolation)

Default transaction isolation level.

See MySQL documentation for details.

  • TRANSACTION_ISOLATION_UNSPECIFIED
  • READ_COMMITTED
  • REPEATABLE_READ
  • SERIALIZABLE

innodbPrintAllDeadlocks

boolean

Print information about deadlocks in error log.

See MySQL documentation for details.

netReadTimeout

string (int64)

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

See MySQL documentation for details.

netWriteTimeout

string (int64)

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

See MySQL documentation for details.

groupConcatMaxLen

string (int64)

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

See MySQL documentation for details.

tmpTableSize

string (int64)

The maximum size of internal in-memory temporary tables.

See MySQL documentation for details.

maxHeapTableSize

string (int64)

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

See MySQL documentation for details.

defaultTimeZone

string

The servers default time zone.

See MySQL documentation for details.

characterSetServer

string

The servers default character set.

See MySQL documentation for details.

collationServer

string

The server default collation.

See MySQL documentation for details.

innodbAdaptiveHashIndex

boolean

Enables InnoDB adaptive hash index.

See MySQL documentation for details.

innodbNumaInterleave

boolean

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

See MySQL documentation for details.

innodbLogBufferSize

string (int64)

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

See MySQL documentation for details.

innodbLogFileSize

string (int64)

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

See MySQL documentation for details.

innodbIoCapacity

string (int64)

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodbIoCapacityMax

string (int64)

Limits IO available for InnoDB background tasks.

See MySQL documentation for details.

innodbReadIoThreads

string (int64)

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

See MySQL documentation for details.

innodbWriteIoThreads

string (int64)

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

See MySQL documentation for details.

innodbPurgeThreads

string (int64)

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

See MySQL documentation for details.

innodbThreadConcurrency

string (int64)

Defines the maximum number of threads permitted inside of InnoDB.

See MySQL documentation for details.

innodbTempDataFileMaxSize

string (int64)

Limits the max size of InnoDB temp tablespace.

See MySQL documentation for details.

threadCacheSize

string (int64)

How many threads the server should cache for reuse.

See MySQL documentation for details.

threadStack

string (int64)

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

See MySQL documentation for details.

joinBufferSize

string (int64)

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.

sortBufferSize

string (int64)

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

See MySQL documentation for details.

tableDefinitionCache

string (int64)

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

See MySQL documentation for details.

tableOpenCache

string (int64)

The number of open tables for all threads.

See MySQL documentation for details.

tableOpenCacheInstances

string (int64)

The number of open tables cache instances.

See MySQL documentation for details.

explicitDefaultsForTimestamp

boolean

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

See MySQL documentation for details.

autoIncrementIncrement

string (int64)

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

autoIncrementOffset

string (int64)

Can be used to control the operation of AUTO_INCREMENT columns.

See MySQL documentation for details.

syncBinlog

string (int64)

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

See MySQL documentation for details.

binlogCacheSize

string (int64)

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

See MySQL documentation for details.

binlogGroupCommitSyncDelay

string (int64)

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

See MySQL documentation for details.

binlogRowImage

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

binlogRowsQueryLogEvents

boolean

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.

rplSemiSyncMasterWaitForSlaveCount

string (int64)

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

See MySQL documentation for details.

slaveParallelType

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

slaveParallelWorkers

string (int64)

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

See MySQL documentation for details.

regexpTimeLimit

string (int64)

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

See MySQL documentation for details.

mdbPreserveBinlogBytes

string (int64)

The size of the binary log to hold.

interactiveTimeout

string (int64)

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

See MySQL documentation for details.

waitTimeout

string (int64)

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

See MySQL documentation for details.

mdbOfflineModeEnableLag

string (int64)

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

mdbOfflineModeDisableLag

string (int64)

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

rangeOptimizerMaxMemSize

string (int64)

The limit on memory consumption for the range optimizer.

See MySQL documentation for details.

slowQueryLog

boolean

Manages slow query log.

See MySQL documentation for details.

slowQueryLogAlwaysWriteTime

number (double)

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.

logSlowRateType

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

logSlowRateLimit

string (int64)

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

See Percona documentation for details.

logSlowSpStatements

boolean

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

See Percona documentation for details.

logSlowFilter[]

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

mdbPriorityChoiceMaxLag

string (int64)

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.

innodbPageSize

string (int64)

Specifies the page size for InnoDB tablespaces.

For details, see MySQL documentation for the variable.

innodbOnlineAlterLogMaxSize

string (int64)

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.

innodbFtMinTokenSize

string (int64)

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

See MySQL documentation for the variable for details.

innodbFtMaxTokenSize

string (int64)

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

See MySQL documentation for the variable for details.

lowerCaseTableNames

string (int64)

Table names storage and comparison strategy

See MySQL documentation for the variable for details.

maxSpRecursionDepth

string (int64)

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

For details, see MySQL documentation for the variable.

innodbCompressionLevel

string (int64)

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

For details, see MySQL documentation for the variable.

binlogTransactionDependencyTracking

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

boolean

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.

innodbStatusOutput

boolean

Enables or disables periodic output for the standard InnoDB Monitor.

For details, see MySQL documentation for the variable.

innodbStrictMode

boolean

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.

innodbPrintLockWaitTimeoutInfo

boolean

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

For details, see Percona documentation for the variable.

logErrorVerbosity

string (int64)

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

For details, see MySQL documentation for the variable.

maxDigestLength

string (int64)

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

For details, see MySQL documentation for the variable.

lockWaitTimeout

string (int64)

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

For details, see MySQL documentation for the variable.

maxPreparedStmtCount

string (int64)

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

For details, see MySQL documentation for the variable.

optimizerSwitch

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

optimizerSearchDepth

string (int64)

The maximum depth of search performed by the query optimizer

For details, see MySQL documentation for the variable

userstat

boolean

Enables or disables collection of statistics

For details, see Percona documentation for the variable.

maxExecutionTime

string (int64)

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

auditLogPolicy

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

replicationSenderObserveCommitOnly

boolean

Limit callbacks to improve performance for semisynchronous replication

For details, see MySQL documentation for the variable.

replicationOptimizeForStaticPluginConfig

boolean

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

For details, see MySQL documentation for the variable.

innodbLruScanDepth

string (int64)

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

sqlRequirePrimaryKey

boolean

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.

mdbForceSsl

boolean

Force ssl on all hosts (require_secure_transport)

innodbChangeBuffering

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

resourcePresetId

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.

diskSize

string (int64)

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

diskTypeId

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.

TimeOfDayTimeOfDay

Represents a time of day. The date and time zone are either not significant
or are specified elsewhere. An API may choose to allow leap seconds. Related
types are google.type.Date and google.protobuf.Timestamp.

Field

Description

hours

integer (int32)

Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
to allow the value "24:00:00" for scenarios like business closing time.

minutes

integer (int32)

Minutes of hour of day. Must be from 0 to 59.

seconds

integer (int32)

Seconds of minutes of the time. Must normally be from 0 to 59. An API may
allow the value 60 if it allows leap-seconds.

nanos

integer (int32)

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

AccessAccess

Field

Description

dataLens

boolean

Allows access from DataLens.

See the documentation for details.

webSql

boolean

Allows SQL queries to the cluster databases from management console.

See the documentation for details.

dataTransfer

boolean

Allow access for DataTransfer.

PerformanceDiagnosticsPerformanceDiagnostics

Field

Description

enabled

boolean

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

sessionsSamplingInterval

string (int64)

Interval (in seconds) for my_session sampling.

statementsSamplingInterval

string (int64)

Interval (in seconds) for my_statements sampling.

MaintenanceWindowMaintenanceWindow

Configuration of a maintenance window in a MySQL cluster.

Field

Description

anytime

object

Maintenance operation can be scheduled anytime.

Includes only one of the fields anytime, weeklyMaintenanceWindow.

The maintenance policy in effect.

weeklyMaintenanceWindow

WeeklyMaintenanceWindow

Maintenance operation can be scheduled on a weekly basis.

Includes only one of the fields anytime, weeklyMaintenanceWindow.

The maintenance policy in effect.

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

string (int64)

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

MaintenanceOperationMaintenanceOperation

A planned maintenance operation.

Field

Description

info

string

Information about this maintenance operation.

delayedUntil

string (date-time)

Time until which this maintenance operation is delayed.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

Была ли статья полезна?

Предыдущая
List
Следующая
Update
Проект Яндекса
© 2025 ООО «Яндекс.Облако»