Cosmos Db Introduction Part-1

Kajasumanie Kanapathipillai
2 min readJan 16, 2021

What is Cosmos DB?

Comos DB is a database service that is globally distributed. It allows you to manage your data even if you keep them in data centers that are scattered throughout the world. It provides the tools you need to scale both global distribution pattern and computational resources, and these tools are provided by Microsoft Azure.

The definition of Cosmos DB says ‘Globally Replicated’ which means, you can replicate your database in different geographical areas. It stores data in JSON format and there is no need to define the schema in advance hence it is schema free. You can execute the SQL query on stored JSON documents. Cosmos DB was formerly known as Document DB and it supports multimodal like SQL, Table API, Graph API etc.

Azure Cosmos DB is the right solution for web, mobile, gaming applications when predictable throughput, high availability and low latency are key requirements. We will cover throughput, availability, latency in detail in upcoming articles.

The structure of the Cosmos DB is similar to that of the RTPMS database. In the first step, we need to create a cosmos account. Under the Cosmos account, we can create multiple databases. Each database contains a set of documents that contain JSON formatted. This database is similar to our RDBMS database; The collection is a kind of table, and the document is like an array.

next part will see how to create Cosmos account and how to access to the portal.

ref :