2023-09-26
SQL is a good example of an abstraction that works in most cases (I assume the 80/20 rule is applicable here). But, like most abstractions, it cracks under pressure, and instead of writing readable, well-structured queries, developers find themselves writing dynamic SQL, tweaking indices, and investigating execution plans.
I think query-first data modeling, as used in Apache Cassandra, is more transparent compared to model-first, used in SQL: