Details
Description
We're running a mailing to 41k recipients.
While the mailing is still running, the url http://hostname/civicrm/mailing/report takes
about 2 minutes to generate the report. If I enable SQL logging, I see thousands of
queries "SELECT COUNT(...) FROM ...(5 tables joined together)...".
Moreover, the mailing proceeds extremely slowly and requires more than 1.5GB of memory
(the memory limit in php.ini needs to be raised to 512MB).
The host is running Ubuntu Lucid with all updates. I tried enabling memcached and APC and dump/restore the mysql database, but the situation did not improve.