Cloud service · Azure · Updated

Azure SQL Database - Azure SQL Database is a fully managed relational database service built on the SQL Server database engine, with managed infrastructure, backups, patching, and high availability.

In short

Azure SQL Database provides a managed data layer for applications that need relational tables, transactions, Transact-SQL, and SQL Server-compatible development tools. Engineers can deploy individual databases or elastic pools and choose compute and storage configurations without administering virtual machines or operating systems. It is a database-scoped service rather than a full SQL Server instance, so migrations must account for differences in instance-level features and cross-database behavior.

Cloud Services Hub →

9 key features of Azure SQL Database

01
Managed database operations

Microsoft handles infrastructure maintenance, operating-system patching, database engine updates, and built-in availability mechanisms. Teams still manage database objects, permissions, query tuning, and workload capacity.

02
Single databases and elastic pools

Allocate resources to an individual database or share a resource budget across databases on the same logical server. Configure per-database pool limits to reduce the impact of a busy tenant on other databases.

03
Provisioned and serverless compute

Use provisioned compute for predictable resource allocation or serverless compute to scale within configured bounds. Check tier-specific support for automatic pausing and account for resume latency where pausing is enabled.

04
Hyperscale storage architecture

Hyperscale separates compute from distributed storage to support large relational databases and independent read-compute expansion. Evaluate replica types, read consistency requirements, and workload-specific scaling behavior before selecting a topology.

05
Automated backups and recovery

Automatic full, differential, and transaction log backups support point-in-time recovery within the retention window. Configure long-term retention when required, and test restoration into a separate database.

06
Availability and regional recovery

Built-in local availability is included, with zone redundancy available for supported tiers and regions. Active geo-replication and failover groups add regional recovery options, but asynchronous replication means forced failovers can involve data loss.

07
Identity, encryption, and network controls

Combine Microsoft Entra authentication, database permissions, TLS, transparent data encryption, and private endpoints to protect access and data. Use Always Encrypted when selected columns must remain encrypted outside authorized client applications.

08
Query diagnostics and automatic tuning

Query Store records query performance and execution-plan history to help identify regressions. Automatic tuning can apply supported plan or index corrections, validate their effect, and retain or reverse changes.

09
Relational and multimodel development

Use transactions, constraints, stored procedures, temporal tables, and SQL querying alongside supported JSON, XML, spatial, and graph capabilities. Check feature and service-tier support before transferring assumptions from an existing SQL Server deployment.

Where Azure SQL Database is used

  1. 01
    Transactional web and API applications

    Store orders, accounts, inventory, and other structured application data with relational constraints and ACID transactions. Use a supported SQL driver, connection pooling, and transient-failure handling in the application.

  2. 02
    Database-per-tenant SaaS platforms

    Give each tenant a separate database while sharing compute through elastic pools. Monitor tenant usage and move unusually demanding databases into dedicated allocations when necessary.

  3. 03
    SQL Server application modernization

    Move compatible database workloads to a managed service to remove operating-system and engine-maintenance tasks. Assess instance-level dependencies first; applications requiring extensive instance compatibility may be better suited to Azure SQL Managed Instance.

  4. 04
    Intermittent development and business workloads

    Use serverless compute for databases whose resource demand varies substantially over time. Where automatic pausing is supported, account for connection-triggered resume latency and continued storage charges.

  5. 05
    Large operational databases with read-heavy access

    Use Hyperscale for large transactional datasets and supported read replicas for reporting or read-only application traffic. Route reads deliberately and validate whether replica lag is acceptable for each operation.

  6. 06
    Applications requiring regional recovery

    Use failover groups or active geo-replication to maintain secondary databases for disaster recovery. Coordinate database failover with application routing, identity configuration, and tested recovery procedures.

How Azure SQL Database is priced

vCore-based provisioned compute

Choose a service tier, hardware configuration, and allocated vCores, with compute, data storage, and applicable backup storage charges determined by the configuration. Provisioned compute is billed while allocated, regardless of query activity; supported reservations can reduce eligible compute costs.

vCore-based serverless compute

Compute is billed per second according to the serverless billing rules, including configured minimums and CPU or memory usage, while storage is billed separately. In configurations that support automatic pausing, compute charges stop while the database is paused, but storage charges continue.

