How Database Inserts Work: WAL and Buffer Pools