Book Image

Data Modeling for Azure Data Services

By : Peter ter Braake
Book Image

Data Modeling for Azure Data Services

By: Peter ter Braake

Overview of this book

Data is at the heart of all applications and forms the foundation of modern data-driven businesses. With the multitude of data-related use cases and the availability of different data services, choosing the right service and implementing the right design becomes paramount to successful implementation. Data Modeling for Azure Data Services starts with an introduction to databases, entity analysis, and normalizing data. The book then shows you how to design a NoSQL database for optimal performance and scalability and covers how to provision and implement Azure SQL DB, Azure Cosmos DB, and Azure Synapse SQL Pool. As you progress through the chapters, you'll learn about data analytics, Azure Data Lake, and Azure SQL Data Warehouse and explore dimensional modeling, data vault modeling, along with designing and implementing a Data Lake using Azure Storage. You'll also learn how to implement ETL with Azure Data Factory. By the end of this book, you'll have a solid understanding of which Azure data services are the best fit for your model and how to implement the best design for your solution.
Table of Contents (16 chapters)
1
Section 1 – Operational/OLTP Databases
8
Section 2 – Analytics with a Data Lake and Data Warehouse
13
Section 3 – ETL with Azure Data Factory

Creating a container

The easiest way to create a database and a container is by using the Data Explorer page in the portal:

  1. Click on the home blade of your Cosmos DB account in the menu on the left-hand side of the screen, and then click on the Data Explorer option.

    Notice that you can create a sample database to familiarize yourself with Cosmos DB by clicking on Start with Sample in the middle of the screen. We will create our own database with our own container in it. When you create a container without first creating a database, the portal will let you create the database as you go. A database is a container that holds a set of containers, in the same way that a SQL database has a set of tables. You can create the database first.

  2. Click on the New Database link or click on New Container in the menu in the top-left corner of the Data Explorer page, and then click on New Database.
  3. Name your database ProductDB.

    Under the database name is the Provision throughput option...