mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

12K
active users

#sqlite

11 posts10 participants0 posts today

I'm a database extremist. I default to #SQLite for pretty much anything.

As an independent software consultant, I need time tracking and CRM like anyone else. Guess what? It's just a single SQLite database file. :D Has worked wonderfully for years using just a database viewer app. (Tableplus, if you're wondering.)

But now, with this wonderful tool from Rune Kaagaard, I can hook up my database to Anthropic's Claude, and get insights into my time spent as well as my connections, just by chatting with Claude Sonnet 3.7.

Wild! :D

github.com/runekaagaard/mcp-al

Anyone using #litestream for an #sqlite DB

I have a 3GB database, and Litestream is replicating it to another server. However, it seems to be running out of control with disk space. On the original server (where the live DB is) is a
generations folder under the hidden litestream folder. It is full of WAL files. Currently over 37,000 files consuming 118GB of disk space.

My config includes
retention: 24h and retention-check-interval: 1h with a snapshot-interval: 4h. I understood it would delete anything older than 24 hours. Am I doing something wrong? These wal files go back to the day I started using litestream

#GoToSocial #gts @gotosocial@thefedi.forum

I tend to hop a bit, between #sqlite and #postgres. So much that the nuances of each keeps merging for me. 😅

Interestingly enough, sqlite is the one my brain defaults to. You simply dumb everything way down. 😄 Which can actually give some performance improvements on postgres.

Anyone using #litestream for an #sqlite DB

I have a 3GB database, and Litestream is replicating it to another server. However, it seems to be running out of control with disk space. On the original server (where the live DB is) is a generations folder under the hidden litestream folder. It is full of WAL files. Currently over 37,000 files consuming 118GB of disk space.

My config includes retention: 24h and retention-check-interval: 1h with a snapshot-interval: 4h. I understood it would delete anything older than 24 hours. Am I doing something wrong? These wal files go back to the day I started using litestream

I did not expect my clumsy announcement of #BadgeFed to make waves, and now I have a few followers in the @fediverse

It is only less than a dozen, but still I want to honor the follow LOL, and my database for the poc was a #sqlite. Now I need to download and backup that db, otherwise I will lose the pub/priv keys.

Continued thread
Brought to you by Mozilla #Firefox using dozens of #SQLite databases and clearly not batching the transactions.

Did no one stop to think for a second of the performance implications of dozens of close-together fsyncs|dsyncs on HDDs?

Also, why in the world so many databases? It's completely unnecessary and even though they *could* be used as attached databases, that means one can only use them in non-WAL mode (yay, blocking readers) to maintain proper global transactionality (https://sqlite.org/lang_attach.html https://sqlite.org/wal.html).

Did they even read the docs before doing this nonsense?
sqlite.orgATTACH DATABASE

Decided to do a little #AI #SocialMedia #Experiment.

Introducing SocialMedIA.

#GitHub link:
github.com/IAmTheNerdNextDoor/

A self-hostable "social media" platform that features fake AI users to simulate real social media post conversations. It's not big, but I felt like uploading it anyways. It uses #SQLite 3 to store posts. It also has randomly generated usernames.

You should totally check it out and contribute to it!