Database Design Creativity
Model complex relationships using novel schema str
by Laney Torri
Model complex relationships using novel schema structures for performance.
Formats
About this book
Free sample
Chapter 1: The 18-Second Query...--–- Maya Chen stared at her screen, her third cup of cold coffee sitting forgotten beside her keyboard. The query had been running for eighteen seconds. Eighteen seconds that felt like eighteen minutes while her CTO, Marcus, stood behind her chair, arms crossed, not saying a word.The silence was louder than any criticism."Eighteen seconds," Marcus finally said, his voice flat. "For a fraud detection query. Our SLA is two hundred milliseconds."Maya didn't turn around.
She couldn't. She was watching the EXPLAIN ANALYZE output scroll past—a terrifying tapestry of nested loops, hash joins, and sequential scans that told a story she already knew but didn't want to admit.Her database was beautiful. Perfectly normalized. Fifth normal form. Every piece of data in exactly one place, no redundancy, no anomalies.
She had defended this design in front of the entire engineering team six months ago, armed with Entity-Relationship diagrams that looked like works of art and a lecture on the elegance of Codd's twelve rules.And now that beautiful database was trying to kill her career."We have three million users," Marcus continued, his voice still calm—which was somehow worse than yelling. "Fraud costs us forty thousand dollars per hour when it goes undetected. Your query just ran for eighteen seconds. Do the math."Maya did the math. She wished she hadn't."Give me forty-eight hours," she said."You have twenty-four."He walked away.
Maya heard his footsteps fade down the hallway, then the click of his office door. She was alone with her eighteen-second query, her cold coffee, and a growing suspicion that everything she had been taught about database design was not just incomplete—but actively, dangerously wrong.The Myth of Pure Normalization Maya's story is not unique. I have sat in her chair—or versions of it—at three different companies. I have watched brilliant engineers defend Boyce-Codd Normal Form while their production systems collapsed under the weight of their own elegance. I have seen teams waste months migrating to "simpler" schemas that only made things worse, and I have seen startups die…
This is the end of the free sample. Get the eBook to keep going. Buy now
Contents
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Chapter 8
- Chapter 9
- Chapter 10
- Chapter 11
- Chapter 12
Details
- Author
- Laney Torri
- Publisher
- SamEnrico
- Language
- English
- Genre
- Non-Fiction, Self-Help, Database Design
- Released
- 2026-06-09
- Pages (approx.)
- 158
- 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 Laney Torri
Spinal Cord Injury PainLaney Torri$11.99
Chemical Pregnancy SupportLaney Torri$11.99
Blue Zone Meat GuideLaney Torri$11.99
Wholesaling Purchase AgreementLaney Torri$11.99
Quick Ratio Acid Test GuideLaney Torri$12.99
Anger Restructuring for DepressionLaney Torri$11.99
Gaming and AnxietyLaney Torri$11.99
Freelance Portfolio ProtectionLaney Torri$11.99
The Gentleman Surgeon: John Hunter and the Birth of Modern MedicineLaney Torri$11.99
Marcus Aurelius: The Philosopher-Emperor's LegacyLaney Torri$11.99
How to Produce Fabric SoftenerLaney Torri$11.99
The Essential Guide to FranceLaney Torri$11.99