Was this helpful?
Calculate Space Requirements When Rows Span Pages
Follow these steps to determine the amount of space needed to store the data in a table with rows that span pages:
1. Determine the number of pages per row, as follows:
pages_per_row = row_size / max row size
where max_row_size is the maximum row size for the table, as shown in Maximum Row Size Per Page Size.
Round up to the nearest integer.
2. Determine the number of data pages needed for the table, as follows:
data_pages = num_rows * pages_per_row
Maximum Row Size Per Page Size
Table rows span pages if the row size is greater than the maximum row size for the table page size, as shown in this table:
Page Size
Max Row Size
2048 (2 KB)
1928 bytes
4096 (4 KB)
3976 bytes
8192 (8 KB)
8072 bytes
16384 (16 KB)
16264 bytes
32768 (32 KB)
32648 bytes
65536 (64 KB)
65416 bytes
Last modified date: 11/09/2022