DTU-based purchasing

Basic, Standard, and Premium tiers bundle compute, memory, and I/O into Database Transaction Units for single databases or eDTUs for elastic pools. Storage allowances and additional storage charges depend on the tier and configuration.

Elastic pool resource allocation

An elastic pool uses a shared vCore or eDTU resource budget rather than separately sizing compute for every database. Estimate costs using aggregate concurrent demand, pool storage, per-database limits, and any separately provisioned replicas.

Licensing benefits and additional charges

Eligible SQL Server licenses can reduce non-Hyperscale vCore costs through Azure Hybrid Benefit; Hyperscale has no separate SQL Database Engine license charge. Include geo-secondary compute, applicable backup storage, long-term retention, networking, and separately billed monitoring or security services in the total estimate.

Services Azure SQL Database works with

A common application architecture places a web application in Azure App Service and stores transactional data in SQL Database. The application uses its managed identity to obtain a Microsoft Entra access token, while database users and roles define its actual data permissions. This avoids storing database passwords in application configuration, but still requires explicit database authorization.

For private connectivity, combine application-side virtual network integration with an Azure Private Link endpoint for the SQL logical server. Configure private DNS and verify resolution from application hosts and connected networks. Public network access is a separate control and should be disabled when the design requires private-only access.

Azure Data Factory commonly handles scheduled ingestion, exports, and orchestration around staging tables and stored procedures. Use incremental extraction and controlled batch sizes to limit contention with transactional traffic. Azure Monitor supplies operational metrics, alerts, and diagnostic-log analysis, while Query Store provides query-level performance evidence. Where encryption-key ownership is required, Azure Key Vault can hold customer-managed TDE keys; key permissions, rotation, and recovery must be included in the database availability design.

App Service

App Service applications connect to SQL Database through supported SQL drivers. For example, enable an application's managed identity, create a corresponding database user, and grant only the permissions needed by its API. For private connectivity, configure App Service virtual network integration, a SQL private endpoint, and working private DNS resolution.

Azure Key Vault

Key Vault can hold customer-managed keys used by transparent data encryption and keys used by compatible Always Encrypted clients. For example, configure a logical server identity with the required key permissions and use a supported Key Vault key as the TDE protector. Plan key rotation and recovery carefully because an unavailable or inaccessible key can make protected databases unavailable.

Azure Data Factory

Data Factory provides connectors for copying data into and out of SQL Database and orchestrating transformation workflows. For example, load daily files into staging tables, then execute stored procedures to validate and merge records into production tables. Choose an integration runtime and network configuration that can reach the database, and design incremental extraction with an explicit watermark or supported change-tracking approach.

Azure Monitor

Azure Monitor collects platform metrics and can receive supported resource logs through diagnostic settings for querying in Log Analytics. For example, alert when CPU utilization remains high and correlate the incident with connection failures and Query Store findings. Configure SQL auditing separately when database activity records are required rather than assuming ordinary metrics capture SQL statements.

Azure Private Link

Private Link exposes the logical server through a private endpoint in a virtual network. For example, an application in a connected network can use the normal SQL server hostname while private DNS resolves it to the endpoint's private address. Disable public network access separately when public connectivity must be blocked, and validate DNS resolution from every application network.

API Management

Azure SQL Database can call an API Management endpoint from T-SQL using its built-in outbound REST procedure. An API Management gateway can expose a backend whose URL the database cannot call directly and apply authentication or request policies before forwarding the call.

Azure Advisor

Azure SQL Database surfaces workload-based recommendations in Azure Advisor, such as creating an index to improve query performance. You can review a recommendation before applying it or use automatic tuning for supported changes.

Azure Analysis Services

Azure SQL Database can supply tables and views to an imported Azure Analysis Services tabular model or serve as its DirectQuery source. For example, a sales model can query current transaction data without importing a second copy.

Azure Blob Storage

Azure SQL Database can send audit records to Blob Storage and use a blob container for BACPAC imports and exports. A ledger-enabled database can also store its verification digests in immutable blob storage.

Azure Chaos Studio

Azure SQL Database can be targeted by a Chaos Studio failover experiment. Use the experiment to check whether an application reconnects and resumes work after its database connection is interrupted.

Alternatives to Azure SQL Database in other clouds

AWS

Amazon Aurora ServerlessAmazon Aurora Serverless

Amazon Aurora Serverless and Azure SQL Database are managed relational databases that can scale compute automatically for variable workloads. Aurora is compatible with MySQL and PostgreSQL and replicates data across three availability zones, while Azure SQL Database uses the SQL Server engine and offers zone redundancy in supported tiers and regions.

Compare fact by fact
Azure SQL DatabaseAmazon Aurora Serverless
Database compatibilitySQL Server (Transact-SQL)MySQL and PostgreSQL
Serverless compute billingPer second, vCores with minimumsPer second, by ACUs consumed
Zone redundancyOptional by tier and regionBuilt in across three zones
Client connections during scalingPossible interruptionNo interruption
Amazon RDSAmazon RDS

Amazon RDS and Azure SQL Database both manage patching, backups, and high availability for cloud relational databases. Amazon RDS offers several database engines on managed instances, while Azure SQL Database uses the SQL Server engine and lets teams allocate compute to individual databases or share it through elastic pools.

Compare fact by fact
Azure SQL DatabaseAmazon RDS
Database engine choicesSQL Server onlyMultiple, including SQL Server
Deployment modelSingle databases or elastic poolsManaged DB instances
Compute pricing basisvCore pricing or bundled DTUsDB instance usage
Compared Nov 2026

What is Azure SQL Database

2 min read

Azure SQL Database is a platform-as-a-service relational database offering that separates application and database development from infrastructure administration. Microsoft operates the underlying operating system, database engine updates, backups, and local high-availability infrastructure. Engineering teams remain responsible for schema design, indexes, query performance, access controls, capacity selection, and application recovery behavior.

Databases are organized under a logical server, which provides an administrative boundary for settings such as connectivity and authentication. A logical server is not a virtual machine or a customer-managed SQL Server instance. Deploy a single database when a workload needs its own resource allocation, or use an elastic pool when multiple databases can share compute resources. Pools are particularly useful when individual databases have intermittent peaks that do not occur simultaneously.

The vCore purchasing model provides General Purpose, Business Critical, and Hyperscale service tiers with different storage architectures, performance characteristics, and availability options. Provisioned compute suits sustained demand, while serverless compute can adjust resources within configured limits for variable workloads. Automatic pausing is available only for supported configurations; do not assume every serverless database can pause. Hyperscale separates compute from its distributed storage architecture and supports large databases and additional read replicas.

Applications connect using SQL Server-compatible drivers and Transact-SQL. Use connection pooling, explicit command timeouts, and bounded retries for transient failures because maintenance, scaling, and failover can interrupt connections. Assess SQL Server migrations for unsupported dependencies such as SQL Server Agent jobs, operating-system access, linked servers, and instance-level configuration. Cross-database behavior is not equivalent to a SQL Server instance; native cross-database querying within the same Hyperscale elastic pool is a preview capability rather than a general assumption for all deployments.

Secure access through Microsoft Entra authentication, least-privilege database permissions, and appropriate network controls. Managed identities let supported application hosts authenticate without embedding database passwords. Private endpoints provide private network connectivity, but require correct DNS configuration and do not automatically disable the public endpoint. Transparent data encryption protects data at rest; Always Encrypted can protect selected sensitive columns using compatible client drivers and separately controlled keys.

Automatic backups support point-in-time recovery within the configured retention period, and long-term retention can preserve backups for longer requirements. A point-in-time restore creates a separate database rather than rolling the existing database backward. Configure zone redundancy where supported for zone-level resilience, and use active geo-replication or failover groups for regional disaster recovery. Geo-replication is asynchronous, so a forced regional failover can lose transactions that have not reached the secondary.

Use Query Store, dynamic management views, and Azure Monitor to distinguish inefficient queries from resource saturation. Alert on sustained compute pressure, storage consumption, failed connections, and blocking symptoms. Validate changes with representative load tests, and exercise restore and failover procedures before relying on them for production recovery objectives.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.