You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Azure SQL Database is a fully managed relational database service built on the Microsoft SQL Server engine. It handles infrastructure management — including patching, backups, monitoring, and high availability — so that you can focus on application development and query optimisation.
A standalone database with dedicated compute and storage resources. Each database is isolated and managed independently.
az sql db create \
--resource-group rg-demo \
--server my-sql-server \
--name my-database \
--service-objective GP_Gen5_2
Multiple databases sharing a pool of compute resources (eDTUs or vCores). This is ideal when you have many databases with unpredictable or variable usage patterns — some databases are busy while others are idle.
az sql elastic-pool create \
--resource-group rg-demo \
--server my-sql-server \
--name my-pool \
--edition GeneralPurpose \
--capacity 4
A single elastic pool can hold up to 500 databases. Each database can burst up to the pool's total resources while the overall cost remains capped.
A compute tier within the single database model that auto-scales and auto-pauses:
| Feature | Description |
|---|---|
| Auto-scaling | vCores scale between a configured min and max based on demand |
| Auto-pause | The database pauses after a configurable idle period (no compute cost while paused) |
| Resume | Automatically resumes on the next connection attempt |
| Billing | Per-second billing for compute; storage is always billed |
Serverless is ideal for development, testing, and applications with intermittent, unpredictable workloads.
Choose virtual cores, memory, and storage independently:
| Component | You Choose |
|---|---|
| vCores | Number of virtual cores (2, 4, 8, 16, ...) |
| Memory | Determined by vCore count |
| Storage | Up to 4 TB (General Purpose) or 100 TB (Hyperscale) |
| Hardware | Gen5, Fsv2, DC-series |
The vCore model supports Azure Hybrid Benefit, allowing you to reuse existing SQL Server licences for up to 55% savings.
A bundled measure of compute, storage, and I/O resources:
| Tier | DTU Range | Max Storage |
|---|---|---|
| Basic | 5 DTUs | 2 GB |
| Standard | 10–3000 DTUs | 1 TB |
| Premium | 125–4000 DTUs | 4 TB |
DTUs are simpler for predictable workloads where you do not need fine-grained control.
The default tier for most workloads:
For low-latency, high-transaction workloads:
For very large databases and rapid scaling:
Azure SQL Database takes automatic backups without any configuration:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.