by alberth · 2y ago · 0 comments
- So make breaking changes as needed. (it was first released in 2000 and has fantastic backwards compatibility, but hardware & OS have radically changes over the last 24 years - as well as use cases).
- put more focus on client/server use cases
- make things more 'strict' (types, checks, etc)
Note: I say this with tremendous love for SQLite. There's just so many attempts for companies & projects to morph SQLite what it's not designed for, that you might as well embarrass these use cases and make an official fork to support them.
This is like arguing how great bicycles would be if they had four wheels, enclosed cabins, and gasoline engines.
They are not, they introduce management of another node / VM / pod which I'll boldly say that likely at least 80% of all projects everywhere do not need.
I'd kick a puppy if that means we can get in-process / embedded PostgreSQL.
> why dilute the optimality of SQLite
What does that even mean? Such a strange wording, as if it's a competition or a fight.
> This is like arguing how great bicycles would be if they had four wheels, enclosed cabins, and gasoline engines.
No, that's akin to arguing that a bicycle would benefit from crash protection if it came with just 2-3kg extra weight.
Can you explain your thinking re a solution being both in-process/embedded and focusing on client/server use cases? On the surface, these seem contradictory to me.
> What does that even mean? Such a strange wording, as if it's a competition or a fight.
I don't know about a "competition or a fight" but forking a project to target contradictory use cases definitely involves trade-offs.
What seems contradictory, not sure I understand?
In my consulting and contracting practice I have only ever had 3 projects that actually needed a big dedicated database. Everything else would have done just fine with an in-OS-process model like SQLite. But SQLite is too lax with data typing and I am not keen on 40% of the invoice for my customers to be "+300% extra data validation code because SQLite devs used and loved TCL". Sorry for the snark, but TCL influencing SQLite is a historical reality, if my memory hasn't betrayed me that is.
I'd love it if we had the same DB engine have an embedded and client-server variants. You start off with the embedded and if the project grows then you simply modify its config and don't have to change one line of code in your project (though obviously your platform team has to then provision it but that's a given).
Today this is sadly a fantasy and does not exist. I want it to exist.
And why PostgreSQL? Well, I like data strictness, and PG has a lot of desirable features like DDL transactions and enum types.