dbweights

dbweights — Global. Stores each database's roles and weights. The dbinfo table keeps track of which databases exist.

dbweights

Column name Type Null Default Description
dbid tinyint unsigned   0 The dbid from dbinfo.
role varchar(25)   The database role type: master, slave, clusterN, clusterNslave, etc... See other documentation.
norm tinyint unsigned   0 The normal weighting value for this dbid+role.
curr tinyint unsigned   0 The current weighting value for this dbid+role.
Key name Type Column(s)
PRIMARY PRIMARY