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   The dbid from dbinfo.
role varchar(25)   The database role type: master, slave, clusterN, clusterNslave, etc... See other documentation.
norm tinyint unsigned   The normal weighting value for this dbid+role.
curr tinyint unsigned   The current weighting value for this dbid+role.
Key name Type Column(s)
PRIMARY PRIMARY