Configuring the Aria pagecache
One difference between the Aria and MyISAM storage engines is Aria's PAGE
row format. This is the default row format for Aria tables and must be used to take advantage of the crash-safe features of this storage engine.
A primary advantage of this row format is that rows are efficiently cached, which gives better performance. They also do not fragment as easily as the alternative DYNAMIC
row format, and updates to them are quicker. The Aria pagecache is controlled by three variables.
How to do it...
Launch the
mysql
command-line client application and connect to our MariaDB server as the root user or as a user with theSUPER
privilege.View the current Aria pagecache settings with the following command:
SHOW VARIABLES LIKE 'aria_pagecache%';
The output will look like the following screenshot:
Add the following lines of code to the end of our system's
my.cnf
ormy.ini
file (or to an existing[mysqld]
section in the file), and then restart MariaDB:[mysqld] aria_pagecache_buffer_size...