dbweights — The dbinfo table keeps track of which databases exist. This ones keeps track of each database's roles and weights.
| 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 |