Bluehost.com have twice suspended my hosting of a wordpress site because of slow mysql queries that look like they're being caused by the podpress stats function.
Here is an example from the query log:
# Wed Jun 22 00:01:04 2011
# Query_time: 1.187042 Lock_time: 0.000108 Rows_sent: 3 Rows_examined: 541514
use jackthur_wrdp2;
SELECT method, COUNT(DISTINCT id) as downloads FROM wp_podpress_stats WHERE postID='196' AND media='bikeshow_20080630.mp3' GROUP BY method ORDER BY method ASC# Wed Jun 22 00:04:59 2011
# Query_time: 1.192960 Lock_time: 0.000115 Rows_sent: 3 Rows_examined: 546121
use jackthur_wrdp2;
SELECT method, COUNT(DISTINCT id) as downloads FROM wp_podpress_stats WHERE postID='1081' AND media='bikeshow_20100607.mp3' GROUP BY method ORDER BY method ASC# Wed Jun 22 00:05:04 2011
# Query_time: 1.298816 Lock_time: 0.000098 Rows_sent: 3 Rows_examined: 546033
use jackthur_wrdp2;
SELECT method, COUNT(DISTINCT id) as downloads FROM wp_podpress_stats WHERE postID='1004' AND media='bikeshow_20100118.mp3' GROUP BY method ORDER BY method ASC
Any ideas on what is going wrong here and how I can prevent it once I've got my account unsuspended?
I'm using Podpress ver 8.8.10.7 and WordPress ver 2.8.4
thanks!