Hacker News new | ask | show | jobs
by mmnfrdmcx 36 days ago
As someone who loved sqlite and the simplicity, the truth is that with agents I am finding it is extremely easy to manage postgres and it is realyl nice having all the SQL features of postgres -- sqlite is quite limiting in a lot of SQL. So if you are considering remote sqlite and all that, feels a better time than ever to just use a database server. Of course, sqlite is amazing for local tools etc.
4 comments

The problem is "remote" SQLite. Just run a "single" beefier box with in-process SQLite and Litestream backups to object storage and never have to think about RDBMS again. I'd wager there are 90%+ applications that would be better served, more performant, and cheaper with this design.

I'm able to handle around 200k/s on a sub $100 box. https://github.com/pairshaped/gleam_sqlite_benchmarks/blob/m...

Equally easy to set up postgres with all teh bells and whistles you like using AI nowadays
How are agents helping you? What was the trouble with Postgres before?
My guess is that coding agents expose deep documentation and advanced patterns better or least faster that wading through everything.
Unfamiliarity/unwillingness to deal with the infrastructure admin
I've had the exact same experience. In the before-time I often reflected on how my love of sqlite was borderline irrational for what it is. Now, in a few projects I've let the LLM do postgres, and it's so nice having the pain if a db server mostly just handled. Still choose sqlite for anything embedded or without a hosted server.
It’ll be a fine day when phones can use an embedded Postgres
I am the same way with MSSQL. I used to avoid it like the plague because of how the permissions/logins/everything worked. Now I can throw a T-SQL script at it in a few seconds to make it behave.