Movable Type 4.21: publication time comes to a standstill

| | No TrackBacks

I upgraded to 4.21 from 4.1 in the past day. I have tried to republish my weblog with a new style, but the republish times are horrific (1400 entries across 4 years):

That's 80 minutes without entries. For comparison, it used to take only 15 to 20 minutes to republish the entire site before.

I've looked at the phpmyadmin system variables for MySQL and they are consistent with large numbers of slow queries, probably caused by table scans due to missing indexes in searches:

  • Slow_queries has crept up from 526k to 574k slow queries.
  • Handler_read_rnd from 4641k to 5341k
  • Handler_read_rnd_next from 955M to 1116M
  • Select_full_join from 9373 to 10k

However, my weblog is hosted (on Windows under IIS6, no less) and I don't have access to any raw MySQL logs. I can't run MySQL from a command prompt. I have no way of telling which queries are causing the slow down. Also, I cannot upgrade the perl version.

Ideas for discovering the problem:

  • instrument the perl code to record SQL queries & time to execute
    ...except I don't know what perl code executes the SQL queries. Plus, the code goes directly to the DBI/DBD perl module to execute SQL. It would mean patching the code in a zillion places.
  • add indexes to MT tables in MySQL
    But indexes on which columns of which tables?
  • add foreign keys to MT tables in MySQL
    Again: where?

Anyone with an idea is welcome to leave a comment.

No TrackBacks

TrackBack URL: http://www.iwebthereforeiam.com/cgi-bin/mt/mt-tb.cgi/1285

Leave a comment

Verification (needed to reduce spam):

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.32-en

About this Entry

This page contains a single entry by Hugh Brown published on October 29, 2008 6:45 PM.

Fairfield / Westchester Code Camp was the previous entry in this blog.

Movable Type 4.21 publication slow is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.