简体   繁体   中英

Is it possible to pause a Azure DocumentDB?

I'm converting a Azure DocumentDB to a Table Storage because of the high costs of DocumentDB.

I would like to pause / suspend the DocumentDB database for a while and not completely remove it. Is it possible to do that?

As gbellmann mentioned, there is no way to pause the service.

That being said; there are other workarounds. For example:

  • Lower the throughput (RU/sec) to the minimum allowed for the collection.

  • Use the Data Migration Tool to export your data out of DocumentDB to JSON.

  • Temporarily remove the DocumentDB collection. Re-create it once needed.

  • Use the import tool to import the JSON back in to DocumentDB.

Here's a reference for using the Data Migration tool:

http://azure.microsoft.com/en-us/documentation/articles/documentdb-import-data/

There is not current way of pausing the service. Anyway, as almost all things in Azure, even when paused you would still be paying for it.

I would suggest taking away writes for the database for at least a short period of time. Your data would be safe for comparisons but impossible for things to be written to it. It would give you a safe status (even though you would still incur charges while in this hybrid state)

http://azure.microsoft.com/en-us/documentation/articles/documentdb-manage-account/

Regenerate the keys.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM