้how to pause/stop some databases on Azure Cosmos DB for maintenance?

Songkran Junpet 1 Reputation point
2021-07-10T04:53:03.943+00:00

Anyone know how to pause/stop some databases on Azure Cosmos DB for maintenance purpose. We need to maintain/data migrate on the specific database with no impact to other databases that are still running for business operation.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,741 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anurag Sharma 17,616 Reputation points
    2021-07-12T05:49:52.797+00:00

    Hi @Songkran Junpet , welcome to Microsoft Q&A forum.

    Unfortunately we cannot pause/stop Azure Cosmos DB. Please find below the verbatim provided by Azure Cosmos team and a workaround:

    "Pausing or stopping Cosmos DB is not possible. Cosmos is a managed database service that provides SLAs for availability and latency. A service that was turned off would not be able to provide either of those SLA’s.

    You can reduce RU/s on a container or database to as low as 400 RU/s which is approximately $24 USD per month.

    You can also use Change Feed to read all all your data in a container to a cold store like blob storage, then delete your container and keep the Cosmos account. Then when you need your data back in Cosmos, you can re-import the data, do your CRUD operations, then re-export it back out."

    Please let me know if that helps.

    ----------

    If answer helps, you can mark it as 'Accept Answer'

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.