Sharded MariaDB Enterprise Spider Topology Add a Shard
Instructions on how to expand a sharded Spider topology by adding new data nodes (shards) and rebalancing the data distribution.
Overview
Create Spider User
CREATE USER spider_user@192.0.2.1 IDENTIFIED BY "password";Test Spider User
$ mariadb --user spider_user --host 192.0.2.2 --passwordConfigure Connection Details
CREATE SERVER southern_server
FOREIGN DATA WRAPPER mariadb
OPTIONS (
HOST '192.0.2.6',
PORT 5004,
USER 'spider_user',
PASSWORD 'password',
DATABASE 'southern_sales'
);Create the Data Table
Grant Privileges
Privileges for Spider BKA Mode
Alter the Spider Table
Test Read Operations
Last updated
Was this helpful?

