Hi
This particular query keeps showing up in my slow query log
Code:
Content visible to verified customers only.
That's 14 occurrences of it within an hour
I believe that a query that examines 436,852,647 rows is either a bug or very unoptimised.
This also appears to be what is causing the mysql on my server to max out using 350-400%cpu (4 processors) and increasing server load to 8+
here is an excerpt from a "mysqladmin processlist" ssh command
Code:
Content visible to verified customers only.
and the same command run a few minutes later - as you can see, many of the same queries are still there.
Code:
Content visible to verified customers only.
Information:
Server Software: CentOS V5 32bit
CPU: AMD Phenom II X4 945 (3ghz per core)
RAM: 8GB
PHP version: 5.2.12
PHP Extensions: Xcache 1.3.0, ioncube loader 3.3.0, zend optimiser 3.3.9, suhosin 0.9.29.
mySQL version: 5.0.89
Photopost version: PhotoPost PHP Pro v7.01, Build: 1/21/10 5:54 PM
Most used photopost installation information:
Users 31,902
Photos 13,935
Comments 106,323
Views 20,619,882
Disk Space 2,772.7mb
my.cnf (mySQL config file) contents:
Code:
Content visible to verified customers only.
Further mySQL information from tuning-primer.sh (
Sundry MySQL Scripts and Docs )
Code:
Content visible to verified customers only.