After converting the database from windows-1251 UTF-8 began having problems with running a shell script "cleanup2.php", in particular with the task associated with the PM.
Sample:
use hus_new;
SET timestamp=1321698298;
SELECT pmtext.pmtextid
FROM pmtext AS pmtext
LEFT JOIN pm AS pm USING(pmtextid)
WHERE pm.pmid IS NULL
The script loads the CPU at 100% and after forum drop down. Helps only restart mysql.
Before converting a database, all worked fine on the same system (vps).
Greatly surprised by "Rows_examined: 831173861" - I have only 95.717 rows in the table "pmtext" and 155,342 in "pm"
Operation "Restore\Optimize the table," etc. I did, it did not help. Hooks disable\enable (also "define('DISABLE_HOOKS', true);") - no effect.
Everything else works fine.
Will any ideas?
Thank you very much for your attention
PS
I'm sorry, I forgot to specify:
vB Suite 4.1.7, DB MyISAM
Comment