Azure Cosmos DB Documentation
Azure Cosmos DB is a globally distributed, multi-model database service. This reference provides detailed information about its features, APIs, SDKs, and best practices.
Overview
Azure Cosmos DB offers robust support for various data models, including document, key-value, graph, and column-family. Its guaranteed performance, high availability, and elastic scalability make it suitable for a wide range of applications.
Key Concepts
- Accounts, Databases, and Containers
- Items and Item Operations
- Throughput Provisioning
- Partitioning and Partition Keys
- Indexing Policy
- Consistency Levels
- Replication and Geo-Redundancy
API References
Explore the detailed API specifications for different data models and SDKs:
API | Description | SDKs |
---|---|---|
Core (SQL) API | Primary API for relational data. Supports JSON documents and powerful SQL queries. | .NET, Java, Python, Node.js, JavaScript, Go |
MongoDB API | API compatible with the MongoDB wire protocol. | MongoDB Driver, .NET, Java, Node.js, Python |
Cassandra API | API compatible with Apache Cassandra. | Java, Python, .NET |
Gremlin API | API for graph data, compatible with Apache TinkerPop. | Java, .NET, Python, Node.js |
Table API | API compatible with Azure Table Storage. | .NET, Java, Python, Node.js |
SDKs
Download and use the official SDKs to interact with Azure Cosmos DB from your applications:
- Azure Cosmos DB SDK for .NET
- Azure Cosmos DB SDK for Java
- Azure Cosmos DB SDK for Python
- Azure Cosmos DB SDK for Node.js
- Azure Cosmos DB SDK for JavaScript
- Azure Cosmos DB SDK for Go
Tutorials & How-Tos
- Create your first Azure Cosmos DB account
- Design your Cosmos DB data model
- Querying data with SQL API
- Implementing change feed
- Distributing data globally
Samples
Explore code samples for common scenarios: