The slave must be much faster because:
- The volume of recorded data coincides with the main
- Writing to the subordinate bypass of all syntax and permissions checks (everything that works - and this is a lot - is performed by the master when processing the request - only data changes are sent to the subordinate)
- It does not read anything else other than what you perform as a test.
- Replication is an optimized process designed for the highest possible synchronization speed, therefore, if we have a master failure, shaving is as relevant as possible. This means that by design it should cause as little work as possible on the slave.
All this means that the slave is under significantly less load than the master.
In fact, redirecting reads to the slave is a known performance modification.
source share