Cosmos DB vocabulary

31 Cosmos DB terms, from Novice to Master. Start with the basics or jump to a level.

Updated

Novice

Account
The top-level Cosmos DB resource with its endpoint and settings.
Azure Cosmos DB
Microsoft's globally distributed NoSQL database.
Container
Holds items, with a partition key; like a collection.
Database in Cosmos DB
A group of containers that can share throughput.
Free Tier
One free account a month: 1000 RU/s and 25 GB.
Item
One JSON document in a container.

Apprentice

Cosmos DB Emulator
A local copy of Cosmos DB for development.
Data Explorer
The Azure Portal tool for browsing and querying Cosmos DB.
id Property
The required string id, unique within a partition.
Partition Key in Cosmos DB
The item property that decides where data lives; set once.
Point Read
Reading one item by id and partition key; the cheapest operation.
Request Unit (RU)
Cosmos DB's unit of work and cost; a 1 KB point read is 1 RU.
SQL-like Query
A SQL-like language for querying JSON items.

Journeyman

.NET SDK for Cosmos DB
The C# library for working with Cosmos DB.
Autoscale Throughput
RU/s that scale up and down between limits.
Azure DocumentDB
Microsoft's MongoDB-compatible database service on Azure, billed by its servers (vCores and storage), and called vCore-based Azure Cosmos DB for MongoDB before it was renamed.
Consistency Levels in Cosmos DB
Five choices from Strong to Eventual; Session is the default.
Cross-Partition Query
A query without the partition key, which checks every partition.
Indexing Policy
Settings for which item properties are indexed.
Provisioned Throughput
A fixed amount of RU/s reserved and billed hourly.
Serverless Mode
Pay only for the RUs you use.
TTL in Cosmos DB
Automatic deletion of items after a set number of seconds.

Freelancer

Change Feed in Cosmos DB
A stream of changes that other code can react to.
Hierarchical Partition Key
A partition key with up to three levels.
Logical Partition
All items with the same partition key value; up to 20 GB.
Multi-Region Writes
Letting every region accept writes.
Optimistic Concurrency with ETag
Using the item's ETag so a write fails if someone else changed it.
Transactional Batch
All-or-nothing operations within one partition.

Master

Cosmos DB APIs (Mongo, Cassandra, Gremlin)
Cosmos DB also speaks MongoDB, Cassandra, Gremlin and Table.
Physical Partition
The actual storage unit holding many logical partitions.
Vector Search in Cosmos DB
Similarity search over embeddings inside Cosmos DB.

More subjects in Databases