What were you doing with last year logs?
Join the DZone community and get the full member experience.Join For Free
i was trying to take a backup of my blog to see if i can do some fancy stuff there, when i realized that the blog backup was 2 gb (!) in size. now, i know that i post a lot, but i don’t think that i post that much.
as it turns out, the problem was with unbounded logs that started taking up most of the space in the database:
in general, when building applications that are meant to run over long periods of time without attention, it is better to have some way of getting rid of unimportant information automatically.
Published at DZone with permission of Oren Eini, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.