question

SongkranJunpet-9113 avatar image
0 Votes"
SongkranJunpet-9113 asked AnuragSharma-MSFT commented

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

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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SongkranJunpet-9113, just wanted to check if you need more details. if answer helped your query, you can mark it 'Accept Answer'

0 Votes 0 ·

1 Answer

AnuragSharma-MSFT avatar image
0 Votes"
AnuragSharma-MSFT answered

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'








5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.