Azure SQL Database

active

by Microsoft · since 2010 · also known as SQL Azure, Azure SQL, Azure SQL Hyperscale

Microsoft's always-current managed SQL Server engine, from free serverless databases to 128 TB Hyperscale.

relationaldocumentspatialgraphvectorledgermanaged serviceproprietarymature

Overview

Azure SQL Database is Microsoft's platform-as-a-service flavor of the SQL Server engine, running the latest engine build ahead of boxed SQL Server releases. It offers provisioned and serverless compute (with auto-pause), elastic pools for multi-tenant SaaS, and the Hyperscale tier, which separates compute from a page-server storage layer to reach roughly 128 TB with fast backups and named read replicas. Recent additions include a native vector type and JSON type, ledger tables and Fabric mirroring. It is the natural home for .NET and T-SQL estates moving to the cloud; teams that need instance-level features such as SQL Agent or cross-database queries should look at Azure SQL Managed Instance instead.

Strengths & trade-offs

Strengths

  • +Always runs the newest SQL Server engine features, including native VECTOR and JSON types
  • +Serverless tier auto-scales and auto-pauses; permanent free offer for small databases
  • +Hyperscale separates compute and storage for ~128 TB databases with near-instant backups
  • +Columnstore indexes, in-memory OLTP and temporal tables built in
  • +Ledger tables for tamper-evident records
  • +Deep integration with Entra ID, Fabric mirroring and Defender

Trade-offs

  • −Azure-only and tied to T-SQL; porting away is costly
  • −Lacks instance-level features (SQL Agent, cross-database queries, CLR) that Managed Instance offers
  • −No native horizontal write sharding
  • −DTU/vCore/tier matrix makes cost planning confusing

Great for

  • +Lift-and-modernize of SQL Server applications
  • +.NET SaaS backends with elastic pools per tenant
  • +Large OLTP databases on Hyperscale
  • +Intermittent dev/test workloads on serverless auto-pause
  • +Vector search alongside relational data for copilots

Think twice for

  • −Multi-cloud portability requirements
  • −Open-source-only stacks
  • −Write-scaling beyond a single primary

Capabilities

Native or official first-party support · 19 of 25 tracked

✓Transactions
✓Joins
✓Secondary indexes
✓Full-text search
✓Vector search
✓Geospatial
✓JSON
✓Change data capture
✓Triggers
✓Stored procedures
✓Materialized views
✓Columnar storage
✓In-memory
✓Durable persistence
✓Compression
✓Encryption at rest
✓Role-based access
✓Time travel
✓Online schema changes
–TTL / expiry
–Pub/Sub
–Branching
–Streaming ingest
–Offline sync
–Runs in WebAssembly

Scale & consistency

Comfortable data size
Large · ≤ 1 PB
Horizontal scaling
Manual
Multi-region
Read replicas
Transactions
Full ACID
Consistency
Strong
Schema
Strict
Architecture
Primary replica, Shared storage, Serverless
Query languages
T-SQL

Hyperscale reaches ~128 TB with up to 30 named replicas; active geo-replication and failover groups provide readable cross-region secondaries; sharding via Elastic Database tools.

Deployment

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

available on · Azure

Ecosystem

compatible withSQL Server
apis & protocolsTDS protocol, ODBC, JDBC, Data API builder (REST/GraphQL)
client languagesC#, Java, Python, JavaScript, Go, PHP, Ruby, C++

Alternatives to Azure SQL Database

Compare all→
Microsoft SQL ServerRelational71.0

Microsoft's flagship RDBMS: T-SQL, columnstore, Always On, and now native vectors and JSON.

azure-sql-database vs sql-server →
Azure Database for PostgreSQLRelational4.9

Microsoft's managed community PostgreSQL, with zone-redundant HA, DiskANN vectors and Citus elastic clusters.

azure-sql-database vs azure-database-for-postgresql →
Amazon RDSRelational27.1

AWS's managed service for six relational engines: PostgreSQL, MySQL, MariaDB, Oracle, SQL Server and Db2.

azure-sql-database vs amazon-rds →
Google Cloud SQLRelational10.9

Google Cloud's managed MySQL, PostgreSQL and SQL Server, with an Enterprise Plus tier for fast failover.

azure-sql-database vs google-cloud-sql →
Amazon AuroraRelational24.9

AWS's MySQL- and PostgreSQL-compatible engine on a shared, six-way replicated storage layer.

azure-sql-database vs amazon-aurora →
Oracle Autonomous DatabaseRelational0.0

Self-driving Oracle Database on Exadata: auto-patching, auto-scaling, and Select AI, on OCI and other clouds.

azure-sql-database vs oracle-autonomous-database →

Azure SQL Database FAQ

What is Azure SQL Database?

Azure SQL Database is a relational database by Microsoft, first released in 2010. Azure SQL Database is Microsoft's platform-as-a-service flavor of the SQL Server engine, running the latest engine build ahead of boxed SQL Server releases. It offers provisioned and serverless compute (with auto-pause), elastic pools for multi-tenant SaaS, and the Hyperscale tier, which separates compute from a page-server storage layer to reach roughly 128 TB with fast backups and named read replicas. Recent additions include a native vector type and JSON type, ledger tables and Fabric mirroring. It is the natural home for .NET and T-SQL estates moving to the cloud; teams that need instance-level features such as SQL Agent or cross-database queries should look at Azure SQL Managed Instance instead.

Is Azure SQL Database open source?

No. Azure SQL Database is proprietary, closed-source software.

Does Azure SQL Database support ACID transactions?

Yes. Azure SQL Database supports full ACID transactions, with strong consistency.

Does Azure SQL Database scale horizontally?

Azure SQL Database has no built-in sharding; scaling out means partitioning data in your application. It is comfortable at large scale (≤ 1 PB). It supports cross-region read replicas.

How can I run Azure SQL Database?

You can use the vendor's managed cloud and run it serverless. It is available on Azure.

What is Azure SQL Database best for?

Azure SQL Database is a strong fit for lift-and-modernize of SQL Server applications, .NET SaaS backends with elastic pools per tenant and large OLTP databases on Hyperscale. Think twice for multi-cloud portability requirements.

What are the best alternatives to Azure SQL Database?

Common alternatives to Azure SQL Database include Microsoft SQL Server, Azure Database for PostgreSQL, Amazon RDS, Google Cloud SQL and Amazon Aurora. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.

How popular is Azure SQL Database?

Azure SQL Database ranks #61 of 844 databases on the WhichDB Score (33.9/100), and #19 among relational databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.