DocumentDB is a NoSQL database which is massively scalable and it works with schema-free JSON documents.

Features of CosmosDB

There are many ways to improve the performance

Query data using the following APIs

DocumentDB Resource Model

CosmosDB

Create a database account

  1. In a new browser window, sign in to the Azure portal.
  2. Click on "More Service" and search for ‘Azure Cosmos DB’.

    CosmosDB

  3. Enter unique database name, select API as SQL, and select Subscription.

    CosmosDB

Creating new Collection

Add Sample Data in to Collection

  1. Click ‘Documents’ option under collection (dbFamily -> Families -> Documents).
  2. Click New Document.

    CosmosDB

  3. Add the following JSON data of family.

    CosmosDB

  4. Click on "Save and Observe the data".

System generated properties

Once you save the data, you can observe some system generated properties, prefixed with underscore (_).

CosmosDB