News for hackers. Stuff that matters.
Re:Ask HN: How do you log application events? by fasfawefaw on Monday April 27, 2015 @03:06PM (#9448459)
> We are currently inserting our logs in an sql database, with timestamp, logType, userId, userAgent and description columns.

That's what I would do.

> However, after three and a half years of continued use, the table is now way too large.

Yeah, that's what happens...

There are many ways to handle this issue. The simplest is to start archiving your records ( i.e. dumping your old records into archival tables ).

Do you have access to a DBA or a data team? They should be able to help you out with this if you have special requirements.

There are no comments on this comment yet.