I discussed about hashing in my earlier post. Hash organization requires additional storage. The real time statistics REORGHASHACCES is very low then we need to remove Hash organization from the table.
ALTER TABLE can be used to change the space for Hash.
Changing Hash space need
- When the TOTALENTRIES in SYSINDEXSPACESTATS are greater than 10% of TOTALROWS in SYSTABLESPACESTATS.
- When the real-time statistic DATASIZE in SYSTABLESPACESTATS is greater than HASHSPACE in SYSTABLESPACE; maintain HASHSPACE size at least 20% bigger than DATASIZE.
MAXROWS parameter should not be used with Hash.
Also read: New Hash Access Method in DB2