use DB_TXN_NOSYNC for txn commit