Hi, I used to have my site hosted on a shared host. It has 46,000 images. As this site in particular was of an adult nature, they asked me to remove it.
I've setup servers on both windows vista, on a very high spec machine. Also on a smaller, less powerful pc using Fedora 10. Both servers use PHP 5.2.8, MySQL 5.1.30 on apache 2.2. On both systems, my database, on windows mysqld.exe is using 100% cpu usage and taking anywhere between 5~10 seconds. Taking a little longer on the Linux system. This is after downloading a dump of the database from my host, and importing it into my new setup. Any idea what's causing the high load? I can't continue to use the site with this kind of load, the site is offline until it's fixed.
It doesn't seem a necessary overhead from any kind of MySQL DB of this size unless there is major repeated functions and inefficient code... I'm going to test plogger with a much smaller number of images to see where the problem lies.