Notebook 10: what the primary key costs on insert run: 2026-11-22 08:21 UTC | Linux-7.0.0-1020-azure-x86_64-with-glibc2.43 1000000 rows per table, 100 transactions of 10000 rows, a 100-byte pad column server: PostgreSQL 18.7 (Debian 18.7-1.pgdg13+5) on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit PostgreSQL | bigint identity | insert 3.4 s | 293046 rows/s | index 21.4 MB | leaf pages 2733 | leaf density 90.0% | tree levels 3 | table 142.0 MB | WAL 234.6 MB PostgreSQL | uuid v4, gen_random_uuid() | insert 4.6 s | 218065 rows/s | index 38.4 MB | leaf pages 4889 | leaf density 70.6% | tree levels 3 | table 150.2 MB | WAL 262.0 MB PostgreSQL | uuid v7, uuidv7() | insert 3.2 s | 311824 rows/s | index 30.1 MB | leaf pages 3832 | leaf density 90.0% | tree levels 3 | table 150.2 MB | WAL 248.0 MB server: 8.4.13 MySQL | BIGINT AUTO_INCREMENT | insert 6.2 s | 162104 rows/s | clustered index (the table) 137.7 MB | page splits 8782 MySQL | BINARY(16), RANDOM_BYTES(16) | insert 55.5 s | 18017 rows/s | clustered index (the table) 236.0 MB | page splits 21895 MySQL | BINARY(16), UUID_TO_BIN(UUID(), 1) | insert 5.7 s | 174368 rows/s | clustered index (the table) 145.8 MB | page splits 31169