Live data from Hacker News

SQLite is likely used more than all other database engines combined

sqlite.org

11–20 of 82 posts

Re: SQLite is likely used more than all other database engines combined

#11
SQLite solves a lot of problems well enough that you can focus on other things.

Have an mvp you’re not sure you’ll ever have more that 2 users - yep.

Storing a little data for an application on the disk and don’t want to write your own schema.

Want to teach someone how databases work without setting up a sever - sure.

Re: SQLite is likely used more than all other database engines combined

#12
post #7

In terms of installations, sure. In terms of total data, probably not. In terms of important data, 100% not. Important data needs guarantees, and its privacy is second to its longevity. Server side and centralized beats client side decentralized for all but sensitive consumer data.

I'm not sure I buy the "important data" one: my Lightroom catalog, to me, constitutes incredibly important data. Losing it and just having the base files would destroy over a decade of work.

It also happens to be a SQLlite3 database. And the same is true for a slew of other applications that (quite rightly) use SQLite databases as their file format.

You might be thinking of things like financial transactions, or medical records, but that's not the only kind of important data there is.

Re: SQLite is likely used more than all other database engines combined

#14
post #10

I’m curious, is the prevalence of SQLite similar to how PHP is widely used because it’s behind many WordPress sites?

Couple of major companies like Adobe, Apple, Google, Mozilla use it in their products. That would add up quick.

https://www.sqlite.org/famous.html

Re: SQLite is likely used more than all other database engines combined

#15
post #6

i find it ironic one of the most gatekeepy, closed, walled garden companies in the history of the planet, Bloomberg, is a sponsor of one of the most free most open piece of software ever.

The majority of these SQLite use cases that the article is celebrating are... as the internal data store in an app where it is locking up user data in a proprietary, closed, gate kept wall garden.

This irony has layers. Like an onion.

Re: SQLite is likely used more than all other database engines combined

#16
post #6

i find it ironic one of the most gatekeepy, closed, walled garden companies in the history of the planet, Bloomberg, is a sponsor of one of the most free most open piece of software ever.

Sqlite is not open for contributions.

Amazying piece of code whatever you look at it.

I'd also probably win test to code ratio contest.

Re: SQLite is likely used more than all other database engines combined

#17
post #10

I’m curious, is the prevalence of SQLite similar to how PHP is widely used because it’s behind many WordPress sites?

I'm trying to understand this sentence: it seems to suggest that PHP is only popular because of Wordpress, which just... makes no sense? Wordpress uses PHP because PHP existed, and was good enough to build Wordpress on. And it's certainly not just clinging onto life, hanging around just because Wordpress is built on top of it, today?

So it's hard to understand which similarity you're asking about, but SQLite is popular because it does one thing, and does that one thing really well, and that thing also happens to be a perfect fit for complex file formats.

Re: SQLite is likely used more than all other database engines combined

#18
post #7

In terms of installations, sure. In terms of total data, probably not. In terms of important data, 100% not. Important data needs guarantees, and its privacy is second to its longevity. Server side and centralized beats client side decentralized for all but sensitive consumer data.

How would you go about measuring that, or determining what's important?

Huge SQL for servers is just a different use case.

Someone's temporary browser data or settings for my android alarm app could be just as important and sensitive as an average record on those big servers.

Fortunatelly, SQL fits the role of a small transactional engine very well to support those small use cases for a large number of applications. It deserves the good reputation.

Re: SQLite is likely used more than all other database engines combined

#19
post #9
post #5

Once that is said, does OSS move forward? Not an inch, good luck getting any change upstream

It's still OSS, you're allowed to fork and maintain Sqlite if you don't like the upstream merge requirements.

The test suite is (partially) proprietary. Good luck maintaining a fork for a DB without tests.

https://www.sqlite.org/th3.html see bottom

Re: SQLite is likely used more than all other database engines combined

#20
For niche uses of database I am sure this is true. But if you are not in that niche, then Postgresql is usually a much better choice. For example Firefox uses SQLite, because it wants to store lots of application specific data. It is good for that.

Personally, I find the tooling, documentation, familiarity and quality of Postgresql makes it my choice even in situations where SQLite might work.

Post reply on HN