Making sense of Postgres row sizes
Calculation of row size is much more complex than that. Storage is typically partitioned in 8 kB data pages. There is a small fixed overhead per page, possible remainders not big enough to fit another tuple, and more importantly dead rows or a percentage initially reserved with the FILLFACTOR setting. And there is even more … Read more