SPIDER_COPY_TABLES()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
A description for this Function has not yet been added to this Documentation.
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
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.