October 2026
169 pages
3h 45m
English
Even perfectly tuned SQL can overwhelm a system if executed thousands of times per second or if it returns unnecessarily large volumes of data. This chapter targets two orthogonal issues, how often SQL runs and how much work each run forces the database to do.
The first problem is query frequency, too many repeated SQL executions caused by chatty access patterns like N+1 loops. The second is result volume, too much data moved, ...
Read now
Unlock full access