---
title: "Discussion on \"Updates, Order, & the Binlog\" | Hashnode"
description: "Discussion on \"Updates, Order, & the Binlog\". A theoretical exercise to realize the purpose of the binlog"
url: "https://hashnode.com/posts/updates-order-and-the-binlog-1/6254b8e26386ed96b050b7a4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Updates, Order, & the Binlog](https://nocd.hashnode.dev/updates-order-and-the-binlog-1?utm_source=hashnode&utm_medium=feed)

A theoretical exercise to realize the purpose of the binlog

Apr 11, 2022 · 3 min read · nocd.hashnode.dev  
Read the article

## Written by

[Naveen](https://hashnode.com/@nav610)

@nav610 · Chicago

  
[View profile](https://hashnode.com/@nav610)

break, build, repeat ♻️

break, build, repeat ♻️

## Responses 1

Markdown supported · ⌘↵ to post

[Anil Vaitla](https://hashnode.com/@avaitla16)

[Apr 16, 2022](https://hashnode.com/posts/updates-order-and-the-binlog-1/6254b8e26386ed96b050b7a4/comment/625a108652fb7bd53380ddf6)

For a long while MySQL only had single threaded replication, so all transactions are applied one at a time in a serial order. This meant ordering and correctness of application works (the data on the replica still matches the data on the primary), then they began to add parallel replication. This causes out of order problems (thread 1 applies before thread 2 leading to either a data mismatch or a conflict). There's some more discussion here about group commit and LOGICAL\_CLOCK replication: [dev.mysql.com/doc/refman/8.0/en/replication-optio…](https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_parallel_type)
