Data & AI glossary
Partitioning
Splitting a large table into slices, most often by date, so that a query only reads the slices it needs.
IN PRACTICE
Only read what is needed.
Without partitioning, asking for yesterday’s sales forces the engine to scan the whole table, past years included. With partitioning by date, it only opens yesterday’s slice. The query runs faster and, on a warehouse billed by volume read such as BigQuery, it costs less.
The obvious candidates are event tables: web browsing, ad impressions, till receipt lines.
The trap: partitioning, then forgetting to filter. If the dashboard does not filter on the partition column, the whole table is read anyway. BigQuery lets you make this filter mandatory. Conversely, partitioning a small table brings nothing. It is one of the first reflexes of FinOps.
GO FURTHER
Read next.
WHAT COMES NEXT, WE BUILD TOGETHER
Your next project
starts with a conversation.
An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.
Let’s talk about your project