Hacker News new | ask | show | jobs
by marginalia_nu 1584 days ago
A filesystem is a database.
2 comments

But a special kind of database, that is usually bad with a lot of small entries, especially if they don't have a hierarchy (many files in one folder). Most SQL or NoSQL databases are much better at organizing small "files".
The difficult use case isn't many files in a folder, it's just many files period.
So what people think of as a database is a database inside a database?
Yeah. It's like that old Xzibit meme.

File systems aren't relational databases, but more like NoSQL half a lifetime before it was cool. They're typically backed by the same data structures and solve the same problems.

Indeed, some database servers (Oracle IIRC) don't use a filesystem, but write to a filesystem partition directly.