2013-09-08, 00:32
Thought I would post this as it might help someone else. I recently moved my MySQL database from my windows machine to a Mac Mini (Intel Core 2 Duo [P8700], 4GB RAM) which has about double the horsepower of my outdated windows machine. I was getting horrible performance and spent most of today troubleshooting. I'm a database DEV (some days) and since I was seeing performance problems on all machines I figured it was network or a DB problem. I've been analyzing all of the queries (wow does XBMC use a lot of views) and was getting performance hiccups all day. I tweaked/added some new indexes but didn't really see any major performance boosts (just minor ones). Ok, long story short, turns out it was the screen saver on the Mac. Whenever it was turn on, and while it was running, the MySQL performance went to hell. I disabled it and I've been rock solid for the last hour. Anyway...thought I'd post in case this helps someone. I had blinders on and thought this issue was WAY more technical LOL. Ah well, not sure why the screen savers causes the issue, nor do I care. Problem solved for me