Cover image for Database Modeling Step-by-Step
Title:
Database Modeling Step-by-Step
Personal Author:
Physical Description:
xix, 248 pages : illustrations ; 23 cm
ISBN:
9780367422172
Abstract:
With the aim of simplifying relational database modeling, Database Modeling Step-by-Step presents the standard approach to database normalization and then adds its own approach, which is a more simplistic, intuitive way to building relational database models. Going from basics to contemporary topics, the book opens with relational data modeling and ends with BigData database modeling following a road map of the evolution in relational modeling and including brief introductions to data warehousing and BigData modeling. A break-down of the elements of a model explains what makes up a relational data model. This is followed by a comparison between standard normalization and a more simplistic intuitive approach to data modeling that a beginner can follow and understand.

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
33000000006682 QA76.9.D3 P69 2020 Book Book
Searching...

On Order

Summary

Summary

With the aim of simplifying relational database modeling, Database Modeling Step-by-Step presents the standard approach to database normalization and then adds its own approach, which is a more simplistic, intuitive way to building relational database models. Going from basics to contemporary topics, the book opens with relational data modeling and ends with BigData database modeling following a road map of the evolution in relational modeling and including brief introductions to data warehousing and BigData modeling. A break-down of the elements of a model explains what makes up a relational data model. This is followed by a comparison between standard normalization and a more simplistic intuitive approach to data modeling that a beginner can follow and understand.

A brief chapter explains how to use the database programming language SQL (Structured Query Language), which reads from and writes to a relational database. SQL is fundamental to data modeling because it helps in understanding how the model is used. In addition to the relational model, the last three chapters cover important modern world topics including denormalization that leads into data warehouses and BigData database modeling. The book explains how there is not much to logical data modeling in BigData databases because as they are often schema-less, which means that BigData databases do not have schemas embedded into the database itself, they have no metadata and thus not much of a logical data model.

Online bonus chapters include a case study that covers relational data modeling and are available at the author's web site: www.oracletroubleshooter.com/datamodeling.html


Author Notes

Gavin Powell is a veteran IT practitioner and author of a number of publications on Oracle technologies. He has extensive experience in many databases, including more than a decade working with Oracle databases.

Powell has authored the following books:



Oracle Performance Tuning for 10 g R2
Oracle SQL Jumpstart with Examples (with Carol McCullough-Dieter)
Oracle Data Warehouse Tuning for 10 g R2
Oracle High-Performance Tuning for 9i and 10g
Working with GoldenGate 12c


Table of Contents

