by endymi0n · 3y ago · 0 comments
https://orangematter.solarwinds.com/2015/02/24/schemaless-da...
> There’s no such thing as a schemaless database. I know, lots of people want a schemaless database, and lots of companies are promoting their products as schemaless DBMSs. And schemaless DBMSs exist. But schemaless databases are mythical beasts because there is always a schema somewhere. Usually in multiple places, which I will later claim is what causes grief.
When I started my career, I thought thinking about schema was an unneccessary complication that got in the way of me delivering valuable software. These days, I don't write a single line of code without having a good schema first, because it means I have understood the domain well enough to properly model it.
Per the article you linked to, yes, there's always a schema. When/how you decide to verify the assumptions about the data is the question.
They are horrible because because they hopelessly mix in all kinds of other concerns -- which is also why they are difficult to avoid.
IMO, where a schemaless database like this would be useful is not to avoid having a schema, but to allow a clean source-of-truth schema to be used, independent of all of the other concerns related to data access and storage.
(I'm commenting generally, BTW, not necessarily on this particular schemaless database.)