I'm using the impressionist gem for a Ruby on Rails based website. Our database is mysql. The impressions table is at about 2M records, which should pose no problem for MySql. The table size is 800M which is beginning to tax our servers. The data size of the table is 200M and the index size is 600M. Most of the indexes were predefined by the gem. Is there a way to figure out if any of these indexes are being used or can be deleted?
1,310,855,040 controlleraction_session_index
1,310,855,040 controlleraction_ip_index
1,310,855,040 controlleraction_request_index
--880,757,504 poly_request_index
--880,757,504 impressionable_type_message_index
--880,757,504 poly_session_index
--880,757,504 poly_ip_index
-----6,854,144 PRIMARY