public static class ConfigurationVariables.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConfigurationVariables.Builder |
autocommit(Boolean autocommit)
(“autocommit”)
|
ConfigurationVariables.Builder |
autoIncrementIncrement(Integer autoIncrementIncrement)
auto_increment_increment and auto_increment_offset are intended for use with circular
(source-to-source) replication, and can be used to control the operation of
AUTO_INCREMENT columns.
|
ConfigurationVariables.Builder |
autoIncrementOffset(Integer autoIncrementOffset)
This variable has a default value of 1.
|
ConfigurationVariables.Builder |
bigTables(Boolean bigTables)
If enabled, the server stores all temporary tables on disk rather than in memory.
|
ConfigurationVariables.Builder |
binlogExpireLogsSeconds(Integer binlogExpireLogsSeconds)
Sets the binary log expiration period in seconds.
|
ConfigurationVariables.Builder |
binlogGroupCommitSyncDelay(Integer binlogGroupCommitSyncDelay)
Controls how many microseconds the binary log commit waits before synchronizing the
binary log file to disk.
|
ConfigurationVariables.Builder |
binlogGroupCommitSyncNoDelayCount(Integer binlogGroupCommitSyncNoDelayCount)
The maximum number of transactions to wait for before aborting the current delay as
specified by binlog_group_commit_sync_delay.
|
ConfigurationVariables.Builder |
binlogRowMetadata(ConfigurationVariables.BinlogRowMetadata binlogRowMetadata)
Configures the amount of table metadata added to the binary log when using row-based
logging.
|
ConfigurationVariables.Builder |
binlogRowValueOptions(String binlogRowValueOptions)
When set to PARTIAL_JSON, this enables use of a space-efficient binary log format for
updates that modify only a small portion of a JSON document.
|
ConfigurationVariables.Builder |
binlogTransactionCompression(Boolean binlogTransactionCompression)
Enables compression for transactions that are written to binary log files on this server.
|
ConfigurationVariables.Builder |
blockEncryptionMode(String blockEncryptionMode)
This variable controls the block encryption mode for block-based algorithms such as AES.
|
ConfigurationVariables |
build() |
ConfigurationVariables.Builder |
characterSetServer(ConfigurationVariables.CharacterSetServer characterSetServer)
The server’s default character set.
|
ConfigurationVariables.Builder |
collationServer(ConfigurationVariables.CollationServer collationServer)
The server’s default collation.
|
ConfigurationVariables.Builder |
completionType(ConfigurationVariables.CompletionType completionType)
(“completion_type”)
|
ConfigurationVariables.Builder |
connectionMemoryChunkSize(Integer connectionMemoryChunkSize)
Set the chunking size for updates to the global memory usage counter
Global_connection_memory.
|
ConfigurationVariables.Builder |
connectionMemoryLimit(Long connectionMemoryLimit)
Set the maximum amount of memory that can be used by a single user connection.
|
ConfigurationVariables.Builder |
connectTimeout(Integer connectTimeout)
The number of seconds that the mysqld server waits for a connect packet before responding
with Bad handshake.
|
ConfigurationVariables.Builder |
copy(ConfigurationVariables model) |
ConfigurationVariables.Builder |
cteMaxRecursionDepth(Long cteMaxRecursionDepth)
(“cte_max_recursion_depth”)
|
ConfigurationVariables.Builder |
defaultAuthenticationPlugin(ConfigurationVariables.DefaultAuthenticationPlugin defaultAuthenticationPlugin)
The default authentication plugin.
|
ConfigurationVariables.Builder |
explainFormat(ConfigurationVariables.ExplainFormat explainFormat)
This variable determines the default output format used by EXPLAIN in the absence of a
FORMAT option when displaying a query execution plan.
|
ConfigurationVariables.Builder |
explicitDefaultsForTimestamp(Boolean explicitDefaultsForTimestamp)
This system variable determines whether the server enables certain nonstandard behaviors
for default values and NULL-value handling in TIMESTAMP columns.
|
ConfigurationVariables.Builder |
foreignKeyChecks(Boolean foreignKeyChecks)
(“foreign_key_checks”)
|
ConfigurationVariables.Builder |
generatedRandomPasswordLength(Integer generatedRandomPasswordLength)
(“generated_random_password_length”) DEPRECATED – variable should not be settable and
will be ignored
|
ConfigurationVariables.Builder |
globalConnectionMemoryLimit(Long globalConnectionMemoryLimit)
Set the total amount of memory that can be used by all user connections.
|
ConfigurationVariables.Builder |
globalConnectionMemoryTracking(Boolean globalConnectionMemoryTracking)
Determines whether the MySQL server calculates Global_connection_memory.
|
ConfigurationVariables.Builder |
groupConcatMaxLen(Long groupConcatMaxLen)
Specifies the maximum permitted result length in bytes for the GROUP_CONCAT() function.
|
ConfigurationVariables.Builder |
groupReplicationConsistency(ConfigurationVariables.GroupReplicationConsistency groupReplicationConsistency)
EVENTUAL: Both RO and RW transactions do not wait for preceding transactions to be
applied before executing.
|
ConfigurationVariables.Builder |
informationSchemaStatsExpiry(Integer informationSchemaStatsExpiry)
(“information_schema_stats_expiry”)
|
ConfigurationVariables.Builder |
innodbAdaptiveHashIndex(Boolean innodbAdaptiveHashIndex)
Whether the InnoDB adaptive hash index is enabled or disabled.
|
ConfigurationVariables.Builder |
innodbAutoincLockMode(Integer innodbAutoincLockMode)
The lock mode to use for generating auto-increment values.
|
ConfigurationVariables.Builder |
innodbBufferPoolDumpPct(Integer innodbBufferPoolDumpPct)
Specifies the percentage of the most recently used pages for each buffer pool to read out
and dump.
|
ConfigurationVariables.Builder |
innodbBufferPoolInstances(Integer innodbBufferPoolInstances)
(“innodb_buffer_pool_instances”)
|
ConfigurationVariables.Builder |
innodbBufferPoolSize(Long innodbBufferPoolSize)
The size (in bytes) of the buffer pool, that is, the memory area where InnoDB caches
table and index data.
|
ConfigurationVariables.Builder |
innodbChangeBuffering(ConfigurationVariables.InnodbChangeBuffering innodbChangeBuffering)
Whether InnoDB performs change buffering, an optimization that delays write operations to
secondary indexes so that the I/O operations can be performed sequentially.
|
ConfigurationVariables.Builder |
innodbDdlBufferSize(Long innodbDdlBufferSize)
innodbDdlBufferSize corresponds to the MySQL system variable [innodb_ddl_buffer_size]
(https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_buffer_size)
|
ConfigurationVariables.Builder |
innodbDdlThreads(Integer innodbDdlThreads)
innodbDdlThreads corresponds to the MySQL system variable [innodb_ddl_threads]
(https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_threads)
|
ConfigurationVariables.Builder |
innodbFtEnableStopword(Boolean innodbFtEnableStopword)
(“innodb_ft_enable_stopword”)
|
ConfigurationVariables.Builder |
innodbFtMaxTokenSize(Integer innodbFtMaxTokenSize)
(“innodb_ft_max_token_size”)
|
ConfigurationVariables.Builder |
innodbFtMinTokenSize(Integer innodbFtMinTokenSize)
(“innodb_ft_min_token_size”)
|
ConfigurationVariables.Builder |
innodbFtNumWordOptimize(Integer innodbFtNumWordOptimize)
(“innodb_ft_num_word_optimize”)
|
ConfigurationVariables.Builder |
innodbFtResultCacheLimit(Long innodbFtResultCacheLimit)
(“innodb_ft_result_cache_limit”)
|
ConfigurationVariables.Builder |
innodbFtServerStopwordTable(String innodbFtServerStopwordTable)
(“innodb_ft_server_stopword_table”)
|
ConfigurationVariables.Builder |
innodbLockWaitTimeout(Integer innodbLockWaitTimeout)
(“innodb_lock_wait_timeout”)
|
ConfigurationVariables.Builder |
innodbLogWriterThreads(Boolean innodbLogWriterThreads)
Enables dedicated log writer threads for writing redo log records from the log buffer to
the system buffers and flushing the system buffers to the redo log files.
|
ConfigurationVariables.Builder |
innodbMaxPurgeLag(Long innodbMaxPurgeLag)
The desired maximum purge lag in terms of transactions.
|
ConfigurationVariables.Builder |
innodbMaxPurgeLagDelay(Integer innodbMaxPurgeLagDelay)
The maximum delay in microseconds for the delay imposed when the innodb_max_purge_lag
threshold is exceeded.
|
ConfigurationVariables.Builder |
innodbNumaInterleave(Boolean innodbNumaInterleave)
Enables the NUMA interleave memory policy for allocation of the InnoDB buffer pool.
|
ConfigurationVariables.Builder |
innodbOnlineAlterLogMaxSize(Long innodbOnlineAlterLogMaxSize)
Specifies an upper limit in bytes on the size of the temporary log files used during
online DDL operations for InnoDB tables.
|
ConfigurationVariables.Builder |
innodbRedoLogCapacity(Long innodbRedoLogCapacity)
Defines the amount of disk space occupied by redo log files.
|
ConfigurationVariables.Builder |
innodbRollbackOnTimeout(Boolean innodbRollbackOnTimeout)
InnoDB rolls back only the last statement on a transaction timeout by default.
|
ConfigurationVariables.Builder |
innodbSortBufferSize(Integer innodbSortBufferSize)
This variable defines:
|
ConfigurationVariables.Builder |
innodbStatsPersistentSamplePages(Long innodbStatsPersistentSamplePages)
The number of index pages to sample when estimating cardinality and other statistics for
an indexed column, such as those calculated by ANALYZE TABLE.
|
ConfigurationVariables.Builder |
innodbStatsTransientSamplePages(Long innodbStatsTransientSamplePages)
The number of index pages to sample when estimating cardinality and other statistics for
an indexed column, such as those calculated by ANALYZE
TABLE.
|
ConfigurationVariables.Builder |
innodbStrictMode(Boolean innodbStrictMode)
When you enable innodbStrictMode, the InnoDB storage engine returns errors instead of
warnings for invalid or incompatible table options.
|
ConfigurationVariables.Builder |
innodbUndoLogTruncate(Boolean innodbUndoLogTruncate)
When enabled, undo tablespaces that exceed the threshold value defined by
innodb_max_undo_log_size are marked for truncation.
|
ConfigurationVariables.Builder |
interactiveTimeout(Integer interactiveTimeout)
The number of seconds the server waits for activity on an interactive connection before
closing it.
|
ConfigurationVariables.Builder |
joinBufferSize(Long joinBufferSize)
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.
|
ConfigurationVariables.Builder |
localInfile(Boolean localInfile)
This variable controls server-side LOCAL capability for LOAD DATA statements.
|
ConfigurationVariables.Builder |
longQueryTime(Integer longQueryTime)
If a query takes longer than this many seconds, the server increments the Slow_queries
status variable.
|
ConfigurationVariables.Builder |
mandatoryRoles(String mandatoryRoles)
(“mandatory_roles”)
|
ConfigurationVariables.Builder |
maxAllowedPacket(Integer maxAllowedPacket)
The maximum size of one packet or any generated/intermediate string.
|
ConfigurationVariables.Builder |
maxBinlogCacheSize(Long maxBinlogCacheSize)
Sets the size of the transaction cache.
|
ConfigurationVariables.Builder |
maxConnectErrors(Long maxConnectErrors)
(“max_connect_errors”)
|
ConfigurationVariables.Builder |
maxConnections(Integer maxConnections)
(“max_connections”)
|
ConfigurationVariables.Builder |
maxExecutionTime(Long maxExecutionTime)
(“max_execution_time”)
|
ConfigurationVariables.Builder |
maxHeapTableSize(Long maxHeapTableSize)
This variable sets the maximum size to which user-created MEMORY tables are permitted to
grow.
|
ConfigurationVariables.Builder |
maxPreparedStmtCount(Integer maxPreparedStmtCount)
(“max_prepared_stmt_count”)
|
ConfigurationVariables.Builder |
maxSeeksForKey(Long maxSeeksForKey)
Limit the assumed maximum number of seeks when looking up rows based on a key.
|
ConfigurationVariables.Builder |
maxUserConnections(Long maxUserConnections)
The maximum number of simultaneous connections permitted to any given MySQL user account.
|
ConfigurationVariables.Builder |
mysqlFirewallMode(Boolean mysqlFirewallMode)
(“mysql_firewall_mode”)
|
ConfigurationVariables.Builder |
mysqlxConnectTimeout(Integer mysqlxConnectTimeout)
The number of seconds X Plugin waits for the first packet to be received from newly
connected clients.
|
ConfigurationVariables.Builder |
mysqlxDeflateDefaultCompressionLevel(Integer mysqlxDeflateDefaultCompressionLevel)
Set the default compression level for the deflate algorithm.
|
ConfigurationVariables.Builder |
mysqlxDeflateMaxClientCompressionLevel(Integer mysqlxDeflateMaxClientCompressionLevel)
Limit the upper bound of accepted compression levels for the deflate algorithm.
|
ConfigurationVariables.Builder |
mysqlxDocumentIdUniquePrefix(Integer mysqlxDocumentIdUniquePrefix)
(“mysqlx_document_id_unique_prefix”) DEPRECATED – variable should not be settable and
will be ignored
|
ConfigurationVariables.Builder |
mysqlxEnableHelloNotice(Boolean mysqlxEnableHelloNotice)
(“mysqlx_enable_hello_notice”) DEPRECATED – variable should not be settable and will be
ignored
|
ConfigurationVariables.Builder |
mysqlxIdleWorkerThreadTimeout(Integer mysqlxIdleWorkerThreadTimeout)
(“mysqlx_idle_worker_thread_timeout”) DEPRECATED – variable should not be settable and
will be ignored
|
ConfigurationVariables.Builder |
mysqlxInteractiveTimeout(Integer mysqlxInteractiveTimeout)
The number of seconds to wait for interactive clients to timeout.
|
ConfigurationVariables.Builder |
mysqlxLz4DefaultCompressionLevel(Integer mysqlxLz4DefaultCompressionLevel)
Set the default compression level for the lz4 algorithm.
|
ConfigurationVariables.Builder |
mysqlxLz4MaxClientCompressionLevel(Integer mysqlxLz4MaxClientCompressionLevel)
Limit the upper bound of accepted compression levels for the lz4 algorithm.
|
ConfigurationVariables.Builder |
mysqlxMaxAllowedPacket(Integer mysqlxMaxAllowedPacket)
The maximum size of network packets that can be received by X Plugin.
|
ConfigurationVariables.Builder |
mysqlxMinWorkerThreads(Integer mysqlxMinWorkerThreads)
(“mysqlx_min_worker_threads”) DEPRECATED – variable should not be settable and will be
ignored
|
ConfigurationVariables.Builder |
mysqlxReadTimeout(Integer mysqlxReadTimeout)
The number of seconds that X Plugin waits for blocking read operations to complete.
|
ConfigurationVariables.Builder |
mysqlxWaitTimeout(Integer mysqlxWaitTimeout)
The number of seconds that X Plugin waits for activity on a connection.
|
ConfigurationVariables.Builder |
mysqlxWriteTimeout(Integer mysqlxWriteTimeout)
The number of seconds that X Plugin waits for blocking write operations to complete.
|
ConfigurationVariables.Builder |
mysqlxZstdDefaultCompressionLevel(Integer mysqlxZstdDefaultCompressionLevel)
Set the default compression level for the zstd algorithm.
|
ConfigurationVariables.Builder |
mysqlxZstdMaxClientCompressionLevel(Integer mysqlxZstdMaxClientCompressionLevel)
Limit the upper bound of accepted compression levels for the zstd algorithm.
|
ConfigurationVariables.Builder |
mysqlZstdDefaultCompressionLevel(Integer mysqlZstdDefaultCompressionLevel)
DEPRECATED – typo of mysqlx_zstd_default_compression_level.
|
ConfigurationVariables.Builder |
netReadTimeout(Integer netReadTimeout)
The number of seconds to wait for more data from a connection before aborting the read.
|
ConfigurationVariables.Builder |
netWriteTimeout(Integer netWriteTimeout)
The number of seconds to wait for a block to be written to a connection before aborting
the write.
|
ConfigurationVariables.Builder |
optimizerSwitch(String optimizerSwitch)
The optimizer_switch system variable enables control over optimizer behavior.
|
ConfigurationVariables.Builder |
parserMaxMemSize(Long parserMaxMemSize)
(“parser_max_mem_size”)
|
ConfigurationVariables.Builder |
queryAllocBlockSize(Long queryAllocBlockSize)
(“query_alloc_block_size”) DEPRECATED – variable should not be settable and will be
ignored
|
ConfigurationVariables.Builder |
queryPreallocSize(Long queryPreallocSize)
(“query_prealloc_size”) DEPRECATED – variable should not be settable and will be ignored
|
ConfigurationVariables.Builder |
rangeOptimizerMaxMemSize(Long rangeOptimizerMaxMemSize)
The limit on memory consumption for the range optimizer.
|
ConfigurationVariables.Builder |
regexpTimeLimit(Integer regexpTimeLimit)
regexpTimeLimit corresponds to the MySQL system variable [regexp_time_limit]
(https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_regexp_time_limit)
|
ConfigurationVariables.Builder |
relayLogSpaceLimit(Long relayLogSpaceLimit)
The maximum amount of space to use for all relay logs.
|
ConfigurationVariables.Builder |
replicaNetTimeout(Integer replicaNetTimeout)
Specifies the number of seconds to wait for more data or a heartbeat signal from the
source before the replica considers the connection broken, aborts the read, and tries to
reconnect.
|
ConfigurationVariables.Builder |
replicaParallelWorkers(Integer replicaParallelWorkers)
Beginning with MySQL 8.0.26, slave_parallel_workers is deprecated, and you should use
replica_parallel_workers instead.
|
ConfigurationVariables.Builder |
replicaTypeConversions(String replicaTypeConversions)
From MySQL 8.0.26, use replica_type_conversions in place of slave_type_conversions, which
is deprecated from that release.
|
ConfigurationVariables.Builder |
requireSecureTransport(Boolean requireSecureTransport)
Whether client connections to the server are required to use some form of secure
transport.
|
ConfigurationVariables.Builder |
skipNameResolve(Boolean skipNameResolve)
Whether to resolve host names when checking client connections.
|
ConfigurationVariables.Builder |
sortBufferSize(Long sortBufferSize)
Each session that must perform a sort allocates a buffer of this size.
|
ConfigurationVariables.Builder |
sqlGenerateInvisiblePrimaryKey(Boolean sqlGenerateInvisiblePrimaryKey)
Whether GIPK mode is in effect, in which case a MySQL replication source server adds a
generated invisible primary key to any InnoDB table that is created without one.
|
ConfigurationVariables.Builder |
sqlMode(String sqlMode)
(“sql_mode”)
|
ConfigurationVariables.Builder |
sqlRequirePrimaryKey(Boolean sqlRequirePrimaryKey)
(“sql_require_primary_key”)
|
ConfigurationVariables.Builder |
sqlWarnings(Boolean sqlWarnings)
(“sql_warnings”)
|
ConfigurationVariables.Builder |
tableDefinitionCache(Integer tableDefinitionCache)
The number of table definitions that can be stored in the table definition cache.
|
ConfigurationVariables.Builder |
tableOpenCache(Integer tableOpenCache)
The number of open tables for all threads.
|
ConfigurationVariables.Builder |
temptableMaxRam(Long temptableMaxRam)
Defines the maximum amount of memory that can be occupied by the TempTable storage engine
before it starts storing data on disk.
|
ConfigurationVariables.Builder |
threadPoolDedicatedListeners(Boolean threadPoolDedicatedListeners)
Controls whether the thread pool uses dedicated listener threads.
|
ConfigurationVariables.Builder |
threadPoolMaxTransactionsLimit(Integer threadPoolMaxTransactionsLimit)
Limits the maximum number of open transactions to the defined value.
|
ConfigurationVariables.Builder |
threadPoolQueryThreadsPerGroup(Integer threadPoolQueryThreadsPerGroup)
The maximum number of query threads permitted in a thread group.
|
ConfigurationVariables.Builder |
threadPoolSize(Integer threadPoolSize)
The number of thread groups in the thread pool.
|
ConfigurationVariables.Builder |
threadPoolTransactionDelay(Integer threadPoolTransactionDelay)
The delay period before executing a new transaction, in milliseconds.
|
ConfigurationVariables.Builder |
timeZone(String timeZone)
Initializes the time zone for each client that connects.
|
ConfigurationVariables.Builder |
tmpTableSize(Long tmpTableSize)
The maximum size of internal in-memory temporary tables.
|
ConfigurationVariables.Builder |
transactionIsolation(ConfigurationVariables.TransactionIsolation transactionIsolation)
(“transaction_isolation”)
|
ConfigurationVariables.Builder |
waitTimeout(Integer waitTimeout)
The number of seconds the server waits for activity on a noninteractive connection before
closing it.
|
public ConfigurationVariables.Builder completionType(ConfigurationVariables.CompletionType completionType)
(“completion_type”)
completionType
- the value to setpublic ConfigurationVariables.Builder bigTables(Boolean bigTables)
If enabled, the server stores all temporary tables on disk rather than in memory.
bigTables corresponds to the MySQL server variable [big_tables](https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_big_tables).
bigTables
- the value to setpublic ConfigurationVariables.Builder characterSetServer(ConfigurationVariables.CharacterSetServer characterSetServer)
The server’s default character set. If you set this variable, you should also set collation_server to specify the collation for the character set.
characterSetServer corresponds to the MySQL server variable [character_set_server](https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_character_set_server).
characterSetServer
- the value to setpublic ConfigurationVariables.Builder collationServer(ConfigurationVariables.CollationServer collationServer)
The server’s default collation.
collationServer corresponds to the MySQL server variable [collation_server](https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_collation_server).
collationServer
- the value to setpublic ConfigurationVariables.Builder connectionMemoryChunkSize(Integer connectionMemoryChunkSize)
Set the chunking size for updates to the global memory usage counter Global_connection_memory.
connectionMemoryChunkSize corresponds to the MySQL system variable [connection_memory_chunk_size](https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_chunk_size).
connectionMemoryChunkSize
- the value to setpublic ConfigurationVariables.Builder connectionMemoryLimit(Long connectionMemoryLimit)
Set the maximum amount of memory that can be used by a single user connection.
connectionMemoryLimit corresponds to the MySQL system variable [connection_memory_limit](https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_limit).
connectionMemoryLimit
- the value to setpublic ConfigurationVariables.Builder defaultAuthenticationPlugin(ConfigurationVariables.DefaultAuthenticationPlugin defaultAuthenticationPlugin)
The default authentication plugin. This must be a plugin that uses internal credentials storage, so these values are permitted: mysql_native_password, sha256_password, caching_sha2_password.
As of MySQL 8.0.27, which introduces multifactor authentication, default_authentication_plugin is still used, but in conjunction with and at a lower precedence than the authentication_policy system variable. For details, see The Default Authentication Plugin. Because of this diminished role, default_authentication_plugin is deprecated as of MySQL 8.0.27 and subject to removal in a future MySQL version.
defaultAuthenticationPlugin corresponds to the MySQL system variable [default_authentication_plugin](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin).
defaultAuthenticationPlugin
- the value to setpublic ConfigurationVariables.Builder globalConnectionMemoryLimit(Long globalConnectionMemoryLimit)
Set the total amount of memory that can be used by all user connections.
globalConnectionMemoryLimit corresponds to the MySQL system variable [global_connection_memory_limit](https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_limit).
globalConnectionMemoryLimit
- the value to setpublic ConfigurationVariables.Builder globalConnectionMemoryTracking(Boolean globalConnectionMemoryTracking)
Determines whether the MySQL server calculates Global_connection_memory.
globalConnectionMemoryTracking corresponds to the MySQL system variable [global_connection_memory_tracking](https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_tracking).
globalConnectionMemoryTracking
- the value to setpublic ConfigurationVariables.Builder transactionIsolation(ConfigurationVariables.TransactionIsolation transactionIsolation)
(“transaction_isolation”)
transactionIsolation
- the value to setpublic ConfigurationVariables.Builder innodbFtServerStopwordTable(String innodbFtServerStopwordTable)
(“innodb_ft_server_stopword_table”)
innodbFtServerStopwordTable
- the value to setpublic ConfigurationVariables.Builder mandatoryRoles(String mandatoryRoles)
(“mandatory_roles”)
mandatoryRoles
- the value to setpublic ConfigurationVariables.Builder autocommit(Boolean autocommit)
(“autocommit”)
autocommit
- the value to setpublic ConfigurationVariables.Builder foreignKeyChecks(Boolean foreignKeyChecks)
(“foreign_key_checks”)
foreignKeyChecks
- the value to setpublic ConfigurationVariables.Builder groupReplicationConsistency(ConfigurationVariables.GroupReplicationConsistency groupReplicationConsistency)
groupReplicationConsistency
- the value to setpublic ConfigurationVariables.Builder groupConcatMaxLen(Long groupConcatMaxLen)
Specifies the maximum permitted result length in bytes for the GROUP_CONCAT() function.
This is the MySQL variable "group_concat_max_len". For more information, please see the [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_group_concat_max_len)
groupConcatMaxLen
- the value to setpublic ConfigurationVariables.Builder innodbFtEnableStopword(Boolean innodbFtEnableStopword)
(“innodb_ft_enable_stopword”)
innodbFtEnableStopword
- the value to setpublic ConfigurationVariables.Builder innodbLogWriterThreads(Boolean innodbLogWriterThreads)
Enables dedicated log writer threads for writing redo log records from the log buffer to the system buffers and flushing the system buffers to the redo log files.
This is the MySQL variable "innodb_log_writer_threads". For more information, please see the [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_writer_threads)
innodbLogWriterThreads
- the value to setpublic ConfigurationVariables.Builder localInfile(Boolean localInfile)
This variable controls server-side LOCAL capability for LOAD DATA statements. Depending on the local_infile setting, the server refuses or permits local data loading by clients that have LOCAL enabled on the client side.
local_infile corresponds to the MySQL Server system variable [local_infile](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_local_infile)
localInfile
- the value to setpublic ConfigurationVariables.Builder mysqlFirewallMode(Boolean mysqlFirewallMode)
(“mysql_firewall_mode”)
mysqlFirewallMode
- the value to setpublic ConfigurationVariables.Builder mysqlxEnableHelloNotice(Boolean mysqlxEnableHelloNotice)
(“mysqlx_enable_hello_notice”) DEPRECATED – variable should not be settable and will be ignored
mysqlxEnableHelloNotice
- the value to setpublic ConfigurationVariables.Builder sqlRequirePrimaryKey(Boolean sqlRequirePrimaryKey)
(“sql_require_primary_key”)
sqlRequirePrimaryKey
- the value to setpublic ConfigurationVariables.Builder sqlWarnings(Boolean sqlWarnings)
(“sql_warnings”)
sqlWarnings
- the value to setpublic ConfigurationVariables.Builder binlogExpireLogsSeconds(Integer binlogExpireLogsSeconds)
Sets the binary log expiration period in seconds. binlogExpireLogsSeconds corresponds to the MySQL binary logging system variable binlog_expire_logs_seconds.
binlogExpireLogsSeconds
- the value to setpublic ConfigurationVariables.Builder binlogRowMetadata(ConfigurationVariables.BinlogRowMetadata binlogRowMetadata)
Configures the amount of table metadata added to the binary log when using row-based logging. binlogRowMetadata corresponds to the MySQL binary logging system variable binlog_row_metadata.
binlogRowMetadata
- the value to setpublic ConfigurationVariables.Builder binlogRowValueOptions(String binlogRowValueOptions)
When set to PARTIAL_JSON, this enables use of a space-efficient binary log format for updates that modify only a small portion of a JSON document. binlogRowValueOptions corresponds to the MySQL binary logging system variable binlog_row_value_options.
binlogRowValueOptions
- the value to setpublic ConfigurationVariables.Builder binlogTransactionCompression(Boolean binlogTransactionCompression)
Enables compression for transactions that are written to binary log files on this server. binlogTransactionCompression corresponds to the MySQL binary logging system variable binlog_transaction_compression.
binlogTransactionCompression
- the value to setpublic ConfigurationVariables.Builder innodbBufferPoolSize(Long innodbBufferPoolSize)
The size (in bytes) of the buffer pool, that is, the memory area where InnoDB caches table and index data.
innodbBufferPoolSize corresponds to the MySQL server system variable [innodb_buffer_pool_size](https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size).
The default and maximum values depend on the amount of RAM provisioned by the shape. See [Default User Variables](https://docs.cloud.oracle.com/mysql-database/doc/configuring-db-system.html#GUID-B5504C19-F6F4-4DAB-8506-189A4E8F4A6A).
innodbBufferPoolSize
- the value to setpublic ConfigurationVariables.Builder innodbFtResultCacheLimit(Long innodbFtResultCacheLimit)
(“innodb_ft_result_cache_limit”)
innodbFtResultCacheLimit
- the value to setpublic ConfigurationVariables.Builder maxBinlogCacheSize(Long maxBinlogCacheSize)
Sets the size of the transaction cache.
maxBinlogCacheSize corresponds to the MySQL server system variable [max_binlog_cache_size](https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_max_binlog_cache_size).
maxBinlogCacheSize
- the value to setpublic ConfigurationVariables.Builder maxConnectErrors(Long maxConnectErrors)
(“max_connect_errors”)
maxConnectErrors
- the value to setpublic ConfigurationVariables.Builder maxHeapTableSize(Long maxHeapTableSize)
This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.
maxHeapTableSize corresponds to the MySQL system variable [max_heap_table_size](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_heap_table_size)
maxHeapTableSize
- the value to setpublic ConfigurationVariables.Builder maxConnections(Integer maxConnections)
(“max_connections”)
maxConnections
- the value to setpublic ConfigurationVariables.Builder maxPreparedStmtCount(Integer maxPreparedStmtCount)
(“max_prepared_stmt_count”)
maxPreparedStmtCount
- the value to setpublic ConfigurationVariables.Builder connectTimeout(Integer connectTimeout)
The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
connectTimeout corresponds to the MySQL system variable [connect_timeout](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_connect_timeout)
Increasing the connect_timeout value might help if clients frequently encounter errors of the form "Lost connection to MySQL server at 'XXX', system error: errno".
connectTimeout
- the value to setpublic ConfigurationVariables.Builder cteMaxRecursionDepth(Long cteMaxRecursionDepth)
(“cte_max_recursion_depth”)
cteMaxRecursionDepth
- the value to setpublic ConfigurationVariables.Builder generatedRandomPasswordLength(Integer generatedRandomPasswordLength)
(“generated_random_password_length”) DEPRECATED – variable should not be settable and will be ignored
generatedRandomPasswordLength
- the value to setpublic ConfigurationVariables.Builder informationSchemaStatsExpiry(Integer informationSchemaStatsExpiry)
(“information_schema_stats_expiry”)
informationSchemaStatsExpiry
- the value to setpublic ConfigurationVariables.Builder innodbBufferPoolDumpPct(Integer innodbBufferPoolDumpPct)
Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.
innodbBufferPoolDumpPct corresponds to the MySQL InnoDB system variable [innodb_buffer_pool_dump_pct](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_buffer_pool_dump_pct).
The range is 1 to 100. The default value is 25.
For example, if there are 4 buffer pools with 100 pages each, and innodb_buffer_pool_dump_pct is set to 25, the 25 most recently used pages from each buffer pool are dumped.
innodbBufferPoolDumpPct
- the value to setpublic ConfigurationVariables.Builder innodbBufferPoolInstances(Integer innodbBufferPoolInstances)
(“innodb_buffer_pool_instances”)
innodbBufferPoolInstances
- the value to setpublic ConfigurationVariables.Builder innodbDdlBufferSize(Long innodbDdlBufferSize)
innodbDdlBufferSize corresponds to the MySQL system variable [innodb_ddl_buffer_size] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_buffer_size)
innodbDdlBufferSize
- the value to setpublic ConfigurationVariables.Builder innodbDdlThreads(Integer innodbDdlThreads)
innodbDdlThreads corresponds to the MySQL system variable [innodb_ddl_threads] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_threads)
innodbDdlThreads
- the value to setpublic ConfigurationVariables.Builder innodbFtMaxTokenSize(Integer innodbFtMaxTokenSize)
(“innodb_ft_max_token_size”)
innodbFtMaxTokenSize
- the value to setpublic ConfigurationVariables.Builder innodbFtMinTokenSize(Integer innodbFtMinTokenSize)
(“innodb_ft_min_token_size”)
innodbFtMinTokenSize
- the value to setpublic ConfigurationVariables.Builder innodbFtNumWordOptimize(Integer innodbFtNumWordOptimize)
(“innodb_ft_num_word_optimize”)
innodbFtNumWordOptimize
- the value to setpublic ConfigurationVariables.Builder innodbLockWaitTimeout(Integer innodbLockWaitTimeout)
(“innodb_lock_wait_timeout”)
innodbLockWaitTimeout
- the value to setpublic ConfigurationVariables.Builder innodbMaxPurgeLag(Long innodbMaxPurgeLag)
The desired maximum purge lag in terms of transactions.
InnoDB maintains a list of transactions that have index records delete-marked by UPDATE or DELETE operations. The length of the list is the purge lag.
If this value is exceeded, a delay is imposed on INSERT, UPDATE, and DELETE operations to allow time for purge to catch up.
The default value is 0, which means there is no maximum purge lag and no delay.
innodbMaxPurgeLag corresponds to the MySQL server system variable [innodb_max_purge_lag](https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag).
innodbMaxPurgeLag
- the value to setpublic ConfigurationVariables.Builder innodbMaxPurgeLagDelay(Integer innodbMaxPurgeLagDelay)
The maximum delay in microseconds for the delay imposed when the innodb_max_purge_lag threshold is exceeded.
The specified innodb_max_purge_lag_delay value is an upper limit on the delay period.
innodbMaxPurgeLagDelay corresponds to the MySQL server system variable [innodb_max_purge_lag_delay](https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag_delay).
innodbMaxPurgeLagDelay
- the value to setpublic ConfigurationVariables.Builder interactiveTimeout(Integer interactiveTimeout)
The number of seconds the server waits for activity on an interactive connection before closing it.
interactiveTimeout corresponds to the MySQL system variable. [interactive_timeout](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_interactive_timeout)
interactiveTimeout
- the value to setpublic ConfigurationVariables.Builder innodbStatsPersistentSamplePages(Long innodbStatsPersistentSamplePages)
The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.
innodbStatsPersistentSamplePages corresponds to the MySQL InnoDB system variable [innodb_stats_persistent_sample_pages](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_persistent_sample_pages)
innodb_stats_persistent_sample_pages only applies when innodb_stats_persistent is enabled for a table; when innodb_stats_persistent is disabled, innodb_stats_transient_sample_pages applies instead.
innodbStatsPersistentSamplePages
- the value to setpublic ConfigurationVariables.Builder innodbStatsTransientSamplePages(Long innodbStatsTransientSamplePages)
The number of index pages to sample when estimating cardinality and other statistics for an indexed column, such as those calculated by ANALYZE TABLE.
innodbStatsTransientSamplePages corresponds to the MySQL InnoDB system variable [innodb_stats_transient_sample_pages](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_transient_sample_pages)
innodb_stats_transient_sample_pages only applies when innodb_stats_persistent is disabled for a table; when innodb_stats_persistent is enabled, innodb_stats_persistent_sample_pages applies instead.
innodb_stats_persistent is ON by default and cannot be changed. It is possible to override it using the STATS_PERSISTENT clause of the [CREATE TABLE](https://dev.mysql.com/doc/refman/8.0/en/create-table.html) and [ALTER TABLE](https://dev.mysql.com/doc/refman/8.0/en/alter-table.html) statements.
innodbStatsTransientSamplePages
- the value to setpublic ConfigurationVariables.Builder innodbStrictMode(Boolean innodbStrictMode)
When you enable innodbStrictMode, the InnoDB storage engine returns errors instead of warnings for invalid or incompatible table options.
innodbStrictMode corresponds to the MySQL InnoDB system variable [innodb_strict_mode](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_strict_mode)
innodbStrictMode
- the value to setpublic ConfigurationVariables.Builder maxAllowedPacket(Integer maxAllowedPacket)
The maximum size of one packet or any generated/intermediate string.
This is the mysql variable "max_allowed_packet".
maxAllowedPacket
- the value to setpublic ConfigurationVariables.Builder maxExecutionTime(Long maxExecutionTime)
(“max_execution_time”)
maxExecutionTime
- the value to setpublic ConfigurationVariables.Builder mysqlxConnectTimeout(Integer mysqlxConnectTimeout)
The number of seconds X Plugin waits for the first packet to be received from newly connected clients.
mysqlxConnectTimeout corresponds to the MySQL X Plugin system variable [mysqlx_connect_timeout](https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_connect_timeout)
mysqlxConnectTimeout
- the value to setpublic ConfigurationVariables.Builder mysqlxDocumentIdUniquePrefix(Integer mysqlxDocumentIdUniquePrefix)
(“mysqlx_document_id_unique_prefix”) DEPRECATED – variable should not be settable and will be ignored
mysqlxDocumentIdUniquePrefix
- the value to setpublic ConfigurationVariables.Builder mysqlxIdleWorkerThreadTimeout(Integer mysqlxIdleWorkerThreadTimeout)
(“mysqlx_idle_worker_thread_timeout”) DEPRECATED – variable should not be settable and will be ignored
mysqlxIdleWorkerThreadTimeout
- the value to setpublic ConfigurationVariables.Builder mysqlxInteractiveTimeout(Integer mysqlxInteractiveTimeout)
The number of seconds to wait for interactive clients to timeout.
mysqlxInteractiveTimeout corresponds to the MySQL X Plugin system variable. [mysqlx_interactive_timeout](https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_interactive_timeout)
mysqlxInteractiveTimeout
- the value to setpublic ConfigurationVariables.Builder mysqlxMaxAllowedPacket(Integer mysqlxMaxAllowedPacket)
The maximum size of network packets that can be received by X Plugin.
This is the mysql variable "mysqlx_max_allowed_packet".
mysqlxMaxAllowedPacket
- the value to setpublic ConfigurationVariables.Builder mysqlxMinWorkerThreads(Integer mysqlxMinWorkerThreads)
(“mysqlx_min_worker_threads”) DEPRECATED – variable should not be settable and will be ignored
mysqlxMinWorkerThreads
- the value to setpublic ConfigurationVariables.Builder mysqlxReadTimeout(Integer mysqlxReadTimeout)
The number of seconds that X Plugin waits for blocking read operations to complete. After this time, if the read operation is not successful, X Plugin closes the connection and returns a warning notice with the error code ER_IO_READ_ERROR to the client application.
mysqlxReadTimeout corresponds to the MySQL X Plugin system variable [mysqlx_read_timeout](https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_read_timeout)
mysqlxReadTimeout
- the value to setpublic ConfigurationVariables.Builder mysqlxWaitTimeout(Integer mysqlxWaitTimeout)
The number of seconds that X Plugin waits for activity on a connection.
mysqlxWaitTimeout corresponds to the MySQL X Plugin system variable. [mysqlx_wait_timeout](https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_wait_timeout)
mysqlxWaitTimeout
- the value to setpublic ConfigurationVariables.Builder mysqlxWriteTimeout(Integer mysqlxWriteTimeout)
The number of seconds that X Plugin waits for blocking write operations to complete. After this time, if the write operation is not successful, X Plugin closes the connection.
mysqlxReadmysqlxWriteTimeoutTimeout corresponds to the MySQL X Plugin system variable [mysqlx_write_timeout](https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_write_timeout)
mysqlxWriteTimeout
- the value to setpublic ConfigurationVariables.Builder netReadTimeout(Integer netReadTimeout)
The number of seconds to wait for more data from a connection before aborting the read.
netReadTimeout corresponds to the MySQL system variable [net_read_timeout](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_read_timeout)
netReadTimeout
- the value to setpublic ConfigurationVariables.Builder netWriteTimeout(Integer netWriteTimeout)
The number of seconds to wait for a block to be written to a connection before aborting the write.
netWriteTimeout corresponds to the MySQL system variable [net_write_timeout](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_write_timeout)
netWriteTimeout
- the value to setpublic ConfigurationVariables.Builder parserMaxMemSize(Long parserMaxMemSize)
(“parser_max_mem_size”)
parserMaxMemSize
- the value to setpublic ConfigurationVariables.Builder queryAllocBlockSize(Long queryAllocBlockSize)
(“query_alloc_block_size”) DEPRECATED – variable should not be settable and will be ignored
queryAllocBlockSize
- the value to setpublic ConfigurationVariables.Builder queryPreallocSize(Long queryPreallocSize)
(“query_prealloc_size”) DEPRECATED – variable should not be settable and will be ignored
queryPreallocSize
- the value to setpublic ConfigurationVariables.Builder regexpTimeLimit(Integer regexpTimeLimit)
regexpTimeLimit corresponds to the MySQL system variable [regexp_time_limit] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_regexp_time_limit)
regexpTimeLimit
- the value to setpublic ConfigurationVariables.Builder sqlMode(String sqlMode)
(“sql_mode”)
sqlMode
- the value to setpublic ConfigurationVariables.Builder tmpTableSize(Long tmpTableSize)
The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.
tmp_table_size corresponds to the MySQL system variable [tmp_table_size](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_tmp_table_size)
tmpTableSize
- the value to setpublic ConfigurationVariables.Builder mysqlxDeflateDefaultCompressionLevel(Integer mysqlxDeflateDefaultCompressionLevel)
Set the default compression level for the deflate algorithm. (“mysqlx_deflate_default_compression_level”)
mysqlxDeflateDefaultCompressionLevel
- the value to setpublic ConfigurationVariables.Builder mysqlxDeflateMaxClientCompressionLevel(Integer mysqlxDeflateMaxClientCompressionLevel)
Limit the upper bound of accepted compression levels for the deflate algorithm. (“mysqlx_deflate_max_client_compression_level”)
mysqlxDeflateMaxClientCompressionLevel
- the value to setpublic ConfigurationVariables.Builder mysqlxLz4MaxClientCompressionLevel(Integer mysqlxLz4MaxClientCompressionLevel)
Limit the upper bound of accepted compression levels for the lz4 algorithm. (“mysqlx_lz4_max_client_compression_level”)
mysqlxLz4MaxClientCompressionLevel
- the value to setpublic ConfigurationVariables.Builder mysqlxLz4DefaultCompressionLevel(Integer mysqlxLz4DefaultCompressionLevel)
Set the default compression level for the lz4 algorithm. (“mysqlx_lz4_default_compression_level”)
mysqlxLz4DefaultCompressionLevel
- the value to setpublic ConfigurationVariables.Builder mysqlxZstdMaxClientCompressionLevel(Integer mysqlxZstdMaxClientCompressionLevel)
Limit the upper bound of accepted compression levels for the zstd algorithm. (“mysqlx_zstd_max_client_compression_level”)
mysqlxZstdMaxClientCompressionLevel
- the value to setpublic ConfigurationVariables.Builder mysqlxZstdDefaultCompressionLevel(Integer mysqlxZstdDefaultCompressionLevel)
Set the default compression level for the zstd algorithm. (“mysqlx_zstd_default_compression_level”)
mysqlxZstdDefaultCompressionLevel
- the value to setpublic ConfigurationVariables.Builder mysqlZstdDefaultCompressionLevel(Integer mysqlZstdDefaultCompressionLevel)
DEPRECATED – typo of mysqlx_zstd_default_compression_level. variable will be ignored.
mysqlZstdDefaultCompressionLevel
- the value to setpublic ConfigurationVariables.Builder sortBufferSize(Long sortBufferSize)
Each session that must perform a sort allocates a buffer of this size.
sortBufferSize corresponds to the MySQL system variable [sort_buffer_size](https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_sort_buffer_size)
sortBufferSize
- the value to setpublic ConfigurationVariables.Builder waitTimeout(Integer waitTimeout)
The number of seconds the server waits for activity on a noninteractive connection before closing it.
waitTimeout corresponds to the MySQL system variable. [wait_timeout](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout)
waitTimeout
- the value to setpublic ConfigurationVariables.Builder threadPoolDedicatedListeners(Boolean threadPoolDedicatedListeners)
Controls whether the thread pool uses dedicated listener threads. If enabled, a listener thread in each thread group is dedicated to the task of listening for network events from clients, ensuring that the maximum number of query worker threads is no more than the value specified by threadPoolMaxTransactionsLimit. threadPoolDedicatedListeners corresponds to the MySQL Database Service-specific system variable thread_pool_dedicated_listeners.
threadPoolDedicatedListeners
- the value to setpublic ConfigurationVariables.Builder threadPoolMaxTransactionsLimit(Integer threadPoolMaxTransactionsLimit)
Limits the maximum number of open transactions to the defined value. The default value is 0, which enforces no limit. threadPoolMaxTransactionsLimit corresponds to the MySQL Database Service-specific system variable thread_pool_max_transactions_limit.
threadPoolMaxTransactionsLimit
- the value to setpublic ConfigurationVariables.Builder timeZone(String timeZone)
Initializes the time zone for each client that connects.
This corresponds to the MySQL System Variable "time_zone".
The values can be given in one of the following formats, none of which are case-sensitive:
- As a string indicating an offset from UTC of the form [H]H:MM, prefixed with a + or -, such as '+10:00', '-6:00', or '+05:30'. The permitted range is '-13:59' to '+14:00', inclusive. - As a named time zone, as defined by the "IANA Time Zone database", such as 'Europe/Helsinki', 'US/Eastern', 'MET', or 'UTC'.
timeZone
- the value to setpublic ConfigurationVariables.Builder blockEncryptionMode(String blockEncryptionMode)
This variable controls the block encryption mode for block-based algorithms such as AES. It affects encryption for AES_ENCRYPT() and AES_DECRYPT().
block_encryption_mode takes a value in aes-keylen-mode format, where keylen is the key length in bits and mode is the encryption mode. The value is not case-sensitive. Permitted keylen values are 128, 192, and 256. Permitted mode values are ECB, CBC, CFB1, CFB8, CFB128, and OFB.
block_encryption_mode corresponds to the MySQL Server Administration system variable [block_encryption_mode](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_block_encryption_mode)
blockEncryptionMode
- the value to setpublic ConfigurationVariables.Builder binlogGroupCommitSyncDelay(Integer binlogGroupCommitSyncDelay)
Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk. There is no delay by default. Setting this variable to a microsecond delay enables more transactions to be synchronized together to disk at once, reducing the overall time to commit a group of transactions because the larger groups required fewer time units per group.
binlogGroupCommitSyncDelay corresponds to the MySQL Replication system variable [binlog_group_commit_sync_delay](https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_binlog_group_commit_sync_delay)
binlogGroupCommitSyncDelay
- the value to setpublic ConfigurationVariables.Builder binlogGroupCommitSyncNoDelayCount(Integer binlogGroupCommitSyncNoDelayCount)
The maximum number of transactions to wait for before aborting the current delay as specified by binlog_group_commit_sync_delay. If binlog_group_commit_sync_delay is set to 0, then this option has no effect.
binlogGroupCommitSyncNoDelayCount corresponds to the MySQL Replication system variable [binlog_group_commit_sync_no_delay_count](https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_binlog_group_commit_sync_no_delay_count)
binlogGroupCommitSyncNoDelayCount
- the value to setpublic ConfigurationVariables.Builder replicaNetTimeout(Integer replicaNetTimeout)
Specifies the number of seconds to wait for more data or a heartbeat signal from the source before the replica considers the connection broken, aborts the read, and tries to reconnect. Setting this variable has no immediate effect. The state of the variable applies on all subsequent START REPLICA commands.
replicaNetTimeout corresponds to the MySQL Replica server system variable [replica_net_timeout](https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_net_timeout)
replicaNetTimeout
- the value to setpublic ConfigurationVariables.Builder requireSecureTransport(Boolean requireSecureTransport)
Whether client connections to the server are required to use some form of secure transport. When this variable is enabled, the server permits only TCP/IP connections encrypted using TLS/SSL, or connections that use a socket file or shared memory. The server rejects nonsecure connection attempts, which fail with an ER_SECURE_TRANSPORT_REQUIRED error.
require_secure_transport corresponds to the MySQL Server Administration system variable [require_secure_transport](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_require_secure_transport)
requireSecureTransport
- the value to setpublic ConfigurationVariables.Builder innodbRedoLogCapacity(Long innodbRedoLogCapacity)
Defines the amount of disk space occupied by redo log files. innodb_redo_log_capacity supercedes the innodb_log_files_in_group and innodb_log_file_size variables, which are both ignored if innodb_redo_log_capacity is defined. If innodb_redo_log_capacity is not defined, and if neither innodb_log_file_size or innodb_log_files_in_group are defined, then the default innodb_redo_log_capacity value is used.
innodbRedoLogCapacity corresponds to the InnoDB Startup Options and System Variables [innodb_redo_log_capacity](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_redo_log_capacity)
innodbRedoLogCapacity
- the value to setpublic ConfigurationVariables.Builder threadPoolTransactionDelay(Integer threadPoolTransactionDelay)
The delay period before executing a new transaction, in milliseconds. The maximum value is 300000 (5 minutes). A transaction delay can be used in cases where parallel transactions affect the performance of other operations due to resource contention. For example, if parallel transactions affect index creation or an online buffer pool resizing operation, you can configure a transaction delay to reduce resource contention while those operations are running.
threadPoolTransactionDelay corresponds to the MySQL Server system variable [thread_pool_transaction_delay](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_pool_transaction_delay)
threadPoolTransactionDelay
- the value to setpublic ConfigurationVariables.Builder threadPoolQueryThreadsPerGroup(Integer threadPoolQueryThreadsPerGroup)
The maximum number of query threads permitted in a thread group. The maximum value is 4096, but if thread_pool_max_transactions_limit is set, thread_pool_query_threads_per_group must not exceed that value. The default value of 1 means there is one active query thread in each thread group, which works well for many loads. When you are using the high concurrency thread pool algorithm (thread_pool_algorithm = 1), consider increasing the value if you experience slower response times due to long-running transactions.
threadPoolQueryThreadsPerGroup corresponds to the MySQL Server system variable [thread_pool_query_threads_per_group](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_pool_query_threads_per_group)
threadPoolQueryThreadsPerGroup
- the value to setpublic ConfigurationVariables.Builder explainFormat(ConfigurationVariables.ExplainFormat explainFormat)
This variable determines the default output format used by EXPLAIN in the absence of a FORMAT option when displaying a query execution plan.
explainFormat corresponds to the MySQL system variable [explain_format](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_explain_format).
explainFormat
- the value to setpublic ConfigurationVariables.Builder explicitDefaultsForTimestamp(Boolean explicitDefaultsForTimestamp)
This system variable determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns. By default, explicit_defaults_for_timestamp is enabled, which disables the nonstandard behaviors. Disabling explicit_defaults_for_timestamp results in a warning.
explicit_defaults_for_timestamp corresponds to the MySQL Server Administration system variable [explicit_defaults_for_timestamp](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_explicit_defaults_for_timestamp)
explicitDefaultsForTimestamp
- the value to setpublic ConfigurationVariables.Builder sqlGenerateInvisiblePrimaryKey(Boolean sqlGenerateInvisiblePrimaryKey)
Whether GIPK mode is in effect, in which case a MySQL replication source server adds a generated invisible primary key to any InnoDB table that is created without one.
sqlGenerateInvisiblePrimaryKey corresponds to the MySQL system variable [sql_generate_invisible_primary_key] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_sql_generate_invisible_primary_key).
sqlGenerateInvisiblePrimaryKey
- the value to setpublic ConfigurationVariables.Builder temptableMaxRam(Long temptableMaxRam)
Defines the maximum amount of memory that can be occupied by the TempTable storage engine before it starts storing data on disk. The default value is 1073741824 bytes (1GiB). For more information, see Section 10.4.4, “Internal Temporary Table Use in MySQL”.
temptableMaxRam corresponds to the MySQL system variable [temptable_max_ram] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_temptable_max_ram).
temptableMaxRam
- the value to setpublic ConfigurationVariables.Builder innodbChangeBuffering(ConfigurationVariables.InnodbChangeBuffering innodbChangeBuffering)
Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially. Permitted values are described in the following table. Values may also be specified numerically.
innodbChangeBuffering corresponds to the MySQL InnoDB Startup Options and System Variables [innodb_change_buffering] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_change_buffering).
innodbChangeBuffering
- the value to setpublic ConfigurationVariables.Builder innodbAdaptiveHashIndex(Boolean innodbAdaptiveHashIndex)
Whether the InnoDB adaptive hash index is enabled or disabled. It may be desirable, depending on your workload, to dynamically enable or disable adaptive hash indexing to improve query performance. Because the adaptive hash index may not be useful for all workloads, conduct benchmarks with it both enabled and disabled, using realistic workloads.
innodbAdaptiveHashIndex corresponds to the MySQL InnoDB Startup Options and System Variables [innodb_adaptive_hash_index] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_adaptive_hash_index).
innodbAdaptiveHashIndex
- the value to setpublic ConfigurationVariables.Builder innodbUndoLogTruncate(Boolean innodbUndoLogTruncate)
When enabled, undo tablespaces that exceed the threshold value defined by innodb_max_undo_log_size are marked for truncation. Only undo tablespaces can be truncated. Truncating undo logs that reside in the system tablespace is not supported. For truncation to occur, there must be at least two undo tablespaces.
innodbUndoLogTruncate corresponds to the MySQL InnoDB Startup Options and System Variables [innodb_undo_log_truncate] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_undo_log_truncate).
innodbUndoLogTruncate
- the value to setpublic ConfigurationVariables.Builder tableDefinitionCache(Integer tableDefinitionCache)
The number of table definitions that can be stored in the table definition cache. If you use a large number of tables, you can create a large table definition cache to speed up opening of tables. The table definition cache takes less space and does not use file descriptors, unlike the normal table cache.
table_definition_cache corresponds to the MySQL Server Administration system variable [table_definition_cache](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_table_definition_cache)
tableDefinitionCache
- the value to setpublic ConfigurationVariables.Builder tableOpenCache(Integer tableOpenCache)
The number of open tables for all threads. Increasing this value increases the number of file descriptors that mysqld requires.
table_open_cache corresponds to the MySQL Server Administration system variable [table_open_cache](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_table_open_cache)
tableOpenCache
- the value to setpublic ConfigurationVariables.Builder relayLogSpaceLimit(Long relayLogSpaceLimit)
The maximum amount of space to use for all relay logs.
relayLogSpaceLimit corresponds to the MySQL Replica Server Options variable [relay_log_space_limit] (https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_relay_log_space_limit).
relayLogSpaceLimit
- the value to setpublic ConfigurationVariables.Builder optimizerSwitch(String optimizerSwitch)
The optimizer_switch system variable enables control over optimizer behavior. The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled. This variable has global and session values and can be changed at runtime. The global default can be set at server startup.
Setting hypergraph_optimizer=on for cloud builds below 9.0.0 will fail.
optimizerSwitch corresponds to the MySQL Server System variable [optimizer_switch] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_optimizer_switch).
optimizerSwitch
- the value to setpublic ConfigurationVariables.Builder replicaTypeConversions(String replicaTypeConversions)
From MySQL 8.0.26, use replica_type_conversions in place of slave_type_conversions, which is deprecated from that release. In releases before MySQL 8.0.26, use slave_type_conversions.
replica_type_conversions controls the type conversion mode in effect on the replica when using row-based replication. Its value is a comma-delimited set of zero or more elements from the list: ALL_LOSSY, ALL_NON_LOSSY, ALL_SIGNED, ALL_UNSIGNED. Set this variable to an empty string to disallow type conversions between the source and the replica. Setting this variable takes effect for all replication channels immediately, including running channels.
replica_type_conversions corresponds to the MySQL Replica Server Options variable [replica_type_conversions] (https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_type_conversions).
replicaTypeConversions
- the value to setpublic ConfigurationVariables.Builder replicaParallelWorkers(Integer replicaParallelWorkers)
Beginning with MySQL 8.0.26, slave_parallel_workers is deprecated, and you should use replica_parallel_workers instead. (Prior to MySQL 8.0.26, you must use slave_parallel_workers to set the number of applier threads.)
replicaParallelWorkers corresponds to the MySQL Replica Server Options variable [replica_parallel_workers] (https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_parallel_workers).
replicaParallelWorkers
- the value to setpublic ConfigurationVariables.Builder skipNameResolve(Boolean skipNameResolve)
Whether to resolve host names when checking client connections. If this variable is OFF, mysqld resolves host names when checking client connections. If it is ON, mysqld uses only IP numbers; in this case, all Host column values in the grant tables must be IP addresses. See Section 7.1.12.3, “DNS Lookups and the Host Cache”.
skipNameResolve corresponds to the MySQL Server System variable [skip_name_resolve] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_skip_name_resolve).
skipNameResolve
- the value to setpublic ConfigurationVariables.Builder maxUserConnections(Long maxUserConnections)
The maximum number of simultaneous connections permitted to any given MySQL user account. A value of 0 (the default) means “no limit.” This variable has a global value that can be set at server startup or runtime. It also has a read-only session value that indicates the effective simultaneous-connection limit that applies to the account associated with the current session.
maxUserConnections corresponds to the MySQL Server System variable [max_user_connections] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_user_connections).
maxUserConnections
- the value to setpublic ConfigurationVariables.Builder joinBufferSize(Long joinBufferSize)
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. In MySQL 8.0.18 and later, this variable also controls the amount of memory used for hash joins. Normally, the best way to get fast joins is to add indexes. Increase the value of join_buffer_size to get a faster full join when adding indexes is not possible. One join buffer is allocated for each full join between two tables. For a complex join between several tables for which indexes are not used, multiple join buffers might be necessary.
joinBufferSize corresponds to the MySQL Server System variable [join_buffer_size] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_join_buffer_size).
joinBufferSize
- the value to setpublic ConfigurationVariables.Builder maxSeeksForKey(Long maxSeeksForKey)
Limit the assumed maximum number of seeks when looking up rows based on a key. The MySQL optimizer assumes that no more than this number of key seeks are required when searching for matching rows in a table by scanning an index, regardless of the actual cardinality of the index (see Section 15.7.7.22, “SHOW INDEX Statement”). By setting this to a low value (say, 100), you can force MySQL to prefer indexes instead of table scans.
maxSeeksForKey corresponds to the MySQL Server System variable [max_seeks_for_key] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_seeks_for_key).
maxSeeksForKey
- the value to setpublic ConfigurationVariables.Builder rangeOptimizerMaxMemSize(Long rangeOptimizerMaxMemSize)
The limit on memory consumption for the range optimizer. A value of 0 means “no limit.” If an execution plan considered by the optimizer uses the range access method but the optimizer estimates that the amount of memory needed for this method would exceed the limit, it abandons the plan and considers other plans.
rangeOptimizerMaxMemSize corresponds to the MySQL Server System variable [range_optimizer_max_mem_size] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_range_optimizer_max_mem_size).
rangeOptimizerMaxMemSize
- the value to setpublic ConfigurationVariables.Builder autoIncrementIncrement(Integer autoIncrementIncrement)
auto_increment_increment and auto_increment_offset are intended for use with circular (source-to-source) replication, and can be used to control the operation of AUTO_INCREMENT columns. Both variables have global and session values, and each can assume an integer value between 1 and 65,535 inclusive.
autoIncrementIncrement corresponds to the MySQL Replication Source Options variable [auto_increment_increment] (https://dev.mysql.com/doc/refman/8.0/en/replication-options-source.html#sysvar_auto_increment_increment).
autoIncrementIncrement
- the value to setpublic ConfigurationVariables.Builder autoIncrementOffset(Integer autoIncrementOffset)
This variable has a default value of 1. If it is left with its default value, and Group Replication is started on the server in multi-primary mode, it is changed to the server ID.
autoIncrementOffset corresponds to the MySQL Replication Source Options variable [auto_increment_offset] (https://dev.mysql.com/doc/refman/8.0/en/replication-options-source.html#sysvar_auto_increment_offset).
autoIncrementOffset
- the value to setpublic ConfigurationVariables.Builder innodbAutoincLockMode(Integer innodbAutoincLockMode)
The lock mode to use for generating auto-increment values. Permissible values are 0, 1, or 2, for traditional, consecutive, or interleaved, respectively.
innodbAutoincLockMode corresponds to the MySQL InnoDB Startup Options and System Variables [innodb_autoinc_lock_mode] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_autoinc_lock_mode).
innodbAutoincLockMode
- the value to setpublic ConfigurationVariables.Builder innodbRollbackOnTimeout(Boolean innodbRollbackOnTimeout)
InnoDB rolls back only the last statement on a transaction timeout by default. If –innodb-rollback-on-timeout is specified, a transaction timeout causes InnoDB to abort and roll back the entire transaction.
innodbRollbackOnTimeout corresponds to the MySQL InnoDB Startup Options and System Variables [innodb_rollback_on_timeout] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_rollback_on_timeout).
innodbRollbackOnTimeout
- the value to setpublic ConfigurationVariables.Builder innodbOnlineAlterLogMaxSize(Long innodbOnlineAlterLogMaxSize)
Specifies an upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables. There is one such log file for each index being created or table being altered. This log file stores data inserted, updated, or deleted in the table during the DDL operation.
innodbOnlineAlterLogMaxSize corresponds to the MySQL InnoDB Startup Options and System Variables [innodb_online_alter_log_max_size] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_online_alter_log_max_size).
innodbOnlineAlterLogMaxSize
- the value to setpublic ConfigurationVariables.Builder innodbSortBufferSize(Integer innodbSortBufferSize)
This variable defines:
The sort buffer size for online DDL operations that create or rebuild secondary indexes. However, as of MySQL 8.0.27, this responsibility is subsumed by the innodb_ddl_buffer_size variable.
The amount by which the temporary log file is extended when recording concurrent DML during an online DDL operation, and the size of the temporary log file read buffer and write buffer.
innodbSortBufferSize corresponds to the MySQL InnoDB Startup Options and System Variables [innodb_sort_buffer_size] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_sort_buffer_size).
innodbSortBufferSize
- the value to setpublic ConfigurationVariables.Builder innodbNumaInterleave(Boolean innodbNumaInterleave)
Enables the NUMA interleave memory policy for allocation of the InnoDB buffer pool. When innodb_numa_interleave is enabled, the NUMA memory policy is set to MPOL_INTERLEAVE for the mysqld process. After the InnoDB buffer pool is allocated, the NUMA memory policy is set back to MPOL_DEFAULT. For the innodb_numa_interleave option to be available, MySQL must be compiled on a NUMA-enabled Linux system.
innodbNumaInterleave corresponds to the MySQL InnoDB Startup Options and System Variables [innodb_numa_interleave] (https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_numa_interleave).
innodbNumaInterleave
- the value to setpublic ConfigurationVariables.Builder threadPoolSize(Integer threadPoolSize)
The number of thread groups in the thread pool. This is the most important parameter controlling thread pool performance. It affects how many statements can execute simultaneously. If a value outside the range of permissible values is specified, the thread pool plugin does not load and the server writes a message to the error log.
threadPoolSize corresponds to the MySQL Server System variable [thread_pool_size] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_pool_size).
threadPoolSize
- the value to setpublic ConfigurationVariables.Builder longQueryTime(Integer longQueryTime)
If a query takes longer than this many seconds, the server increments the Slow_queries status variable. If the slow query log is enabled, the query is logged to the slow query log file. This value is measured in real time, not CPU time, so a query that is under the threshold on a lightly loaded system might be above the threshold on a heavily loaded one.
longQueryTime corresponds to the MySQL Server System variable [long_query_time] (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_long_query_time).
longQueryTime
- the value to setpublic ConfigurationVariables build()
public ConfigurationVariables.Builder copy(ConfigurationVariables model)
Copyright © 2016–2025. All rights reserved.