3 ms·
I'm really failing to understand obsession with deriding people for solving problems that you personally don't have. But yes, for some people it can be difficu
by ketralnis 13y ago
I'm really failing to understand obsession with deriding people for solving problems that you personally don't have.
But yes, for some people it can be difficult to do this. It slows development, it makes programmers have to do sysadmin work (which in a two-person company without a specialised sysadmin can be difficult).
As another use-case, there was a point at which Twitter would take days or weeks to implement even minor schema changes across their entire MySQL cluster without impacting production.
And some people are solving problems that just do have unstructured or semi-structured data, rather than your assumption here that it's just a proxy for avoiding schema changes
- zapov 13y agoOk, I admit my comment is a little overboard. Comparing Mysql migration to Postgres is not really helping this discussion. Postgres has transaction DDL with many schema change operations being O(1). Most of the time your data has structure. Only parts of it are usually semi-structured. And yeah, I had this problem too, until I automated it and don't have it anymore. So I guess I'm a little annoyed when I see that schema change automation didn't really took off and people accepted JSON as a storage medium.
- jakejake 13y agoAvoiding DB work strikes me as not the greatest reason to store JSON in your DB. But I find there are good reasons to do it. The main one for me is when the data fields are configurable by the user. If I didn't want to be constrained by a schemas I'd just go with a NoSQL solution. Nothing wrong with that either.
- tensor 13y agoPostgres can make a pretty nice "nosql" solution too. Either via hstore, json, or bytea. That said, nothing frees you from a schema. Not having it explicit in the database just means you have it encoded into your application code.
- philwelch 13y ago> it makes programmers have to do sysadmin work (which in a two-person company without a specialised sysadmin can be difficult) If you're a two-person company without a specialized sysadmin, programmers having to do sysadmin work should be inevitable, normal, and expected, not "difficult".