concept

Partition skew

Uneven row counts, bytes or access rates across partitions can create hotspots. A row-count ratio is a diagnostic rather than a latency measurement. Empty partitions need explicit handling.

Formal Syntax & Structure

sql syntaxsql
Conceptual

Working Example

Example Snippetsql
WITH t(p,n) AS (VALUES (1,4),(2,2)) SELECT 1.0*MAX(n)/NULLIF(MIN(n),0) FROM t;
SQL Reference