Paperback
Avoid SQL mistakes, optimize your database, and become a senior developer.

More SQL Antipatterns

Avoid Common but Deadly Mistakes of Database Optimization

RRP$49.95
$41.68
  • Paperback

    224 pages

  • Release Date

    13 July 2026

Check Delivery Options

Summary

Don’t make the mistakes most people make when optimizing your database.

It’s easy to get something working with SQL but getting it working well requires skill and experience. Rather than learning by trial and error, let renowned database expert Bill Karwin give you the benefit of his years of experience as he shows you the mistakes people make and how to fix them.

Dig into SQL language issues rarely covered in other books. Learn advanced queries such as relational division, efficient pagination, and pivoting. Explore tradeoffs in optimization, including denormalization, JSON, and choosing SQL versus NoSQL. Turn mistakes into successes by employing SQL in application design: transactions, polling, and object-relational mapping. Finally, take a deep dive into scaling out with sharded databases.

This book contains fourteen all-new topics, making it a valuable complement to SQL Antipatterns Volume 1. In each chapter, you’ll learn how to recognize one type of common pitfall, and how to solve it. Examples use the current popular combination of PostgreSQL and Python, but the principles apply to any modern database and language. Like the first volume, this book also includes a selection of mini-antipatterns, or brief tips you can use for quick wins.

Optimize SQL the right way and graduate from journeyman to senior database developer.

Book Details

ISBN-13:9798888652060
Author:Bill Karwin, Jacquelyn Carter
Publisher:The Pragmatic Programmers
Imprint:The Pragmatic Programmers
Format:Paperback
Number of Pages:224
Release Date:13 July 2026
Weight:650g
Dimensions:25mm x 190mm x 235mm
Mass Market
Digest
Trade Paperback
More SQL Antipatterns by Bill Karwin - ISBN: 9798888652060
7.48 × 9.25 in
US Letter
mm / in
About The Author

Bill Karwin

Bill Karwin has been a software engineer for more than 30 years, developing and supporting applications, libraries, and servers, and consulting for leading technology companies. Throughout his career, Bill has shared his knowledge to help other programmers achieve success and productivity. Bill has answered thousands of questions, giving him a unique perspective on SQL mistakes that most commonly cause problems.

Returns

This item is eligible for simple returns within 30 days of delivery. Return shipping is the responsibility of the customer. See our returns policy for further details.