Skip Navigation

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, MongoDB, Gremlin and Azure Table Storage 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

Globalt distribuerede forretningskritiske programmer vha. Cosmos DBFå garanteret adgang til brugere verden over med de indbyggede funktioner i Microsofts globale datacentre, der leverer høj tilgængelighed og kort ventetid.

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

IoT, der bruger Cosmos DBSkaler øjeblikkeligt og elastisk for at tilpasse forskellige og uforudsigelige IoT-arbejdsbelastninger, uden at det går ud over indtagelses- eller forespørgselsydeevnen.

Scale instantly and elastically to accommodate diverse and unpredictable IoT workloads without sacrificing ingestion or query performance.

Personalization using Cosmos DB

Tilpasning vha. Cosmos DBGenerér tilpassede anbefalinger til kunderne i realtid vha. indstillinger for kort ventetid og konsistens, som kan tilpasses, for at få indblik med det samme

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

Detailhandel og e-handel vha. Cosmos DBUnderstøt detaljerede forespørgsler på tværs af forskellige produktkataloger, trafikspidsbelastninger og hurtigt skiftende lagerbeholdninger.

Support in-depth queries over diverse product catalogs, traffic spikes, and rapidly changing inventory.

Gaming using Cosmos DB

Gaming vha. Cosmos DBDu kan skalere din database, så den tilpasses uforudsigelige stigninger i trafikken, og levere en multi-player-oplevelse med kort ventetid på globalt plan.

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

Serveruafhængige apps vha. Cosmos DBBrug Azure Functions og Azure Cosmos DB til at udarbejde globalt distribuerede, skalerbare ikke-serverbaserede programmer.

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

Step 1 of 1

Get started by creating an Azure Cosmos DB account and collection to store your data by selecting an API that best suits your needs.

Step 1 of 1

Connect your application to Azure Cosmos DB by implementing one of the connectors for your programming language of choice.

Step 1 of 1

Explore your data in your application by using read and write queries. Manage your data using Azure Cosmos DB’s unique features.

Start developing with Azure Cosmos DB

Azure Cosmos DB is designed for developers, with support for a wide range of APIs. Watch Introducing Azure Cosmos DB, get started with expert tips, or learn more about what you can do with APIs and connectors.

SQL API

Azure Cosmos DB has native support for SQL and JavaScript APIs.

{ LEAF }

MongoDB API

Use Azure Cosmos DB as a fully managed database service for your MongoDB app, without any code changes, with native API support for MongoDB.

Table API

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.

Cassandra API

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.

Spark

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.

Gremlin API

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

Azure SQL Database

Managed relational SQL Database as a service

App Service

Quickly create powerful cloud apps for web and mobile

Azure Databricks

Fast, easy, and collaborative Apache Spark-based analytics platform

Explore Azure Cosmos DB and see turnkey global distribution in action