--key-buffer-size
This page is part of MariaDB's Documentation.
The parent of this page is: mariadbd & mysqld for MariaDB Enterprise Server
Topics on this page:
Overview
This is a command-line option for the mariadbd
& mysqld
commands (arg: Required).
The size in bytes of MyISAM key cache, which is the buffer used for MyISAM index blocks.
See also: mariadbd & mysqld for MariaDB Enterprise Server 11.4, in 10.6 ES, in 10.5 ES, in 10.4 ES, in 10.3 ES, in 10.2 ES, in 10.6 CS, in 10.5 CS, in 10.4 CS, in 10.3 CS, and in 10.2 CS
DETAILS
The --key-buffer-size
command-line option sets the size of the MyISAM key cache in bytes.
The value can be specified in a larger unit by including a suffix:
Unit | Suffix |
---|---|
kilobyte |
|
megabyte |
|
gigabyte |
|
This command-line option is mapped to the key_buffer_size
system variable. For additional information the system variable, see "key_
EXAMPLES
Command-line
When MariaDB Server (mariadbd
) is started via the command-line, the --key-buffer-size
command-line option can be specified:
$ mariadbd .. --key-buffer-size='512M' ..
CHANGE HISTORY
Release Series | History |
---|---|
11.4 Enterprise |
|
10.6 Enterprise |
|
10.6 Community |
|
10.5 Enterprise |
|
10.5 Community |
|
10.4 Enterprise |
|
10.4 Community |
|
10.3 Enterprise |
|
10.3 Community |
|
10.2 Enterprise |
|
10.2 Community |
|