Developing Solutions using Cosmos DB
- Azure Cosmos DB is a NoSQL database.
- In Relational (SQL) Databases the table and cell definition is known as schema and must be defined before we can enter data into it.

- For Querying the data from Relational Databases, SQL is Used.
- If we need to pull the relevant data from multiple tables, we use join queries.
- NoSQL databases store data as JSON documents,
{
"id": "0001",
"courseName": "Azure",
"curriculum": "https://qt.in/azure/syallabus.pdf",
}
{
"id": "0002",
"courseName": "Python",
"roles": [
"Python developer",
"Full Stack Python Developer",
"Python Automation Engineer"
]
}
-
One of the biggest benefits of using NoSQL is we can easily mix the records of completely different schemas
-
Understanding Cosmos DB:
- Cosmos DB Storage is the premium offering for Azure Table Storage. Its a multi-model and globally distribute data base service that is designed to horizontally scale and replicate you data to any number of Azure Regions.
- This HA and low latency makes Cosmos DB most suitable for
- mobile applications
- games
- Applications that need to be globally distributed.
-
Cosmos DB Offers following benefits
- Turnkey global distribution
- Always On: SLA 99.99% high availability (HA) for both reads and writes.
- Secure by default
-
Cosmos DB supports the following APIs
- SQL API
- MongoDB API
- Gremlin API
- Table API
- Cassandra API
-
Creating a Cosmos DB

-
Managing Azure Cosmos DB Data using
- C# Refer Here
- Java Refer Here
- Python Refer Here
- Node JS Refer Here
Exercise
- Create a new resource group and create a cosmos db.
