const MAX_ROWS_FOR_TRANSACTION: usize = 4096;
Maximum number of rows in a transaction. If a transaction is larger than this, it will be force committed to avoid potential OOM.