performance - Difference in speed between two MySQL servers -


i have 2 mysql servers. 1 master of other (actually master slave of server). both running on similar remote servers (same amount of ram). working fine except slave taking 2-3 times more time master server run same large query. can think of reason problem.

if there writes (coming master) a, b, etc, select run slower on slave. how slower depends on far many things predict.

to 'prove' that, (in slave) stop slave sql_thread;, run query; start slave sql_thread;. turn off writes select.

but "fixing" it?

if "writes" inserts, can 'batched'? is, insert multiple rows in same statement. may not 'solve' problem, mitigate it.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -