Partitioning helps queries run faster by dividing data into parts based on keys like year or region. When a query uses these keys in its WHERE clause, it scans only the matching partitions instead of all data. For example, a query filtering year=2023 and region='US' scans only partitions with those values. This reduces the amount of data read and speeds up the query. If no partition keys are used, the query scans all partitions, which is slower. The execution table shows each step: starting the query, identifying partition keys, filtering partitions step-by-step, scanning only relevant partitions, and returning results. The variable tracker shows how the set of partitions to scan shrinks after each filter. Understanding this flow helps write efficient queries on partitioned data.