> For the complete documentation index, see [llms.txt](https://raviram.gitbook.io/cosmosdb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://raviram.gitbook.io/cosmosdb/data-modeling.md).

# Data modeling

## Data modeling in Azure Cosmos DB <a href="#data-modeling-in-azure-cosmos-db" id="data-modeling-in-azure-cosmos-db"></a>

While schema-free databases, like Azure Cosmos DB, make it super easy to store and query unstructured and semi-structured data, you should **spend some time thinking about your data model** to get the most of the service in terms of performance and scalability and lowest cost.

How is data going to be stored? How is your application going to retrieve and query data? Is your application read-heavy, or **write-heavy**?

Next, let us see some of the modelling choices we have to store our data in Cosmos DB.
