Databases
Choose the right Azure database for structured, semi-structured, and globally distributed data workloads.
Topics covered
- Azure SQL
- Cosmos DB
- MySQL
- PostgreSQL
Which database for which workload?
| Service | Type | Choose when |
|---|---|---|
| Azure SQL Database | Relational (SQL Server) | Structured data, complex JOINs, ACID transactions, existing SQL Server apps |
| Azure SQL Managed Instance | Relational (SQL Server 100% compatible) | Migrating complex on-premises SQL Server with SQL Agent, CLR, linked servers |
| Azure Cosmos DB | NoSQL, globally distributed | JSON documents, global users, sub-10ms latency, multi-region writes |
| Azure Database for MySQL | Relational (MySQL compatible) | Existing MySQL apps migrating to managed PaaS |
| Azure Database for PostgreSQL | Relational (PostgreSQL compatible) | Existing PostgreSQL apps migrating to managed PaaS |
Cosmos DB key facts: Single-digit millisecond latency at 99th percentile. 99.999% SLA with multi-region writes. Supports NoSQL, MongoDB, Cassandra, Gremlin, and Table APIs. Any question mentioning JSON + global replication = Cosmos DB.
Test yourself: exam-style practice questions on this topic are in the AZ-900 Azure Fundamentals app.
Practise in the app