1. A computer program product comprising a non-transitory machine-readable medium storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising: creating one or more transactions as part of a write operation initiated for one or more tables in a main-memory-based database management system, wherein the one or more tables in the main-memory-based database management system are stored in memory; writing, for each data change occurring during a transaction of the one or more transactions, a transaction log entry to a private log buffer, the private log buffer corresponding to the transaction; flushing all transaction log entries in the private log buffer to a global log buffer, when the main-memory-based database management system has processed one or more data manipulation language statements comprising the transaction to which the private log buffer corresponds; and flushing, to a non-volatile storage, all transaction log entries in the global log buffer, the flushing of all the transaction log entries in the global log buffer to the non-volatile storage performed during a commit operation committing the changes relating to the write operation, the flushing of all the transaction log entries in the global log buffer to the non-volatile storage during the commit operation resulting in fewer input/output operations to the non-volatile storage for transaction logging than writing the transaction log entries directly to the non-volatile storage.