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.
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.
Hi @SongkranJunpet-9113, just wanted to check if you need more details. if answer helped your query, you can mark it 'Accept Answer'
Hi @SongkranJunpet-9113, 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'
7 people are following this question.