SQL, NoSQL and NewSQL: How the Three Database Models Differ
Relational databases long forced a choice between SQL transactions on a single server and horizontal scale through NoSQL systems that give up joins or strong consistency. NewSQL, also called distributed SQL, aims to combine the SQL interface and ACID guarantees with data spread automatically across many nodes. The overview compares traditional SQL systems like PostgreSQL and MySQL, NoSQL stores such as MongoDB and Cassandra, and distributed options like Spanner and CockroachDB across data models, consistency, and write scaling. It notes that stronger consistency in distributed systems adds latency because replicas must reach agreement, and that NoSQL scalability depends heavily on schema design. It also cautions that a single well-tuned relational server suffices for many applications and that distributed SQL compatibility is incomplete.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in