Azure Cosmos DB
Globally distributed, multi-model database service
A database for building blazing fast, planet scale applications with native support for NoSQL
Azure Cosmos DB was built from the ground up with global distribution and horizontal scale at its core. It offers turnkey global distribution across any number of Azure regions by transparently scaling and replicating your data wherever your users are. Elastically scale your writes and reads all around the globe, and pay only for what you need. Azure Cosmos DB provides native support for NoSQL and OSS APIs including MongoDB, Cassandra, Gremlin and SQL, offers multiple well-defined consistency models, guarantees single-digit-millisecond read and write latencies at the 99th percentile, and guarantees 99.999 high availability with multi-homing anywhere in the world—all backed by industry-leading, comprehensive service level agreements (SLAs).
Turnkey Global Distribution
Easily build planet-scale, always “on”, highly responsive, multi-homed applications without the hassle of complex, multiple-datacenter configurations. Designed as a globally distributed database system, Azure Cosmos DB allows you to write to and read from the local replicas of your Cosmos DB database, which is replicated across any number of Azure regions.
Limitless and elastic scalability of writes & reads
Azure Cosmos DB elastically scales reads and writes globally and pay only for the throughput and storage you need. Designed with transparent horizontally-partitioning, and multi-master replication, Azure Cosmos DB offers unprecedented elastic scalability for your writes and reads, all around the globe!
Guaranteed low latency at 99th percentile
You can build highly responsive, planet scale applications. With its novel multi-master replication protocol and latch-free and write-optimized database engine, Azure Cosmos DB guarantees less than 10-ms latencies for both, reads and (indexed) writes at the 99th percentile, all around the world.
Well-defined consistency choices
You no longer have to make the extreme tradeoffs between consistency, availability, latency and programmability. Azure Cosmos DB’s multi-master replication protocol is carefully designed to offer five well-defined consistency choices - strong, bounded staleness, consistent-prefix, session, and eventual—for an intuitive programming model with low latency and high availability for your globally distributed app.
Multi-model with native support for NoSQL APIs
Azure Cosmos DB allows you to model real world data using key-value, graph, column-family, and document data models. You don’t have to deal with the hassle of managing schemas and secondary indexes - Azure Cosmos DB automatically indexes all data at the time of ingestion. You can also use your favorite API including SQL, Apache® Cassandra, Gremlin, Table Storage and Azure Cosmos DB for MongoDB API to access your data stored in your Cosmos DB database.
Enterprise-grade performance and security
Rest assured your apps are running on a "battle-tested" database service built on world-class infrastructure. Azure Cosmos DB gives you enterprise-grade security and compliance, and is the first and only service to offer industry-leading comprehensive SLAs for 99.999% high availability, latency at the 99th percentile, guaranteed throughput, and consistency.
Customers using Azure Cosmos DB
What can you build with Azure Cosmos DB?
Learn about use cases below:
Globally distributed mission-critical applications using Cosmos DB
Guarantee access to users around the world with the high-availability and low-latency capabilities built into Microsoft’s global datacenters.
IoT using Cosmos DB
Scale instantly and elastically to accommodate diverse and unpredictable IoT workloads without sacrificing ingestion or query performance.
Personalization using Cosmos DB
Generate personalized recommendations for customers in real time, using low-latency and tunable consistency settings for immediate insights
Retail and e-commerce using Cosmos DB
Support in-depth queries over diverse product catalogs, traffic spikes, and rapidly changing inventory.
Gaming using Cosmos DB
Elastically scale your database to accommodate unpredictable bursts of traffic and deliver low-latency multi-player experiences on a global scale.
Serverless apps using Cosmos DB
Use Azure Functions and Azure Cosmos DB to build globally distributed, scalable serverless applications.
Get started with Azure Cosmos DB
Create an account
Connect to your application
Work with data
Get started by creating an Azure Cosmos DB account and collection to store your data by selecting an API that best suits your needs.
Connect your application to Azure Cosmos DB by implementing one of the connectors for your programming language of choice.
Explore your data in your application by using read and write queries. Manage your data using Azure Cosmos DB’s unique features.
Azure Cosmos DB for MongoDB API
Use Azure Cosmos DB as a fully managed database service for your MongoDB app, with little code changes and native API support for MongoDB data, giving your app the benefits of a cloud-native platform.
Use Azure Cosmos DB as a globally distributed database for your Azure Table storage-based application, without any code changes, using the Table API. You get secondary indexes, global distribution, policy-based failover capabilities, and much more.
Deliver Cassandra as-a-service over the power of Azure Cosmos DB. Use Cassandra SDKs and tools to build applications at near-infinite global scale with SLA-backed capabilities of the Azure Cosmos DB platform.
For real-time machine learning over globally distributed datasets managed by Azure Cosmos DB, use the Spark connector to issue Apache Spark queries. The Spark connector takes advantage of native indexes managed by Azure Cosmos DB, resulting in significant performance gains.
Take advantage of native Graph APIs on Azure Cosmos DB without any code changes, and issue globally distributed graph queries using Gremlin with Graph API.
Azure Cosmos DB Partners
Related products and services