Welcome to Azure Cosmos DB
The Azure Cosmos DB DocumentDB API or SQL (DocumentDB) API is now known as Azure Cosmos DB SQL API. You don't need to change anything to continue running your apps built with DocumentDB API. The functionality remains the same.
Azure Cosmos DB is Microsoft's globally distributed, multi-model database. With the click of a button, Azure Cosmos DB enables you to elastically and independently scale throughput and storage across any number of Azure's geographic regions. It offers throughput, latency, availability, and consistency guarantees with comprehensive service level agreements (SLAs), something no other database service can offer. You can Try Azure Cosmos DB for free without an Azure subscription, free of charge and commitments.
As a globally distributed database service, Azure Cosmos DB provides the following capabilities to help you build scalable, highly responsive applications:
Turnkey global distribution
- You can distribute your data to any number of Azure regions, with the click of a button. This enables you to put your data where your users are, ensuring the lowest possible latency to your customers.
- Using Azure Cosmos DB's multi-homing APIs, the app always knows where the nearest region is and sends requests to the nearest data center. All of this is possible with no config changes. You set your write-region and as many read-regions as you want, and the rest is handled for you.
Multiple data models and popular APIs for accessing and querying data
- The atom-record-sequence (ARS) based data model that Azure Cosmos DB is built on natively supports multiple data models, including but not limited to document, graph, key-value, table, and columnar data models.
- APIs for the following data models are supported with SDKs available in multiple languages:
- SQL API: A schema-less JSON database engine with SQL querying capabilities.
- MongoDB API: A MongoDB database service built on top of Cosmos DB. Compatible with existing MongoDB libraries, drivers, tools and applications.
- Table API: A key-value database service built to provide premium capabilities for Azure Table storage applications.
- Graph (Gremlin) API: A graph database service built following the Apache TinkerPop specification.
- Cassandra API: A key/value store built on the Apache Cassandra implementation.
- Additional data models coming soon!
Elastically scale throughput and storage on demand, worldwide
Build highly responsive and mission-critical applications
- Azure Cosmos DB guarantees end-to-end low latency at the 99th percentile to its customers.
- For a typical 1-KB item, Cosmos DB guarantees end-to-end latency of reads under 10 ms and indexed writes under 15 ms at the 99th percentile, within the same Azure region. The median latencies are significantly lower (under 5 ms).
Ensure "always on" availability
- 99.99% availability SLA for all single region accounts and all multi-region accounts with relaxed consistency, and 99.999% read availability on all multi-region database accounts.
- Deploy to any number of Azure regions for higher availability.
- Simulate a failure of one or more regions with zero-data loss guarantees.
Write globally distributed applications, the right way
- Five consistency models models provide a spectrum of strong SQL-like consistency all the way to NoSQL-like eventual consistency, and every thing in between.
Money back guarantees
- Your data gets there fast, or your money back.
- Service level agreements for availability, latency, throughput, and consistency.
No database schema/index management
- Stop worrying about keeping your database schema and indexes in-sync with your application’s schema. We're schema-free.
- Azure Cosmos DB’s database engine is fully schema-agnostic – it automatically indexes all the data it ingests without requiring any schema or indexes and serves blazing fast queries.
Low cost of ownership
- Five to 10 times more cost effective than a non-managed solution.
- Three times cheaper than DynamoDB.
Azure Cosmos DB provides the best capabilities of relational and non-relational databases.
|Capabilities||Relational databases||Non-relational (NoSQL) databases||Azure Cosmos DB|
|Global distribution||No||No||Yes, turnkey distribution in 30+ regions, with multi-homing APIs|
|Horizontal scale||No||Yes||Yes, you can independently scale storage and throughput|
|Latency guarantees||No||Yes||Yes, 99% of reads in <10 ms and writes in <15 ms|
|High availability||No||Yes||Yes, Cosmos DB is always on, has PACELC tradeoffs, and provides automatic & manual failover options|
|Data model + API||Relational + SQL||Multi-model + OSS API||Multi-model + SQL + OSS API (more coming soon)|
|SLAs||Yes||No||Yes, comprehensive SLAs for latency, throughput, consistency, availability|
Solutions that benefit from Azure Cosmos DB
Any web, mobile, gaming, and IoT applications that need to handle massive amounts of reads and writes on a global scale with low response times for a variety of data will benefit from Azure Cosmos DB's guaranteed availability, high throughput, low latency, and tunable consistency. Learn about how CosmosDB can be applied to IoT and telematics, Retail and marketing, Gaming and Web and mobile applications.
Get started with Azure Cosmos DB with one of our quickstarts: