DEV Community

Shekhar Sahu
Shekhar Sahu

Posted on

1 1

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)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay