5 ms·
A filesystem is a database.
by marginalia_nu 5y ago
A filesystem is a database.
- amelius 5y agoSo what people think of as a database is a database inside a database?
- samus 5y agoIndeed, some database servers (Oracle IIRC) don't use a filesystem, but write to a filesystem partition directly.
- marginalia_nu 5y agoYeah. 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.
- andix 5y agoBut 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".
- marginalia_nu 5y agoThe difficult use case isn't many files in a folder, it's just many files period.