April 2026
Beginner
493 pages
23h 2m
English
We’ve already learned about indexes and how they may speed up data queries. There’s a second, similar approach though: using summary tables.
Basically, a summary table is a secondary satellite table that lives next to your big main table. Typically, a periodic job reads data from the big table, runs some calculations, and summarizes the results into the summary table. The summary table can be considered a data cache.
If the summary data is frequently queried, summary tables offer performance benefits. Instead of recalculating the same values over and over via the big main table, you can simply access the precalculated and cached values from the summary table.
Summary tables have also proven to be useful for ...
Read now
Unlock full access