[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] 5.0 and above
[Encountered Problem] Deadlocks occur during query and insert modifications. I want to achieve read-write separation, for example, in MySQL, you can read data only from the replica. Can using follower read achieve a similar effect?
Deadlock is a resource competition in business scenarios, and this requires considering a better solution. Relying on the database alone still cannot avoid it.
Thank you for your reply. According to the documentation, stale read is reading historical data. But I just want to simulate the operation similar to reading from a MySQL replica.
Or I won’t mention deadlocks. I just purely want to read replica data. Can it achieve a similar effect to reading from a MySQL replica?