You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -56,275 +56,39 @@ Please refer to this [guide](/pages/public_cloud/public_cloud_databases/database
56
56
57
57
Below you can find a summary of every configuration option available for MySQL service:
58
58
59
-
|||
60
-
|---|---|
61
-
| Parameter |`mysql.connect_timeout`|
62
-
| Value type | long |
63
-
| Minimum | 2 |
64
-
| Maximum | 3600 |
65
-
| Values ||
66
-
| Description | The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake |
67
-
68
-
|||
69
-
|---|---|
70
-
| Parameter |`mysql.default_time_zone`|
71
-
| Value type | string |
72
-
| Minimum ||
73
-
| Maximum ||
74
-
| Values ||
75
-
| Description | Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default. |
76
-
77
-
|||
78
-
|---|---|
79
-
| Parameter |`mysql.group_concat_max_len`|
80
-
| Value type | long |
81
-
| Minimum | 4 |
82
-
| Maximum | 18446744073709552000 |
83
-
| Values ||
84
-
| Description | The maximum permitted result length in bytes for the GROUP_CONCAT() function. |
| Description | Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25 |
103
-
104
-
|||
105
-
|---|---|
106
-
| Parameter |`mysql.innodb_flush_neighbors`|
107
-
| Value type | long |
108
-
| Minimum | 0 |
109
-
| Maximum | 2 |
110
-
| Values ||
111
-
| Description | Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent |
112
-
113
-
|||
114
-
|---|---|
115
-
| Parameter |`mysql.innodb_ft_min_token_size`|
116
-
| Value type | long |
117
-
| Minimum | 0 |
118
-
| Maximum | 16 |
119
-
| Values ||
120
-
| Description | Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service. |
| Description | The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables. |
157
-
158
-
|||
159
-
|---|---|
160
-
| Parameter |`mysql.innodb_print_all_deadlocks`|
161
-
| Value type | boolean |
162
-
| Minimum ||
163
-
| Maximum ||
164
-
| Values ||
165
-
| Description | When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default. |
166
-
167
-
|||
168
-
|---|---|
169
-
| Parameter |`mysql.innodb_read_io_threads`|
170
-
| Value type | long |
171
-
| Minimum | 1 |
172
-
| Maximum | 64 |
173
-
| Values ||
174
-
| Description | The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. |
175
-
176
-
|||
177
-
|---|---|
178
-
| Parameter |`mysql.innodb_rollback_on_timeout`|
179
-
| Value type | boolean |
180
-
| Minimum ||
181
-
| Maximum ||
182
-
| Values ||
183
-
| Description | When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service. |
184
-
185
-
|||
186
-
|---|---|
187
-
| Parameter |`mysql.innodb_thread_concurrency`|
188
-
| Value type | long |
189
-
| Minimum | 0 |
190
-
| Maximum | 1000 |
191
-
| Values ||
192
-
| Description | Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit) |
193
-
194
-
|||
195
-
|---|---|
196
-
| Parameter |`mysql.innodb_write_io_threads`|
197
-
| Value type | long |
198
-
| Minimum | 1 |
199
-
| Maximum | 64 |
200
-
| Values ||
201
-
| Description | The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service. |
202
-
203
-
|||
204
-
|---|---|
205
-
| Parameter |`mysql.interactive_timeout`|
206
-
| Value type | long |
207
-
| Minimum | 30 |
208
-
| Maximum | 604800 |
209
-
| Values ||
210
-
| Description | The number of seconds the server waits for activity on an interactive connection before closing it. |
| Description | The storage engine for in-memory internal temporary tables. |
220
-
221
-
|||
222
-
|---|---|
223
-
| Parameter |`mysql.long_query_time`|
224
-
| Value type | double |
225
-
| Minimum | 0 |
226
-
| Maximum | 3600 |
227
-
| Values ||
228
-
| Description | The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute. Default is 10s |
229
-
230
-
|||
231
-
|---|---|
232
-
| Parameter |`mysql.max_allowed_packet`|
233
-
| Value type | long |
234
-
| Minimum | 102400 |
235
-
| Maximum | 1073741824 |
236
-
| Values ||
237
-
| Description | Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M) |
238
-
239
-
|||
240
-
|---|---|
241
-
| Parameter |`mysql.max_heap_table_size`|
242
-
| Value type | long |
243
-
| Minimum | 1048576 |
244
-
| Maximum | 1073741824 |
245
-
| Values ||
246
-
| Description | Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M) |
247
-
248
-
|||
249
-
|---|---|
250
-
| Parameter |`mysql.net_buffer_length`|
251
-
| Value type | long |
252
-
| Minimum | 1024 |
253
-
| Maximum | 1048576 |
254
-
| Values ||
255
-
| Description | Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service. |
256
-
257
-
|||
258
-
|---|---|
259
-
| Parameter |`mysql.net_read_timeout`|
260
-
| Value type | long |
261
-
| Minimum | 1 |
262
-
| Maximum | 3600 |
263
-
| Values ||
264
-
| Description | The number of seconds to wait for more data from a connection before aborting the read. |
265
-
266
-
|||
267
-
|---|---|
268
-
| Parameter |`mysql.net_write_timeout`|
269
-
| Value type | long |
270
-
| Minimum | 1 |
271
-
| Maximum | 3600 |
272
-
| Values ||
273
-
| Description | The number of seconds to wait for a block to be written to a connection before aborting the write. |
274
-
275
-
|||
276
-
|---|---|
277
-
| Parameter |`mysql.slow_query_log`|
278
-
| Value type | boolean |
279
-
| Minimum ||
280
-
| Maximum ||
281
-
| Values ||
282
-
| Description | Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table. Default is off |
283
-
284
-
|||
285
-
|---|---|
286
-
| Parameter |`mysql.sort_buffer_size`|
287
-
| Value type | long |
288
-
| Minimum | 32768 |
289
-
| Maximum | 1073741824 |
290
-
| Values ||
291
-
| Description | Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K) |
292
-
293
-
|||
294
-
|---|---|
295
-
| Parameter |`mysql.sql_mode`|
296
-
| Value type | string |
297
-
| Minimum ||
298
-
| Maximum ||
299
-
| Values ||
300
-
| Description | Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned. |
301
-
302
-
|||
303
-
|---|---|
304
-
| Parameter |`mysql.sql_require_primary_key`|
305
-
| Value type | boolean |
306
-
| Minimum ||
307
-
| Maximum ||
308
-
| Values ||
309
-
| Description | Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionalities may break if any large table is missing them. |
310
-
311
-
|||
312
-
|---|---|
313
-
| Parameter |`mysql.tmp_table_size`|
314
-
| Value type | long |
315
-
| Minimum | 1048576 |
316
-
| Maximum | 1073741824 |
317
-
| Values ||
318
-
| Description | Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M) |
319
-
320
-
|||
321
-
|---|---|
322
-
| Parameter |`mysql.wait_timeout`|
323
-
| Value type | long |
324
-
| Minimum | 1 |
325
-
| Maximum | 2147483 |
326
-
| Values ||
327
-
| Description | The number of seconds the server waits for activity on a non-interactive connection before closing it. |
59
+
| Parameters |
60
+
|------------|
61
+
|**mysql.connect_timeout**`long`<br>min: `2` max: `3600`<br>The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake<br>|
62
+
|**mysql.default_time_zone**`string`<br>Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default.<br>|
63
+
|**mysql.group_concat_max_len**`long`<br>min: `4` max: `18446744073709552000`<br>The maximum permitted result length in bytes for the GROUP_CONCAT() function.<br>|
64
+
|**mysql.information_schema_stats_expiry**`long`<br>min: `900` max: `31536000`<br>The time, in seconds, before cached statistics expire<br>|
65
+
|**mysql.innodb_change_buffer_max_size**`long`<br>min: `0` max: `50`<br>Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25<br>|
66
+
|**mysql.innodb_flush_neighbors**`long`<br>min: `0` max: `2`<br>Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent<br>|
67
+
|**mysql.innodb_ft_min_token_size**`long`<br>min: `0` max: `16`<br>Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service.<br>|
68
+
|**mysql.innodb_ft_server_stopword_table**`string`<br>This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables.<br>|
69
+
|**mysql.innodb_lock_wait_timeout**`long`<br>min: `1` max: `3600`<br>The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120.<br>|
70
+
|**mysql.innodb_log_buffer_size**`long`<br>min: `1048576` max: `4294967295`<br>The size in bytes of the buffer that InnoDB uses to write to the log files on disk.<br>|
71
+
|**mysql.innodb_online_alter_log_max_size**`long`<br>min: `65536` max: `1099511627776`<br>The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.<br>|
72
+
|**mysql.innodb_print_all_deadlocks**`boolean`<br>When enabled, information about all deadlocks in InnoDB user transactions is recorded in the error log. Disabled by default.<br>|
73
+
|**mysql.innodb_read_io_threads**`long`<br>min: `1` max: `64`<br>The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.<br>|
74
+
|**mysql.innodb_rollback_on_timeout**`boolean`<br>When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service.<br>|
75
+
|**mysql.innodb_thread_concurrency**`long`<br>min: `0` max: `1000`<br>Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit)<br>|
76
+
|**mysql.innodb_write_io_threads**`long`<br>min: `1` max: `64`<br>The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service.<br>|
77
+
|**mysql.interactive_timeout**`long`<br>min: `30` max: `604800`<br>The number of seconds the server waits for activity on an interactive connection before closing it.<br>|
78
+
|**mysql.internal_tmp_mem_storage_engine**`string`<br>values: `MEMORY`, `TempTable`<br>The storage engine for in-memory internal temporary tables.<br>|
79
+
|**mysql.log_output**`string`<br>values: `INSIGHTS`, `INSIGHTS,TABLE`, `NONE`, `TABLE`<br>The slow log output destination when slow_query_log is ON. To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE.<br>|
80
+
|**mysql.long_query_time**`double`<br>min: `0` max: `3600`<br>The slow_query_logs work as SQL statements that take more than long_query_time seconds to execute.<br>|
81
+
|**mysql.max_allowed_packet**`long`<br>min: `102400` max: `1073741824`<br>Size of the largest message in bytes that can be received by the server. Default is 67108864 (64M)<br>|
82
+
|**mysql.max_heap_table_size**`long`<br>min: `1048576` max: `1073741824`<br>Limits the size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 (16M)<br>|
83
+
|**mysql.net_buffer_length**`long`<br>min: `1024` max: `1048576`<br>Start sizes of connection buffer and result buffer. Default is 16384 (16K). Changing this parameter will lead to a restart of the MySQL service.<br>|
84
+
|**mysql.net_read_timeout**`long`<br>min: `1` max: `3600`<br>The number of seconds to wait for more data from a connection before aborting the read.<br>|
85
+
|**mysql.net_write_timeout**`long`<br>min: `1` max: `3600`<br>The number of seconds to wait for a block to be written to a connection before aborting the write.<br>|
86
+
|**mysql.slow_query_log**`boolean`<br>Slow query log enables capturing of slow queries. Setting slow_query_log to false also truncates the mysql.slow_log table.<br>|
87
+
|**mysql.sort_buffer_size**`long`<br>min: `32768` max: `1073741824`<br>Sort buffer size in bytes for ORDER BY optimization. Default is 262144 (256K)<br>|
88
+
|**mysql.sql_mode**`string`<br>Global SQL mode. Set to empty to use MySQL server defaults. When creating a new service and not setting this field Aiven default SQL mode (strict, SQL standard compliant) will be assigned.<br>|
89
+
|**mysql.sql_require_primary_key**`boolean`<br>Require primary key to be defined for new tables or old tables modified with ALTER TABLE and fail if missing. It is recommended to always have primary keys because various functionality may break if any large table is missing them.<br>|
90
+
|**mysql.tmp_table_size**`long`<br>min: `1048576` max: `1073741824`<br>Limits the size of internal in-memory tables. Also set max_heap_table_size. Default is 16777216 (16M)<br>|
91
+
|**mysql.wait_timeout**`long`<br>min: `1` max: `2147483`<br>The number of seconds the server waits for activity on a noninteractive connection before closing it.<br>|
0 commit comments