SPIDER_COPY_TABLES()
This page is part of MariaDB's Enterprise Documentation.
The parent of this page is: Functions
Topics on this page:
Overview
A description for this Function has not yet been added to this Documentation.
See also: Functions in 10.6 ES, in 10.6 CS, in 10.5 ES, in 10.5 CS, in 10.4 ES, in 10.4 CS, in 10.3 ES, in 10.3 CS, in 10.2 ES, and in 10.2 CS
EXAMPLES
ALTER TABLE backend.sbtest
ENGINE=spider COMMENT='wrapper "mysql", table "sbtest"'
PARTITION BY KEY (id)
(
PARTITION pt1 COMMENT = 'srv "backend1 backend2_replication", mbk "2", mkd "2", msi "3306", link_status "2 0"',
PARTITION pt2 COMMENT = 'srv "backend2 backend1_replication", mbk "2", mkd "2", msi "3306", link_status "0 0"'
);
SELECT spider_copy_tables('backend.sbtest#P#pt1','1','0');
+----------------------------------------------------+
| spider_copy_tables('backend.sbtest#P#pt1','1','0') |
+----------------------------------------------------+
| 1 |
+----------------------------------------------------+
CHANGE HISTORY
Release Series | History |
---|---|
10.6 Enterprise |
|
10.6 Community |
|
10.5 Enterprise |
|
10.5 Community |
|
10.4 Enterprise |
|
10.4 Community |
|
10.3 Enterprise |
|
10.3 Community |
|
10.2 Enterprise |
|
10.2 Community |
|
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.
Information specific to MariaDB SkySQL can be found on the SPIDER_COPY_TABLES() page in the SkySQL Documentation.