Class ConfigurationVariables
User-defined service variables.
Inherited Members
Namespace: Oci.MysqlService.Models
Assembly: OCI.DotNetSDK.Mysql.dll
Syntax
public class ConfigurationVariables
Properties
AutoIncrementIncrement
Declaration
[JsonProperty(PropertyName = "autoIncrementIncrement")]
public int? AutoIncrementIncrement { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
AutoIncrementOffset
Declaration
[JsonProperty(PropertyName = "autoIncrementOffset")]
public int? AutoIncrementOffset { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
Autocommit
Declaration
[JsonProperty(PropertyName = "autocommit")]
public bool? Autocommit { get; set; }
Property Value
Type | Description |
---|---|
bool? | ("autocommit") |
BigTables
Declaration
[JsonProperty(PropertyName = "bigTables")]
public bool? BigTables { get; set; }
Property Value
Type | Description |
---|---|
bool? | If enabled, the server stores all temporary tables on disk rather than in memory.
|
BinlogExpireLogsSeconds
Declaration
[JsonProperty(PropertyName = "binlogExpireLogsSeconds")]
public int? BinlogExpireLogsSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | Sets the binary log expiration period in seconds. binlogExpireLogsSeconds corresponds to the MySQL binary logging system variable binlog_expire_logs_seconds. |
BinlogGroupCommitSyncDelay
Declaration
[JsonProperty(PropertyName = "binlogGroupCommitSyncDelay")]
public int? BinlogGroupCommitSyncDelay { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
BinlogGroupCommitSyncNoDelayCount
Declaration
[JsonProperty(PropertyName = "binlogGroupCommitSyncNoDelayCount")]
public int? BinlogGroupCommitSyncNoDelayCount { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
BinlogRowMetadata
Declaration
[JsonProperty(PropertyName = "binlogRowMetadata")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationVariables.BinlogRowMetadataEnum? BinlogRowMetadata { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationVariables.BinlogRowMetadataEnum? | 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. |
BinlogRowValueOptions
Declaration
[JsonProperty(PropertyName = "binlogRowValueOptions")]
public string BinlogRowValueOptions { get; set; }
Property Value
Type | Description |
---|---|
string | 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. |
BinlogTransactionCompression
Declaration
[JsonProperty(PropertyName = "binlogTransactionCompression")]
public bool? BinlogTransactionCompression { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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. |
BlockEncryptionMode
Declaration
[JsonProperty(PropertyName = "blockEncryptionMode")]
public string BlockEncryptionMode { get; set; }
Property Value
Type | Description |
---|---|
string | 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.
|
CharacterSetServer
Declaration
[JsonProperty(PropertyName = "characterSetServer")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationVariables.CharacterSetServerEnum? CharacterSetServer { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationVariables.CharacterSetServerEnum? | 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.
|
CollationServer
Declaration
[JsonProperty(PropertyName = "collationServer")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationVariables.CollationServerEnum? CollationServer { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationVariables.CollationServerEnum? | The server's default collation.
|
CompletionType
Declaration
[JsonProperty(PropertyName = "completionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationVariables.CompletionTypeEnum? CompletionType { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationVariables.CompletionTypeEnum? | ("completion_type") |
ConnectTimeout
Declaration
[JsonProperty(PropertyName = "connectTimeout")]
public int? ConnectTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
|
ConnectionMemoryChunkSize
Declaration
[JsonProperty(PropertyName = "connectionMemoryChunkSize")]
public int? ConnectionMemoryChunkSize { get; set; }
Property Value
Type | Description |
---|---|
int? | Set the chunking size for updates to the global memory usage counter Global_connection_memory.
|
ConnectionMemoryLimit
Declaration
[JsonProperty(PropertyName = "connectionMemoryLimit")]
public long? ConnectionMemoryLimit { get; set; }
Property Value
Type | Description |
---|---|
long? | Set the maximum amount of memory that can be used by a single user connection.
|
CteMaxRecursionDepth
Declaration
[JsonProperty(PropertyName = "cteMaxRecursionDepth")]
public long? CteMaxRecursionDepth { get; set; }
Property Value
Type | Description |
---|---|
long? | ("cte_max_recursion_depth") |
DefaultAuthenticationPlugin
Declaration
[JsonProperty(PropertyName = "defaultAuthenticationPlugin")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationVariables.DefaultAuthenticationPluginEnum? DefaultAuthenticationPlugin { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationVariables.DefaultAuthenticationPluginEnum? | 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.
|
ExplainFormat
Declaration
[JsonProperty(PropertyName = "explainFormat")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationVariables.ExplainFormatEnum? ExplainFormat { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationVariables.ExplainFormatEnum? | This variable determines the default output format used by EXPLAIN in the absence of a FORMAT option when displaying a query execution plan.
|
ExplicitDefaultsForTimestamp
Declaration
[JsonProperty(PropertyName = "explicitDefaultsForTimestamp")]
public bool? ExplicitDefaultsForTimestamp { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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.
|
ForeignKeyChecks
Declaration
[JsonProperty(PropertyName = "foreignKeyChecks")]
public bool? ForeignKeyChecks { get; set; }
Property Value
Type | Description |
---|---|
bool? | ("foreign_key_checks") |
GeneratedRandomPasswordLength
Declaration
[JsonProperty(PropertyName = "generatedRandomPasswordLength")]
public int? GeneratedRandomPasswordLength { get; set; }
Property Value
Type | Description |
---|---|
int? | ("generated_random_password_length") DEPRECATED -- variable should not be settable and will be ignored |
GlobalConnectionMemoryLimit
Declaration
[JsonProperty(PropertyName = "globalConnectionMemoryLimit")]
public long? GlobalConnectionMemoryLimit { get; set; }
Property Value
Type | Description |
---|---|
long? | Set the total amount of memory that can be used by all user connections.
|
GlobalConnectionMemoryTracking
Declaration
[JsonProperty(PropertyName = "globalConnectionMemoryTracking")]
public bool? GlobalConnectionMemoryTracking { get; set; }
Property Value
Type | Description |
---|---|
bool? | Determines whether the MySQL server calculates Global_connection_memory.
|
GroupConcatMaxLen
Declaration
[JsonProperty(PropertyName = "groupConcatMaxLen")]
public long? GroupConcatMaxLen { get; set; }
Property Value
Type | Description |
---|---|
long? | Specifies the maximum permitted result length in bytes for the GROUP_CONCAT() function.
|
GroupReplicationConsistency
Declaration
[JsonProperty(PropertyName = "groupReplicationConsistency")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationVariables.GroupReplicationConsistencyEnum? GroupReplicationConsistency { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationVariables.GroupReplicationConsistencyEnum? |
|
InformationSchemaStatsExpiry
Declaration
[JsonProperty(PropertyName = "informationSchemaStatsExpiry")]
public int? InformationSchemaStatsExpiry { get; set; }
Property Value
Type | Description |
---|---|
int? | ("information_schema_stats_expiry") |
InnodbAdaptiveHashIndex
Declaration
[JsonProperty(PropertyName = "innodbAdaptiveHashIndex")]
public bool? InnodbAdaptiveHashIndex { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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.
|
InnodbAutoincLockMode
Declaration
[JsonProperty(PropertyName = "innodbAutoincLockMode")]
public int? InnodbAutoincLockMode { get; set; }
Property Value
Type | Description |
---|---|
int? | The lock mode to use for generating auto-increment values.
Permissible values are 0, 1, or 2, for traditional, consecutive, or interleaved, respectively.
|
InnodbBufferPoolDumpPct
Declaration
[JsonProperty(PropertyName = "innodbBufferPoolDumpPct")]
public int? InnodbBufferPoolDumpPct { get; set; }
Property Value
Type | Description |
---|---|
int? | Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.
|
InnodbBufferPoolInstances
Declaration
[JsonProperty(PropertyName = "innodbBufferPoolInstances")]
public int? InnodbBufferPoolInstances { get; set; }
Property Value
Type | Description |
---|---|
int? | ("innodb_buffer_pool_instances") |
InnodbBufferPoolSize
Declaration
[JsonProperty(PropertyName = "innodbBufferPoolSize")]
public long? InnodbBufferPoolSize { get; set; }
Property Value
Type | Description |
---|---|
long? | The size (in bytes) of the buffer pool, that is, the memory area where InnoDB caches table and index data.
|
InnodbChangeBuffering
Declaration
[JsonProperty(PropertyName = "innodbChangeBuffering")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationVariables.InnodbChangeBufferingEnum? InnodbChangeBuffering { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationVariables.InnodbChangeBufferingEnum? | 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.
|
InnodbDdlBufferSize
Declaration
[JsonProperty(PropertyName = "innodbDdlBufferSize")]
public long? InnodbDdlBufferSize { get; set; }
Property Value
Type | Description |
---|---|
long? | 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) |
InnodbDdlThreads
Declaration
[JsonProperty(PropertyName = "innodbDdlThreads")]
public int? InnodbDdlThreads { get; set; }
Property Value
Type | Description |
---|---|
int? | 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) |
InnodbFtEnableStopword
Declaration
[JsonProperty(PropertyName = "innodbFtEnableStopword")]
public bool? InnodbFtEnableStopword { get; set; }
Property Value
Type | Description |
---|---|
bool? | ("innodb_ft_enable_stopword") |
InnodbFtMaxTokenSize
Declaration
[JsonProperty(PropertyName = "innodbFtMaxTokenSize")]
public int? InnodbFtMaxTokenSize { get; set; }
Property Value
Type | Description |
---|---|
int? | ("innodb_ft_max_token_size") |
InnodbFtMinTokenSize
Declaration
[JsonProperty(PropertyName = "innodbFtMinTokenSize")]
public int? InnodbFtMinTokenSize { get; set; }
Property Value
Type | Description |
---|---|
int? | ("innodb_ft_min_token_size") |
InnodbFtNumWordOptimize
Declaration
[JsonProperty(PropertyName = "innodbFtNumWordOptimize")]
public int? InnodbFtNumWordOptimize { get; set; }
Property Value
Type | Description |
---|---|
int? | ("innodb_ft_num_word_optimize") |
InnodbFtResultCacheLimit
Declaration
[JsonProperty(PropertyName = "innodbFtResultCacheLimit")]
public long? InnodbFtResultCacheLimit { get; set; }
Property Value
Type | Description |
---|---|
long? | ("innodb_ft_result_cache_limit") |
InnodbFtServerStopwordTable
Declaration
[JsonProperty(PropertyName = "innodbFtServerStopwordTable")]
public string InnodbFtServerStopwordTable { get; set; }
Property Value
Type | Description |
---|---|
string | ("innodb_ft_server_stopword_table") |
InnodbLockWaitTimeout
Declaration
[JsonProperty(PropertyName = "innodbLockWaitTimeout")]
public int? InnodbLockWaitTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | ("innodb_lock_wait_timeout") |
InnodbLogWriterThreads
Declaration
[JsonProperty(PropertyName = "innodbLogWriterThreads")]
public bool? InnodbLogWriterThreads { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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.
|
InnodbMaxPurgeLag
Declaration
[JsonProperty(PropertyName = "innodbMaxPurgeLag")]
public long? InnodbMaxPurgeLag { get; set; }
Property Value
Type | Description |
---|---|
long? | The desired maximum purge lag in terms of transactions.
|
InnodbMaxPurgeLagDelay
Declaration
[JsonProperty(PropertyName = "innodbMaxPurgeLagDelay")]
public int? InnodbMaxPurgeLagDelay { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum delay in microseconds for the delay imposed when the innodb_max_purge_lag threshold is exceeded.
|
InnodbNumaInterleave
Declaration
[JsonProperty(PropertyName = "innodbNumaInterleave")]
public bool? InnodbNumaInterleave { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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.
|
InnodbOnlineAlterLogMaxSize
Declaration
[JsonProperty(PropertyName = "innodbOnlineAlterLogMaxSize")]
public long? InnodbOnlineAlterLogMaxSize { get; set; }
Property Value
Type | Description |
---|---|
long? | 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.
|
InnodbRedoLogCapacity
Declaration
[JsonProperty(PropertyName = "innodbRedoLogCapacity")]
public long? InnodbRedoLogCapacity { get; set; }
Property Value
Type | Description |
---|---|
long? | 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.
|
InnodbRollbackOnTimeout
Declaration
[JsonProperty(PropertyName = "innodbRollbackOnTimeout")]
public bool? InnodbRollbackOnTimeout { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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.
|
InnodbSortBufferSize
Declaration
[JsonProperty(PropertyName = "innodbSortBufferSize")]
public int? InnodbSortBufferSize { get; set; }
Property Value
Type | Description |
---|---|
int? | This variable defines:
|
InnodbStatsPersistentSamplePages
Declaration
[JsonProperty(PropertyName = "innodbStatsPersistentSamplePages")]
public long? InnodbStatsPersistentSamplePages { get; set; }
Property Value
Type | Description |
---|---|
long? | 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
Declaration
[JsonProperty(PropertyName = "innodbStatsTransientSamplePages")]
public long? InnodbStatsTransientSamplePages { get; set; }
Property Value
Type | Description |
---|---|
long? | The number of index pages to sample when estimating cardinality and other statistics for an indexed column,
such as those calculated by ANALYZE TABLE.
|
InnodbStrictMode
Declaration
[JsonProperty(PropertyName = "innodbStrictMode")]
public bool? InnodbStrictMode { get; set; }
Property Value
Type | Description |
---|---|
bool? | When you enable innodbStrictMode, the InnoDB storage engine returns errors instead of warnings for invalid or incompatible table options.
|
InnodbUndoLogTruncate
Declaration
[JsonProperty(PropertyName = "innodbUndoLogTruncate")]
public bool? InnodbUndoLogTruncate { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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.
|
InteractiveTimeout
Declaration
[JsonProperty(PropertyName = "interactiveTimeout")]
public int? InteractiveTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds the server waits for activity on an interactive connection before closing it.
|
JoinBufferSize
Declaration
[JsonProperty(PropertyName = "joinBufferSize")]
public long? JoinBufferSize { get; set; }
Property Value
Type | Description |
---|---|
long? | 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.
|
LocalInfile
Declaration
[JsonProperty(PropertyName = "localInfile")]
public bool? LocalInfile { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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.
|
LongQueryTime
Declaration
[JsonProperty(PropertyName = "longQueryTime")]
public int? LongQueryTime { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
MandatoryRoles
Declaration
[JsonProperty(PropertyName = "mandatoryRoles")]
public string MandatoryRoles { get; set; }
Property Value
Type | Description |
---|---|
string | ("mandatory_roles") |
MaxAllowedPacket
Declaration
[JsonProperty(PropertyName = "maxAllowedPacket")]
public int? MaxAllowedPacket { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum size of one packet or any generated/intermediate string.
|
MaxBinlogCacheSize
Declaration
[JsonProperty(PropertyName = "maxBinlogCacheSize")]
public long? MaxBinlogCacheSize { get; set; }
Property Value
Type | Description |
---|---|
long? | Sets the size of the transaction cache.
|
MaxConnectErrors
Declaration
[JsonProperty(PropertyName = "maxConnectErrors")]
public long? MaxConnectErrors { get; set; }
Property Value
Type | Description |
---|---|
long? | ("max_connect_errors") |
MaxConnections
Declaration
[JsonProperty(PropertyName = "maxConnections")]
public int? MaxConnections { get; set; }
Property Value
Type | Description |
---|---|
int? | ("max_connections") |
MaxExecutionTime
Declaration
[JsonProperty(PropertyName = "maxExecutionTime")]
public long? MaxExecutionTime { get; set; }
Property Value
Type | Description |
---|---|
long? | ("max_execution_time") |
MaxHeapTableSize
Declaration
[JsonProperty(PropertyName = "maxHeapTableSize")]
public long? MaxHeapTableSize { get; set; }
Property Value
Type | Description |
---|---|
long? | This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.
|
MaxPreparedStmtCount
Declaration
[JsonProperty(PropertyName = "maxPreparedStmtCount")]
public int? MaxPreparedStmtCount { get; set; }
Property Value
Type | Description |
---|---|
int? | ("max_prepared_stmt_count") |
MaxSeeksForKey
Declaration
[JsonProperty(PropertyName = "maxSeeksForKey")]
public long? MaxSeeksForKey { get; set; }
Property Value
Type | Description |
---|---|
long? | 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, \u201CSHOW INDEX Statement\u201D).
By setting this to a low value (say, 100), you can force MySQL to prefer indexes instead of table scans.
|
MaxUserConnections
Declaration
[JsonProperty(PropertyName = "maxUserConnections")]
public long? MaxUserConnections { get; set; }
Property Value
Type | Description |
---|---|
long? | The maximum number of simultaneous connections permitted to any given MySQL user account.
A value of 0 (the default) means \u201Cno limit.\u201D 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.
|
MysqlFirewallMode
Declaration
[JsonProperty(PropertyName = "mysqlFirewallMode")]
public bool? MysqlFirewallMode { get; set; }
Property Value
Type | Description |
---|---|
bool? | ("mysql_firewall_mode") |
MysqlZstdDefaultCompressionLevel
Declaration
[JsonProperty(PropertyName = "mysqlZstdDefaultCompressionLevel")]
public int? MysqlZstdDefaultCompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
int? | DEPRECATED -- typo of mysqlx_zstd_default_compression_level. variable will be ignored. |
MysqlxConnectTimeout
Declaration
[JsonProperty(PropertyName = "mysqlxConnectTimeout")]
public int? MysqlxConnectTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds X Plugin waits for the first packet to be received from newly connected clients.
|
MysqlxDeflateDefaultCompressionLevel
Declaration
[JsonProperty(PropertyName = "mysqlxDeflateDefaultCompressionLevel")]
public int? MysqlxDeflateDefaultCompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
int? | Set the default compression level for the deflate algorithm. ("mysqlx_deflate_default_compression_level") |
MysqlxDeflateMaxClientCompressionLevel
Declaration
[JsonProperty(PropertyName = "mysqlxDeflateMaxClientCompressionLevel")]
public int? MysqlxDeflateMaxClientCompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
int? | Limit the upper bound of accepted compression levels for the deflate algorithm. ("mysqlx_deflate_max_client_compression_level") |
MysqlxDocumentIdUniquePrefix
Declaration
[JsonProperty(PropertyName = "mysqlxDocumentIdUniquePrefix")]
public int? MysqlxDocumentIdUniquePrefix { get; set; }
Property Value
Type | Description |
---|---|
int? | ("mysqlx_document_id_unique_prefix") DEPRECATED -- variable should not be settable and will be ignored |
MysqlxEnableHelloNotice
Declaration
[JsonProperty(PropertyName = "mysqlxEnableHelloNotice")]
public bool? MysqlxEnableHelloNotice { get; set; }
Property Value
Type | Description |
---|---|
bool? | ("mysqlx_enable_hello_notice") DEPRECATED -- variable should not be settable and will be ignored |
MysqlxIdleWorkerThreadTimeout
Declaration
[JsonProperty(PropertyName = "mysqlxIdleWorkerThreadTimeout")]
public int? MysqlxIdleWorkerThreadTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | ("mysqlx_idle_worker_thread_timeout") DEPRECATED -- variable should not be settable and will be ignored |
MysqlxInteractiveTimeout
Declaration
[JsonProperty(PropertyName = "mysqlxInteractiveTimeout")]
public int? MysqlxInteractiveTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds to wait for interactive clients to timeout.
|
MysqlxLz4DefaultCompressionLevel
Declaration
[JsonProperty(PropertyName = "mysqlxLz4DefaultCompressionLevel")]
public int? MysqlxLz4DefaultCompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
int? | Set the default compression level for the lz4 algorithm. ("mysqlx_lz4_default_compression_level") |
MysqlxLz4MaxClientCompressionLevel
Declaration
[JsonProperty(PropertyName = "mysqlxLz4MaxClientCompressionLevel")]
public int? MysqlxLz4MaxClientCompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
int? | Limit the upper bound of accepted compression levels for the lz4 algorithm. ("mysqlx_lz4_max_client_compression_level") |
MysqlxMaxAllowedPacket
Declaration
[JsonProperty(PropertyName = "mysqlxMaxAllowedPacket")]
public int? MysqlxMaxAllowedPacket { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum size of network packets that can be received by X Plugin.
|
MysqlxMinWorkerThreads
Declaration
[JsonProperty(PropertyName = "mysqlxMinWorkerThreads")]
public int? MysqlxMinWorkerThreads { get; set; }
Property Value
Type | Description |
---|---|
int? | ("mysqlx_min_worker_threads") DEPRECATED -- variable should not be settable and will be ignored |
MysqlxReadTimeout
Declaration
[JsonProperty(PropertyName = "mysqlxReadTimeout")]
public int? MysqlxReadTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
MysqlxWaitTimeout
Declaration
[JsonProperty(PropertyName = "mysqlxWaitTimeout")]
public int? MysqlxWaitTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds that X Plugin waits for activity on a connection.
|
MysqlxWriteTimeout
Declaration
[JsonProperty(PropertyName = "mysqlxWriteTimeout")]
public int? MysqlxWriteTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
MysqlxZstdDefaultCompressionLevel
Declaration
[JsonProperty(PropertyName = "mysqlxZstdDefaultCompressionLevel")]
public int? MysqlxZstdDefaultCompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
int? | Set the default compression level for the zstd algorithm. ("mysqlx_zstd_default_compression_level") |
MysqlxZstdMaxClientCompressionLevel
Declaration
[JsonProperty(PropertyName = "mysqlxZstdMaxClientCompressionLevel")]
public int? MysqlxZstdMaxClientCompressionLevel { get; set; }
Property Value
Type | Description |
---|---|
int? | Limit the upper bound of accepted compression levels for the zstd algorithm. ("mysqlx_zstd_max_client_compression_level") |
NetReadTimeout
Declaration
[JsonProperty(PropertyName = "netReadTimeout")]
public int? NetReadTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds to wait for more data from a connection before aborting the read.
|
NetWriteTimeout
Declaration
[JsonProperty(PropertyName = "netWriteTimeout")]
public int? NetWriteTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds to wait for a block to be written to a connection before aborting the write.
|
OptimizerSwitch
Declaration
[JsonProperty(PropertyName = "optimizerSwitch")]
public string OptimizerSwitch { get; set; }
Property Value
Type | Description |
---|---|
string | 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.
|
ParserMaxMemSize
Declaration
[JsonProperty(PropertyName = "parserMaxMemSize")]
public long? ParserMaxMemSize { get; set; }
Property Value
Type | Description |
---|---|
long? | ("parser_max_mem_size") |
QueryAllocBlockSize
Declaration
[JsonProperty(PropertyName = "queryAllocBlockSize")]
public long? QueryAllocBlockSize { get; set; }
Property Value
Type | Description |
---|---|
long? | ("query_alloc_block_size") DEPRECATED -- variable should not be settable and will be ignored |
QueryPreallocSize
Declaration
[JsonProperty(PropertyName = "queryPreallocSize")]
public long? QueryPreallocSize { get; set; }
Property Value
Type | Description |
---|---|
long? | ("query_prealloc_size") DEPRECATED -- variable should not be settable and will be ignored |
RangeOptimizerMaxMemSize
Declaration
[JsonProperty(PropertyName = "rangeOptimizerMaxMemSize")]
public long? RangeOptimizerMaxMemSize { get; set; }
Property Value
Type | Description |
---|---|
long? | The limit on memory consumption for the range optimizer. A value of 0 means \u201Cno limit.\u201D
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.
|
RegexpTimeLimit
Declaration
[JsonProperty(PropertyName = "regexpTimeLimit")]
public int? RegexpTimeLimit { get; set; }
Property Value
Type | Description |
---|---|
int? | 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) |
RelayLogSpaceLimit
Declaration
[JsonProperty(PropertyName = "relayLogSpaceLimit")]
public long? RelayLogSpaceLimit { get; set; }
Property Value
Type | Description |
---|---|
long? | The maximum amount of space to use for all relay logs.
|
ReplicaNetTimeout
Declaration
[JsonProperty(PropertyName = "replicaNetTimeout")]
public int? ReplicaNetTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
ReplicaParallelWorkers
Declaration
[JsonProperty(PropertyName = "replicaParallelWorkers")]
public int? ReplicaParallelWorkers { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.)
|
ReplicaTypeConversions
Declaration
[JsonProperty(PropertyName = "replicaTypeConversions")]
public string ReplicaTypeConversions { get; set; }
Property Value
Type | Description |
---|---|
string | 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.
|
RequireSecureTransport
Declaration
[JsonProperty(PropertyName = "requireSecureTransport")]
public bool? RequireSecureTransport { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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.
|
SkipNameResolve
Declaration
[JsonProperty(PropertyName = "skipNameResolve")]
public bool? SkipNameResolve { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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, \u201CDNS Lookups and the Host Cache\u201D.
|
SortBufferSize
Declaration
[JsonProperty(PropertyName = "sortBufferSize")]
public long? SortBufferSize { get; set; }
Property Value
Type | Description |
---|---|
long? | Each session that must perform a sort allocates a buffer of this size.
|
SqlGenerateInvisiblePrimaryKey
Declaration
[JsonProperty(PropertyName = "sqlGenerateInvisiblePrimaryKey")]
public bool? SqlGenerateInvisiblePrimaryKey { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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.
|
SqlMode
Declaration
[JsonProperty(PropertyName = "sqlMode")]
public string SqlMode { get; set; }
Property Value
Type | Description |
---|---|
string | ("sql_mode") |
SqlRequirePrimaryKey
Declaration
[JsonProperty(PropertyName = "sqlRequirePrimaryKey")]
public bool? SqlRequirePrimaryKey { get; set; }
Property Value
Type | Description |
---|---|
bool? | ("sql_require_primary_key") |
SqlWarnings
Declaration
[JsonProperty(PropertyName = "sqlWarnings")]
public bool? SqlWarnings { get; set; }
Property Value
Type | Description |
---|---|
bool? | ("sql_warnings") |
TableDefinitionCache
Declaration
[JsonProperty(PropertyName = "tableDefinitionCache")]
public int? TableDefinitionCache { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
TableOpenCache
Declaration
[JsonProperty(PropertyName = "tableOpenCache")]
public int? TableOpenCache { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of open tables for all threads. Increasing this value increases the number of file descriptors that mysqld requires.
|
TemptableMaxRam
Declaration
[JsonProperty(PropertyName = "temptableMaxRam")]
public long? TemptableMaxRam { get; set; }
Property Value
Type | Description |
---|---|
long? | 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, \u201CInternal Temporary Table Use in MySQL\u201D.
|
ThreadPoolDedicatedListeners
Declaration
[JsonProperty(PropertyName = "threadPoolDedicatedListeners")]
public bool? ThreadPoolDedicatedListeners { get; set; }
Property Value
Type | Description |
---|---|
bool? | 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. |
ThreadPoolMaxTransactionsLimit
Declaration
[JsonProperty(PropertyName = "threadPoolMaxTransactionsLimit")]
public int? ThreadPoolMaxTransactionsLimit { get; set; }
Property Value
Type | Description |
---|---|
int? | 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. |
ThreadPoolQueryThreadsPerGroup
Declaration
[JsonProperty(PropertyName = "threadPoolQueryThreadsPerGroup")]
public int? ThreadPoolQueryThreadsPerGroup { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
ThreadPoolSize
Declaration
[JsonProperty(PropertyName = "threadPoolSize")]
public int? ThreadPoolSize { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
ThreadPoolTransactionDelay
Declaration
[JsonProperty(PropertyName = "threadPoolTransactionDelay")]
public int? ThreadPoolTransactionDelay { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
TimeZone
Declaration
[JsonProperty(PropertyName = "timeZone")]
public string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string | Initializes the time zone for each client that connects.
|
TmpTableSize
Declaration
[JsonProperty(PropertyName = "tmpTableSize")]
public long? TmpTableSize { get; set; }
Property Value
Type | Description |
---|---|
long? | The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.
|
TransactionIsolation
Declaration
[JsonProperty(PropertyName = "transactionIsolation")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationVariables.TransactionIsolationEnum? TransactionIsolation { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationVariables.TransactionIsolationEnum? | ("transaction_isolation") |
WaitTimeout
Declaration
[JsonProperty(PropertyName = "waitTimeout")]
public int? WaitTimeout { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds the server waits for activity on a noninteractive connection before closing it.
|