ALTER CLUSTER RESIZE DEVICES

Overview

Resizes the device1 files on all nodes in the cluster.

USAGE

DETAILS

ALTER CLUSTER RESIZE DEVICES size

Use ALTER CLUSTER RESIZE DEVICES to expand the device1` file on all online nodes. size is the total calculated bytes or a rounded whole integer suffixed by k/m/g for kilobytes, megabytes, or gigabytes.

sql> ALTER CLUSTER RESIZE DEVICES 50g;

All device1 files should be the same size cluster-wide and are all modified by the resize command in parallel. This command does not affect the device1-temp file that is used for sorting and grouping large query results.

For additional information about how to manage the database capacity, see "Manage Storage and Database Capacity for MariaDB Xpand".

ALTER CLUSTER RESIZE DEVICES does not support reducing the size of the device1 file. For additional information about how to reduce the size of the device file, see "Decrease device1 Size for MariaDB Xpand".

Note

Xpand recommends resizing devices during off-peak hours.

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.09

  • Present starting in MariaDB Xpand 23.09.1.

6.1

  • Present starting in MariaDB Xpand 6.1.0.

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.1

  • Present starting in MariaDB Xpand 6.1.0.

EXTERNAL REFERENCES