Documentation and discussion

Management software

Tuning analysis software

High availability

Global configuration

Any memory specified below is allocated once for each MySQL instance, regardless of the number of connections.

Per-connection configuration

Any memory specified below is allocated per-connection. The maximum number of concurrent connections is max_connections. The MySQL server should not have to swap even if it reaches max_connections and MySQL uses all globally available memory. If a particular session or connection would benefit from increases in any of the buffers marked with (star), these buffers can be increased on a session-by-session basis.