Contentsp. vii
List of Figuresp. xi
Prefacep. xvii
About the Authorp. xix
Chapter 1 The Evolution of Relational Database Modelingp. 1
1.1 From File Systems to Object-Relational Databasesp. 2
1.1.1 File Systemsp. 3
1.1.2 The Hierarchical Database Modelp. 3
1.1.3 The Network Database Modelp. 4
1.1.4 The Relational Database Modelp. 5
1.1.5 The Object Database Modelp. 7
1.1.6 The Object-Relational Database Modelp. 9
1.2 General Types of Database Modelsp. 10
1.2.1 Transactional Databasesp. 10
1.2.2 Decision Support Databasesp. 11
1.2.3 Hybrid Databasesp. 13
1.3 Conclusionp. 14
Chapter 2 The Pieces of the Relational Data Modelp. 15
2.1 Why Discuss the Pieces?p. 16
2.2 Tablesp. 17
2.2.1 Columns or Fieldsp. 18
2.2.2 Rowsp. 30
2.3 Relationshipsp. 31
2.3.1 Representing Relationships in an ERDp. 31
2.3.2 Keys to Enforce Referential Integrityp. 41
2.4 Indexesp. 51
2.4.1 What is an Index?p. 51
2.4.2 Alternate Indexingp. 52
2.4.3 Types of Indexesp. 53
2.4.4 Different Ways to Build Indexesp. 56
2.5 Specialized Objectsp. 57
2.6 Conclusionp. 60
Chapter 3 Intuitive Relational Data Modeling and Normalizationp. 61
3.1 Normalization and Normal Formsp. 63
3.1.1 Defining the Normal Formsp. 63
3.2 Intuitive Database Modelingp. 65
3.2.1 Defining Data Modeling Intuitivelyp. 66
3.2.2 Master-Detail Relationshipp. 67
3.2.3 Dynamic-Static Relationshipp. 73
3.2.4 Advanced Relationshipsp. 79
3.3 Data Model Design with Normalizationp. 87
3.3.1 Anomaliesp. 88
3.3.2 Dependency and Determinantsp. 89
3.3.3 Defining Normal Forms Againp. 93
3.3.4 1st Normal Formp. 94
3.3.5 2nd Normal Formp. 96
3.3.6 3rd Normal Formp. 98
3.3.7 Advanced Normalization Beyond 3rd Normal Formp. 100
3.4 Conclusionp. 113
Chapter 4 Reading and Writing Relational Data with SQLp. 115
4.1 What is SQL?p. 116
4.1.1 The Origins of SQLp. 117
4.1.2 SQL for Different Databasesp. 118
4.1.3 Introducing SQLp. 118
4.2 Querying a Database Using SELECTp. 120
4.2.1 Filtering with the WHERE Clausep. 122
4.2.2 Sorting with the ORDER BY Clausep. 126
4.2.3 Aggregating with the GROUP BY Clausep. 127
4.2.4 Join Queriesp. 128
4.2.5 Nested Queriesp. 136
4.2.6 Composite Queriesp. 137
4.3 Changing Data in a Databasep. 138
4.3.1 Understanding Transactionsp. 139
4.4 Changing Database Metadatap. 141
4.5 Conclusionp. 146
Chapter 5 Advanced Relational Database Modelingp. 147
5.1 Understanding Denormalizationp. 149
5.1.1 Normal Form Definitionsp. 149
5.1.2 Intuitive Data Modeling Definitionsp. 150
5.1.3 Denormalizing Granularity Created in Chapter 3p. 151
5.1.4 Denormalization Using Specialized Database Objectsp. 156
5.1.5 Denormalization Tricksp. 158
5.2 Understanding the Object Database Modelp. 160
5.3 Introducing the Data Warehouse Modelp. 165
5.4 Conclusionp. 167
Chapter 6 Understanding Data Warehouse Database Modelingp. 169
6.1 What Is a Data Warehouse?p. 170
6.1.1 The Relational Database Model and Data Warehousesp. 172
6.2 The Dimensional Database Modelp. 174
6.2.1 What Is a Star Schema?p. 175
6.2.2 What Is a Snowflake Schema?p. 176
6.2.3 Kimball and Inmon on Data Warehousingp. 181
6.3 Data Warehouse Modelingp. 183
6.3.1 Understanding Business Processesp. 184
6.3.2 Granularityp. 184
6.3.3 Commonly Occurring Types of Dimension Tablesp. 186
6.3.4 Understanding the Basics of Fact Tablesp. 189
6.4 Conclusionp. 195
Chapter 7 Modeling for BigData Databasesp. 197
7.1 Dimensional Modeling and Staging Databases in the Age of BigDatap. 198
7.1.1 The Data Vault Modelp. 199
7.1.2 The Anchor Modelp. 203
7.1.3 Connecting the Dots from Relations and Dimensions Through to BigDatap. 204
7.2 What Is BigData Modeling?p. 206
7.2.1 Some Useful BigData Modeling Terminologyp. 206
7.2.2 Comparing ACID and BASE Consistency Modelsp. 209
7.2.3 Risks with BigData Modelingp. 211
7.2.4 Schema on Read (Schema-Less)p. 212
7.3 Four Main Types of BigData Modeling Architecturesp. 216
7.3.1 Columnar BigData Modelingp. 216
7.3.2 Key-Value Store Data Modelingp. 221
7.3.3 Document Collection Data Modelingp. 231
7.3.4 Graph Data Modelingp. 238
7.4 Conclusionp. 242
Indexp. 243