pub const ROWS_PER_TABLE: usize = 10_000;
Past this many row changes to one table, a write records only that the table changed, not each row, so its memory stays bounded; every live query that reads the table then runs again.