alter_algorithm
This page is part of MariaDB's Documentation.
The parent of this page is: System Variables for MariaDB Enterprise Server
Topics on this page:
Overview
DETAILS
This system variable can configure the server to use specific algorithms for ALTER TABLE operations:
Alter Algorithm | Description |
---|---|
DEFAULT | In this mode, the server uses the most efficient algorithm for a given operation. |
COPY | In this mode, the server will only use the |
INPLACE | In this mode, the server will only use the |
NOCOPY | In this mode, the server will only use the |
INSTANT | In this mode, the server will only use the |
PARAMETERS
Command-line | --alter_algorithm[={DEFAULT| |
Configuration file | Supported |
Dynamic | Yes |
Scope | Global, Session |
Data Type | ENUM (DEFAULT, COPY, INPLACE, NOCOPY, INSTANT) |
Product Default Value | DEFAULT |
SKYSQL
PRIVILEGES
The alter_algorithm
system variable requires the SUPER
privilege to dynamically set its global value at runtime.
The alter_algorithm
system variable does not require any special privilege to dynamically set its session value at runtime.