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

Connecting to the database

Now that we have a database, it is time to work with it. There are a number of tools we can use to work with the database. To manage existing databases, the same goes as for creating new ones. You can use the Azure portal or you can use scripting. Templates only apply when you create a new resource. For developer-related tasks, such as creating the tables we want, it is easier to use specialized database tools. Let's look at a couple of options that we have at our disposal.

Azure portal

For the purposes of this book, we chose Azure Data Studio as the tool we use. But we will start by using the Azure portal:

  1. Log in to the Azure portal.
  2. Show the Azure portal menu by clicking on the menu button (three vertical lines) in the upper-left corner of the portal.
  3. Click on All resources to bring up a list of all your Azure resources.
  4. Click on the SQL server, dbdesignbook.

    You now see the SQL Server blade. Remember that we created both a...