O'Reilly logo

Learning Azure DocumentDB by Riccardo Becker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Setting up and Managing Your Database

Besides programming against a database, it is also of utmost importance that your database is well managed. You can manage a database not only from the portal, but also using the REST API's or the different client SDKs.

In this chapter, we will cover the following topics:

  • Managing and regenerating keys
  • Creating resource tokens
  • Learning about consistency levels
  • Viewing and setting performance and usage metrics
  • Setting up alerts and seeing them in action

Managing your keys

As we have seen in Chapter 1, Getting Started with DocumentDB, access to your databases is granted by a combination of the URI to your DocumentDB and a key. In the Azure portal, on the All Settings blade of your database, you can see both ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required