All pages
Powered by GitBook
1 of 1

Loading...

Spider Sharded Overview

Provides an overview of using Spider for sharding in MariaDB Enterprise Server, allowing data distribution across multiple nodes for horizontal scalability.

Overview

Choose an operation for the Sharded MariaDB Enterprise Spider topology:

Operation
Description

How to add a new shard to a Spider Table.

Update Character Sets and Collations

The character set or collation for the Spider Table can be updated or modified using the statement.

On the Spider Node, alter the Spider Table's character set and collation:

If the new character set and collation are not compatible with the character set and collation used by the Data Table, you must also alter the character set and collation for the Data Table on the Data Node.

Update Connection Options

In a Sharded MariaDB Enterprise Spider topology, the connection options for a Data Node can be updated using the statement.

On the Spider Node, alter the partition's connection details:

Backup and Restore

How to create a new backup or restore an existing backup.

Update Character Set or Collation

How to update the character set or collation for a Spider Table.

Update Connection Options

How to update the connection options for a Data Node.

ALTER TABLE
ALTER TABLE
Add a Shard
ALTER TABLE spider_sharded_sales.invoices
   DEFAULT CHARACTER SET 'utf8mb4'
   DEFAULT COLLATE 'utf8mb4_general_ci';
ALTER TABLE spider_sharded_sales.invoices
   REORGANIZE PARTITION hq_partition INTO (
      PARTITION hq_partition VALUES IN (1) COMMENT = 'server "new_hq_server", table "invoices"'
   );