Globally Distributed SQL
What is Globally Distributed SQL?
Globally Distributed SQL: SQL databases that scale globally with low-latency reads across multiple regions — without sacrificing ACID transactions. (AWS: Aurora (Global Database); GCP: Cloud Spanner / AlloyDB; Azure: Azure Cosmos DB (PostgreSQL API)) Globally distributed SQL databases keep data in several regions around the world, with low-latency reads near users and full transactional guarantees. Google Cloud Spanner, CockroachDB and AWS Aurora Global Database are examples.
Frequently asked questions about Globally Distributed SQL
How is Globally Distributed SQL used in practice?
They solve a hard problem. Classic databases live in one place, and copies elsewhere are read-only or slightly behind. These systems coordinate writes across regions so the data stays consistent everywhere.
What should you keep in mind with Globally Distributed SQL?
The price is complexity and cost, and writes that must agree across continents are slower than local ones. For most businesses serving one country or region, a single well-run PostgreSQL or MySQL database with backups and a replica is more than enough. Global SQL becomes worth considering when you have users on several continents and strict needs for both speed and consistency.
At a glance
| Category | Cloud services |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |