The following variables are only available in the COMMENT
clause of the CREATE TABLE statement when the Spider storage engine has been installed. Global variables can be overloaded at the table level using the DSN parameter. These variables are listed on the Spider System Variables page.
access_balances
0
abl
active_link_count
all backends
alc
casual_read
database
local table database
database
default_file
default_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_group
none
dfg
delete_all_rows_type
host
localhost
host
idx000
000
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_delayed
INSERT DELAYED
statement on local server. 0
Doesn't transmit. 1
Transmits. 0
idl
link_status
0
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_interval
10000000
mbi
monitoring_bg_kind
0
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_kind
0
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_limit
monitoring_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
password
none
password
port
3306
port
priority
1000000
prt
query_cache
SELECT
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_rate
0.0002
rrt
scan_rate
0.0001
srt
server
CREATE SERVER
statements. none
srv
socket
none
socket
ssl_ca
none
sca
ssl_capath
none
scp
ssl_cert
none
scr
ssl_cipher
none
sch
ssl_key
none
sky
ssl_verify_server_cert
0
Disables verification. 1
Enables verification. 0
svc
table
Same table name
tbl
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/spider-table-system-variables/