Skip to Main Content
SQL Antipatterns, Volume 1
book

SQL Antipatterns, Volume 1

by Bill Karwin
October 2022
Intermediate to advanced content levelIntermediate to advanced
380 pages
9h 35m
English
Pragmatic Bookshelf
Content preview from SQL Antipatterns, Volume 1

What Is Normalization?

The following are the objectives of normalization:

  • To represent facts about the real world in a way that can be understood

  • To reduce storing facts redundantly and to prevent anomalous or inconsistent data

  • To support integrity constraints

Notice that improving database performance is not on this list. Normalization will help you store data correctly and avoid getting into trouble when using SQL to query your data. It’s practically inevitable that a database that is not normalized becomes a mess. You may have to develop a lot more code to clean up inconsistent or duplicate data. You will experience delays and expenses to the business from faulty data. If you include these scenarios, the benefits to performance from normalizing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning SQL, 3rd Edition

Learning SQL, 3rd Edition

Alan Beaulieu
SQL Antipatterns

SQL Antipatterns

Bill Karwin
High Performance MySQL, 4th Edition

High Performance MySQL, 4th Edition

Silvia Botros, Jeremy Tinley
SQL Cookbook, 2nd Edition

SQL Cookbook, 2nd Edition

Anthony Molinaro, Robert de Graaf

Publisher Resources

ISBN: 9798888650011Errata Page