logoalt Hacker News

cloudie78today at 8:42 PM2 repliesview on HN

Why not just have a SQLite file and call it a day?

Also, why mmaped file?


Replies

pengarutoday at 8:49 PM

I'm not the architect of journald and wasn't really around when these decisions were made, so I can't really speak authoritatively on that particular topic.

There was mailing list discussion at the time journald was conceived though, you can find it if you look.

https://0pointer.de/blog/projects/the-journal.html might be a good entry-point.

show 2 replies
quotemstrtoday at 9:09 PM

SQLite here is okay, but DuckDB or LevelDB would be better. Either way, no need to invent a new storage format.

show 3 replies