26
you are viewing a single comment's thread
view the rest of the comments
[-] mbirth@lemmy.ml 5 points 2 weeks ago

Very happy with it. I’m running it with an SQLite database, so no extra database server is needed. And I’m using Elk as a frontend for when I don’t feel like using an app.

[-] ocean@lemmy.selfhostcat.com 2 points 2 weeks ago

Oh that’s very nice! Do you use that db for other services too?

[-] mbirth@lemmy.ml 1 points 2 weeks ago

Whenever it is supported, yes. I’m a huge fan of SQLite.

[-] ocean@lemmy.selfhostcat.com 2 points 2 weeks ago

I’ve only run docker containers with their own db. It sounds more logical to run one db, right? My only concern would be if that db corrupts then they all do.

Why do you like that over postgresql

[-] mbirth@lemmy.ml 2 points 2 weeks ago

Ohh, SQLite isn't "one" db. SQLite is file-based. I.e. a database in e.g. PostgreSQL (containing several tables, views, indexes, etc.) would translate to one SQLite file (e.g. mydatabase.db3 or myappdata.sqlite). And each app has its own file/database. If the file corrupts, then it's only affecting that specific app. (However, SQLite is pretty robust.) And since these are just files, you can backup them together with the application. No need to export data or shutdown the database first.

[-] ocean@lemmy.selfhostcat.com 2 points 2 weeks ago

That’s very helpful! Thank you for taking the time to explain

this post was submitted on 22 Apr 2025
26 points (88.2% liked)

Fediverse

33370 readers
359 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

founded 2 years ago
MODERATORS