More SQL Antipatterns: Avoid Common But Deadly Mistakes of Database Optimization
暫譯: 更多 SQL 反模式:避免常見但致命的資料庫優化錯誤

Karwin, Bill, Carter, Jacquelyn

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2026-07-14
  • 售價: $2,210
  • 貴賓價: 9.5$2,099
  • 語言: 英文
  • 頁數: 224
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798888652060
  • ISBN-13: 9798888652060
  • 相關分類: SQL
  • 尚未上市,無法訂購

相關主題

商品描述

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.

商品描述(中文翻譯)

不要犯大多數人在優化資料庫時所犯的錯誤。


使用 SQL 讓某些功能運作起來很簡單,但要讓它運作得好則需要技巧和經驗。與其透過反覆試驗來學習,不如讓知名的資料庫專家 Bill Karwin 分享他多年來的經驗,告訴你人們常犯的錯誤以及如何修正這些錯誤。


深入探討其他書籍中鮮少涵蓋的 SQL 語言問題。學習進階查詢,例如關聯除法、高效的分頁和樞紐分析。探索優化中的權衡,包括去規範化、JSON,以及選擇 SQL 還是 NoSQL。透過在應用程式設計中運用 SQL 將錯誤轉化為成功:交易、輪詢和物件關聯映射。最後,深入了解如何使用分片資料庫進行擴展。


本書包含十四個全新主題,是《SQL Antipatterns Volume 1》的寶貴補充。在每一章中,你將學習如何識別一種常見的陷阱,以及如何解決它。範例使用當前流行的 PostgreSQL 和 Python 組合,但這些原則適用於任何現代資料庫和語言。與第一卷一樣,本書還包括一系列迷你反模式,或是你可以用來快速獲得成功的簡短提示。


以正確的方式優化 SQL,從初級資料庫開發者晉升為資深資料庫開發者。

作者簡介

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.

作者簡介(中文翻譯)

比爾·卡爾溫擁有超過 30 年的軟體工程師經驗,開發和支援應用程式、函式庫和伺服器,並為領先的科技公司提供諮詢服務。在他的職業生涯中,比爾分享了他的知識,幫助其他程式設計師實現成功和提高生產力。比爾回答了數千個問題,使他對 SQL 錯誤有了獨特的見解,這些錯誤最常導致問題的發生。

最後瀏覽商品 (1)