Why a tablespace rebalance is not initiating ?
Biswarup(Bis)Mukherjee 120000HKTY Comments (2) Visits (6956)
Altered a tablespace to add space and then trying to rebalance the tablespace with command like,
db2 alter tablespace <tablespace> rebalance
But, the "db2 list utilities show detail" or, "db2pd -utilities" does not show any rebalance is running.
The tablespace shows the status to be,
Tablespace State = 0x'10000000'
Following two command run successfully,
ALTER TABLESPACE tablespace_name REBALANCE SUSPEND;
But, still rebalance is not restarted.
Restart of the database which is supposed to restart any suspended rebalance should restart the same.
That is also not working either.
Following query shows the tablespace is in FWD_REBAL ACTIVE,
db2 "select varchar(tbsp_name, 30) as tbsp_name,
There is absolutely no messages logged in db2diag.log
So, is this a DB2 bug ? Or, what is the reason ?
The reason being, there is an internal DB2 registry which was unknowingly set by somebody.
It's call REBALANCER
In a "db2set -all" output following could be seen,
Internal DB2 registries are there to be used by DB2 support analysts to help in some critical situations. And, should not be used casually.
This being internal registry it does not even log much diagnostics in the db2diag.log as this is supposed to be used consciously by support analysts.
To fix the issue following needs to be done,
db2stop / db2start
That will restart the rebalancers and complete the tablespace rebalance.