-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

MariaDB Cookbook
By :

When creating an execution plan for a query, the MariaDB optimizer makes a cost-based decision about whether or not to use one or more indexes instead of reading through a table row-by-row. Indexes are often, but not always the faster choice. The extended key's optimization improves the index lookups for InnoDB and XtraDB tables.
Launch the mysql
command-line client application and connect it to our MariaDB server as the root user or as a user with the SUPER
privilege.
Enable the extended keys optimization with the following command:
SET GLOBAL optimizer_switch='extended_keys=on';
Add the following code to our my.cnf
or my.ini
file (or to an existing [mysqld]
section):
[mysqld]
optimizer_switch = 'extended_keys=on'
verifies that extended_keys
is set to on
with the following command:
SHOW VARIABLES LIKE 'optimizer_switch'\G
In this recipe, we turn on the extended_keys
optimization globally for the running server and we...
Change the font size
Change margin width
Change background colour