I have a Rails app that's using the acts_as_taggable gem. I hosted the app on Heroku and found that I exceeded the rows limit for their free PostgreSQL database.
Looking at the tables automatically generated using the gem, my Tags table has 3302 rows, but my Taggings table has a whopping 17103 rows.
I'm trying to figure out why there's this huge discrepancy and if there's anything I can do to reduce the Taggings table size. Are there any best practices for this?
17103 taggings for 3302 tags does not look that whopping - every tag at average is assigned to 5 entities.
Look into: