In Azure, there are several types of SQL offerings, each designed for different use cases, scalability needs, and management preferences. Here’s a breakdown of the main types of SQL in Azure:
1. Azure SQL Database
- Platform as a Service (PaaS) offering.
- Fully managed, scalable, and ideal for modern cloud applications.
- Supports single databases or elastic pools (multiple databases sharing resources).
- Built-in high availability, automatic backups, scaling, and threat detection.
2. Azure SQL Managed Instance
- Also a PaaS offering, but closer to a full SQL Server instance.
- Supports cross-database queries, SQL Agent, linked servers, and CLR.
- Ideal for migrating on-prem SQL Server workloads with minimal changes.
- Offers VNET integration and instance-level features.
3. SQL Server on Azure Virtual Machines
- Infrastructure as a Service (IaaS).
- Full control over the SQL Server and OS.
- Best for apps that require custom configurations, third-party software, or legacy features.
- You manage patching, backups, and HA/DR (though Azure offers tools to help).
4. Azure Synapse Analytics (formerly SQL Data Warehouse)
- Designed for big data analytics and massively parallel processing (MPP).
- Ideal for complex queries over large datasets (e.g., data lakes, warehouses).
- Integrates with Power BI, Azure Data Factory, and Spark.
5. Azure Arc-enabled SQL Server
- Allows you to manage on-prem or multi-cloud SQL Servers through Azure.
- Brings Azure services like policy, monitoring, and security to hybrid environments.
Summary Table
| SQL Type | Best For | Managed By | Key Features |
|---|---|---|---|
| Azure SQL Database | Cloud-native apps | Microsoft | PaaS, scalable, elastic pools |
| SQL Managed Instance | Lift-and-shift with minimal changes | Microsoft | Instance-level features |
| SQL Server on Azure VM | Full control, legacy apps | You | IaaS, full SQL Server |
| Azure Synapse Analytics | Big data and analytics workloads | Microsoft | MPP, data warehousing |
| Azure Arc-enabled SQL | Hybrid and multi-cloud management | Shared | Centralised governance |
From my SQL Server DBA handbook.