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

Preventing redundancy

Let's briefly recap what the characteristics of an OLTP workload are:

  • A lot of small queries are being executed.
  • A lot of writes to the database are performed.

In the case of an OLTP workload, making writes (updates and especially inserts) to the database as efficiently as possible is key.

The most important premise of normalizing data is to prevent redundancy in the database. Redundancy is storing the same piece of information twice or more. We want to store each value just once as much as possible. There are three reasons for doing so:

  • Redundancy costs extra storage.
  • Redundancy has a negative impact on performance.
  • Redundancy has a negative impact on data quality.

Let me now elaborate on these reasons in more detail.

Available storage

The first argument may seem strange in the era of big data. This argument has its origins in the past, where storage was limited and really expensive. This has become far...