DEV Community

Shekhar Sahu
Shekhar Sahu

Posted on

Rails: Conserve your database by “audit”ing its space in right way !!!

Link: https://blog.joshsoftware.com/2018/07/19/rails-conserve-your-database-by-auditing-its-space-in-right-way/

In most of the Rails applications, we track the important data for auditing. Most of the time, database table in which these audit records are stored, is under same database of our application.

Keeping this table in same database is helpful until it doesn’t grows tremendously. We use this table most of the time for analysis & sometimes for recovering the data. As this size increases, it will start showing impacts in space consumption, like, increase in database size and backup size and also time taken for database backup.

Top comments (0)