rocket

Storage Estimator

A live table-storage estimator: build a mini schema (column types, nullability, average sizes for variable types) and get a per-row byte breakdown (tuple header, null bitmap, columns) and a total size estimate for any row count — simplified Postgres-like model.

npx shadcn@latest add https://rocket.gozturk.dev/r/storage-estimator.json
16 B
8 B
8 B
B avg16 B
B avg260 B
1 B
rows:

row size: header 24 B + null bitmap 1 B + columns 309 B = 334 B/row

total: × 1,000,000 rows ≈ 318.5 MiB

simplified postgres-like model — ignores alignment padding and TOAST