Dev Tools · 13h ago
How to Change Partition Keys in Azure Cosmos DB
Azure Cosmos DB containers have fixed partition keys at creation, but you can change them by moving data to a new container. Options include the portal's Change partition key feature, container copy jobs, or DIY migration. For read-only queries, a Global Secondary Index adds a separate container with a different key without moving the source.
Meridian48 take
The post is a practical guide for Cosmos DB users facing hot partitions or cross-partition queries, but it assumes familiarity with Azure's ecosystem and doesn't address cost implications of the migration options.
Read the full reporting
Need a different partition key in Azure Cosmos DB? Pick the right approach →
DEV Community
azure-cosmos-dbpartition-key