The Grumpy Editor's guide to surviving the systemd debate
The Grumpy Editor's guide to surviving the systemd debate
Posted Nov 25, 2014 22:37 UTC (Tue) by dlang (guest, #313)In reply to: The Grumpy Editor's guide to surviving the systemd debate by nix
Parent article: The Grumpy Editor's guide to surviving the systemd debate
> Unfortunately these things slow everything down, quite a lot, and in the end you end up writing everything at least twice (once to a log of some kind, once to the DB) and taking noticeably more space to do it. I concur, writing syslogs to a database if you don't have a reason to do it (e.g. streaming structured logs there for later querying) is nuts.
> But, then, existing projects like syslog-ng have been able to do this for many years. So this too isn't a justification for journald.
Rsyslog will let you insert a bunch of messages at once (batch mode), which does wonders for the performance of inserting logs into databases.
But it's generally not the right thing to do because of the performance overhead (both inserting and retrieving)
