When a table uses the Spider storage engine, the following Spider table parameters can be set in the COMMENT clause of the CREATE TABLE statement. Many Spider table parameters have corresponding system variables, so they can be set for all Spider tables on the node. For additional information, see the Spider System Variables page.
access_balances0 abl active_link_countall backends alc casual_readdatabaselocal table database database default_filedefault_group table variable is set, this variable defaults to the values of the --defaults-extra-file or --defaults-file options. When the default_group table variable is not set, it defaults to none. none dff default_groupnone dfg delete_all_rows_typehostlocalhost host idx000000 is the index ID, which is the number of the index shown by the SHOW CREATE TABLE statement. 000 is the Primary Key. For instance, idx000 "force index(PRIMARY)" (in abbreviated format idx000 "f PRIMARY"). f force index u use index ig ignore index none internal_delayedINSERT DELAYED statement on local server. 0 Doesn't transmit. 1 Transmits. 0 idl link_status0 Doesn't change status. 1 Changes status to OK. 2 Changes status to RECOVERY. 3 Changes status to no more in group communication. 0 lst monitoring_bg_interval10000000 mbi monitoring_bg_kind0 Disables background monitoring. 1 Monitors connection state. 2 Monitors state of table without WHERE clause. 3 Monitors state of table with WHERE clause (currently unsupported). 0 mbk monitoring_kind0 Disables monitoring 1 Monitors connection state. 2 Monitors state of table without WHERE clause. 3 Monitors state of table with WHERE clause (currently unsupported). 0 mkd monitoring_limitmonitoring_kind table variable is set to a value greater than 1. 1 0 upwards mlt monitoring_server_id@@server_id for each backend failure. You can use this to geo-localize backend servers and set the first Spider monitoring node to contact for failover. In the event that this monitor fails, other monitoring nodes are contacted. For multiple copy backends, you can set a lazy configuration with a single MSI instead of one per backend. server_id msi passwordnone password port3306 port priority1000000 prt query_cacheSELECT statements to the remote server. 0 No option passed. 1 Passes the SQL_CACHE option. 2 Passes the SQL_NO_CACHE option. 0 qch read_rate0.0002 rrt scan_rate 0.0001 srt serverCREATE SERVER statements. none srv socketnone socket ssl_canone sca ssl_capathnone scp ssl_certnone scr ssl_ciphernone sch ssl_keynone sky ssl_verify_server_cert0 Disables verification. 1 Enables verification. 0 svc tableSame table name tbl
© 2023 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/spider-table-parameters/