Non-Fiction, Self-Help

Creativity for Database Administrators

Design efficient schemas and query optimization st

by Stapleton Keren

  • English
  • 147 pages
  • 2026
  • SamEnrico

Design efficient schemas and query optimization strategies innovatively.

Formats

About this book

Design efficient schemas and query optimization strategies innovatively.

Free sample

Chapter 1: The Denormalization Spectrum--–- In twenty years of database administration, I have never once been asked to build the "perfectly normalized" database described in textbooks. Not once. What I have been asked to do, repeatedly, is make a database faster, keep it online during Black Friday traffic, and somehow store three new types of data that the original schema never anticipated. The requests arrive at 3 AM via Pager Duty, or 3 PM via a frantic Slack message from the VP of Engineering, or 3 minutes before a product launch when someone realizes that the "simple report" they promised a client actually requires joining fourteen tables and runs in forty-five seconds.This chapter dismantles a dangerous myth: that there exists a single "correct" or "ideal" database schema. The myth has ruined careers, bankrupted startups, and caused more late-night emergency calls than any hardware failure I have ever witnessed. The myth whispers that if you just normalize enough, if you just follow Third Normal Form strictly enough, if you just avoid all redundancy like the plague, your database will be pure and righteous and performant. The myth is wrong.The creative database administrator knows something that textbook authors often omit: every design decision involves trade-offs. There is no universal "best practice" that applies to every workload, every dataset size, every hardware configuration, or every business requirement. The schema that works perfectly for a thousand users will often collapse under a million. The ACID-compliant, fully normalized, beautifully architected schema that wins awards at a database conference might be exactly what brings down your e-commerce site on Cyber Monday.This chapter introduces two foundational tools that will guide you through every decision in this book. First, the Trade-off Map: a visual framework for documenting what you gain, what you sacrifice, and under what conditions your decision remains valid. Second, the Denormalization Spectrum: a unified way of understanding all redundancy techniques—from the mildest covering index to the most exotic reverse referencing array—as variations on a single principle. We will also establish The First Law of Creative Database Design, a mantra that will echo through every subsequent…

This is the end of the free sample. Get the eBook to keep going. Buy now

Read a sample →

Contents

  1. Chapter 1
  2. Chapter 2
  3. Chapter 3
  4. Chapter 4
  5. Chapter 5
  6. Chapter 6
  7. Chapter 7
  8. Chapter 8
  9. Chapter 9
  10. Chapter 10
  11. Chapter 11
  12. Chapter 12

Details

Author
Stapleton Keren
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Self-Help
Released
2026-06-08
Pages (approx.)
147
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Stapleton Keren

See all

You may also like

See all