All Questions
Scaling Reads hard

Why is 'Statement-Based Replication' (sending SQL strings to replicas) risky for consistency compared to 'Row-Based Replication'?

  1. A SQL strings use more bandwidth.
  2. B Non-deterministic functions (like `NOW()`, `RAND()`, or UUID generation) will execute differently on the Replica than the Primary, causing data divergence.
  3. C It is slower.
  4. D It requires more CPU.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions