I have many MySQL write-only processes. They all go to the same MySQL master. I run them sequentially to get a baseline time. I basically chain together several mysql command-line clients, one-after-another. Later, I parallel fire up several mysql clients at the same time to get an experimental time. Why are the times the same?
- Each client hits a separate schema. This eliminates the possibility of table or row locking contention between clients.
- I have tried this on Win32 XP with a couple of cores and 4GB RAM vs. RedHat 5.6 64-bit with 24 virtual cores and 32GB RAM. The baseline vs. experimental is the same on both.
- On the RedHat I've tried all TCP clients vs. all SOCKET clients. No difference probably because the server isn't under load.