Identifying Unused Indexes
I’ve written about this before, but I keep seeing big benefits from using it so I wanted to mention it again. Prior to DB2 9.7 FP3A there wasn’t an easy way to identify unused indexes. It could be done using a couple of different techniques but since FP3A a lastused column was added to syscat.indexes indicating the last time an index was used. I routinely use this to identify unused indexes and clean them up, resulting in less space used and faster table and index reorgs. So if you haven’t been checking this, it makes sense to start now. Stay tuned!
Leave a Comment