Table Partition Size Calculator
Compares every partition grain by size per partition and partition count at full retention.
Loading the tool…
How to use this tool
- Set rows per day, average row size and the retention window.
- Pick the grain you were planning to use.
- Select Compare grains and read the summary — it says which failure mode, if either, your choice falls into.
- Compare the other rows before settling. The grain one step coarser is often materially better.
What partition size calculator does
Partitioning has two failure modes and the grain alone tells you nothing about which one you are in. Too fine and you get tens of thousands of small files, where listing the partitions costs more than the scan you avoided. Too coarse and every query still reads a year of data, which is the situation partitioning was supposed to fix.
This works out rows and bytes per partition at every grain from hourly to yearly, alongside how many partitions exist once the retention window is full, and says which of the two failure modes your chosen grain falls into. The thresholds are the conventional ones for columnar lake formats — a row store with a good index tolerates smaller partitions than a Parquet table does.