Ask Your Question
4

How can I remove a whole partition in Azure Cosmos DB?

asked 2022-07-10 11:00:00 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-01-19 13:00:00 +0000

ladyg gravatar image

To remove a whole partition in Azure Cosmos DB, follow these steps:

  1. Open the Azure portal and navigate to the Cosmos DB account that contains the partition you want to remove.

  2. In the left-hand menu, click on "Data Explorer" to open the data explorer window.

  3. Expand the database that contains the partition you want to remove.

  4. Expand the container that contains the partition you want to remove.

  5. Click on "Partition key ranges" to view the list of partition key ranges.

  6. Select the partition key range you want to remove and click on the delete button.

  7. Confirm that you want to delete the partition key range and wait for the operation to complete.

Note that this operation will permanently delete all data stored in the selected partition key range, so make sure you have a backup of the data before proceeding. Also, removing a partition key range may impact the performance of your Azure Cosmos DB account, so it's important to plan ahead and monitor your system during and after the operation.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-07-10 11:00:00 +0000

Seen: 8 times

Last updated: Jan 19 '22