1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Modify MySQL / MariaDB limits on Cloud Server
This guide explains how to modify the limits of MySQL
/ MariaDB
on a Serveur Cloud.
Preamble
MySQL
is installed on a dedicated Cloud Server; resources are not shared.- Only one instance of
MySQL
is present per Cloud Server. - The number and size of the databases are only limited by the disk space and the server's resources.
- For large volumes of data, MongoDB is recommended.
Configure MySQL / MariaDB on Cloud Server
List of modifiable MySQL
/ MariaDB
variables:
Name | Description | Value |
---|---|---|
| Buffer size for bulk insertion operations | 8M |
| ||
| Option to explicitly declare default values for timestamp type columns | "" |
| Increment for the auto-extending of the InnoDB table space | "" |
| Size of the key buffer for tables MyISAM | "" |
| Maximum word length for Full-Text search | Undefined |
| Minimum word length for Full-Text search | 3 |
| Size of the additional memory pool for InnoDB | "" |
| Size of the buffer memory pool InnoDB , which stores the data and indexes | "" |
| Journal write frequency InnoDB on disk | "" |
| Enable wide prefix extension InnoDB | |
| Maximum wait time for acquiring locks InnoDB | "" |
| Journal buffer size InnoDB | "" |
| Size of the journal files InnoDB | "" |
| Minimum token size for Full-Text search | Undefined |
| Maximum token size for Full-Text search | Undefined |
| Join buffer size for queries | 1M |
| Size of the key buffer for tables MyISAM | 4M |
| Parameter for the time and date format | Undefined |
| Enabling or disabling local file reading | 0 |
| Enabling or disabling binary logging MySQL | true |
| Maximum allowed network packet size | Undefined |
| Maximum number of connection errors before blocking | 10 |
| Maximum number of simultaneous connections | Undefined |
| Maximum size of in-memory tables | 8M |
| Maximum number of simultaneous connections per user | 38 |
| Maximum size of the temporary file for table sorting MyISAM | 2G |
| Size of the sort buffer for tables MyISAM | 16M |
| Recovery options MyISAM | myisam-recover-options |
| Enabling or disabling the query cache | |
| Limit on the size of results stored in the query cache | 256K |
| Total size of the query cache | 64M |
| Query cache type | 0 |
| Size of the read buffer for queries | 2M |
| Size of the random read buffer for requests | 2M |
| ||
| Number of tables that the server can keep open | 256 |
| Thread cache size | 1 |
| Number of concurrent threads. By default, this is 0 (infinite) | 0 |
| Stack size per thread | 256K |
| Timeouts (wait_timeout and interactive_timeout ) | 30 |
| Maximum size of temporary tables in memory | 8M |
| Path to the temporary directory for temporary files | "/home/nfs-clients/.mysql_tmp |
These variables allow you to configure various aspects of the behavior of MySQL/MariaDB on a Cloud Server.
Anything that is not defined is, by default, set to its default value.
Edit the MySQL / MariaDB limits
To configure HAProxy:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the relevant product.
- Click on MySQL/MariaDB in the left sidebar.
- Edit the necessary values.