Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Design Good Schemas - Get a Better Database

NDC Conferences via YouTube

Overview

Discover how to design effective table schemas for relational databases in this NDC Oslo 2023 conference talk. Learn why proper schema design is crucial for application performance and maintainability, especially in CI/CD environments. Explore the concept of adopting a relational mentality, covering aspects of modeling, mapping models to tables, and delving into data types and fields. Gain insights on fitness criteria, the differences between models and schemas, and the impact of changes. Address common pitfalls such as over-normalization, improper use of indexes, and relying solely on ORMs. Examine practical examples, including catalog item scenarios, and learn techniques to fix data types, handle denormalization, and implement effective primary keys. Understand the importance of migration scripts and adhering to best practices in database design for improved application flexibility and performance.

Syllabus

Introduction
Design good schemas
Fitness criteria
Model vs Schema
Design vs Schema
Model
Schema
Regrets
Impact of change
Data types
How to fix data types
Denormalization
Multientity table
Catalog item example
How to fix this
Abnormal Form
References
Sequential Keys
Primary Keys
ORM
RMS
Adhoc DDL
Migration scripts
Summary

Taught by

NDC Conferences

Reviews

Start your review of Design Good Schemas - Get a Better Database

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.