enable_rebalance
看是不是都为ture.
SELECT * from gv$ob_parameters where name = ‘enable_transfer’;
SELECT * from gv$ob_parameters where name = ‘enable_rebalance’;
obclient(root@tenant1)[oceanbase]> SELECT * from gv$ob_parameters where name = ‘enable_transfer’;
±------------±---------±------±-------±----------±----------------±----------±------±-------------------------------------------------------------------------------------------------------------------------------------------------------------------±-------------±------------------+
| SVR_IP | SVR_PORT | ZONE | SCOPE | TENANT_ID | NAME | DATA_TYPE | VALUE | INFO | SECTION | EDIT_LEVEL |
±------------±---------±------±-------±----------±----------------±----------±------±-------------------------------------------------------------------------------------------------------------------------------------------------------------------±-------------±------------------+
| 10.13.9.193 | 2882 | zone2 | TENANT | 1004 | enable_transfer | NULL | True | controls whether transfers are allowed in the tenant. This config does not take effect when enable_rebalance is disabled. Value: True:turned on False:turned off | LOAD_BALANCE | DYNAMIC_EFFECTIVE |
| 10.13.9.189 | 2882 | zone3 | TENANT | 1004 | enable_transfer | NULL | True | controls whether transfers are allowed in the tenant. This config does not take effect when enable_rebalance is disabled. Value: True:turned on False:turned off | LOAD_BALANCE | DYNAMIC_EFFECTIVE |
| 10.13.9.171 | 2882 | zone1 | TENANT | 1004 | enable_transfer | NULL | True | controls whether transfers are allowed in the tenant. This config does not take effect when enable_rebalance is disabled. Value: True:turned on False:turned off | LOAD_BALANCE | DYNAMIC_EFFECTIVE |
±------------±---------±------±-------±----------±----------------±----------±------±-------------------------------------------------------------------------------------------------------------------------------------------------------------------±-------------±------------------+
3 rows in set (0.019 sec)
obclient(root@tenant1)[oceanbase]>
obclient(root@tenant1)[oceanbase]> SELECT * from gv$ob_parameters where name = ‘enable_rebalance’;
±------------±---------±------±-------±----------±-----------------±----------±------±----------------------------------------------------------------------------------------------------±-------------±------------------+
| SVR_IP | SVR_PORT | ZONE | SCOPE | TENANT_ID | NAME | DATA_TYPE | VALUE | INFO | SECTION | EDIT_LEVEL |
±------------±---------±------±-------±----------±-----------------±----------±------±----------------------------------------------------------------------------------------------------±-------------±------------------+
| 10.13.9.189 | 2882 | zone3 | TENANT | 1004 | enable_rebalance | NULL | True | specifies whether the tenant load-balancing is turned on. Value: True:turned on False: turned off | LOAD_BALANCE | DYNAMIC_EFFECTIVE |
| 10.13.9.193 | 2882 | zone2 | TENANT | 1004 | enable_rebalance | NULL | True | specifies whether the tenant load-balancing is turned on. Value: True:turned on False: turned off | LOAD_BALANCE | DYNAMIC_EFFECTIVE |
| 10.13.9.171 | 2882 | zone1 | TENANT | 1004 | enable_rebalance | NULL | True | specifies whether the tenant load-balancing is turned on. Value: True:turned on False: turned off | LOAD_BALANCE | DYNAMIC_EFFECTIVE |
±------------±---------±------±-------±----------±-----------------±----------±------±----------------------------------------------------------------------------------------------------±-------------±------------------+
3 rows in set (0.017 sec)