QUOTE (danwolfgang @ Oct 30 2008, 10:53 AM)

QUOTE (hughdbrown @ Oct 30 2008, 09:12 AM)

I was changing from Minimalist Red to Cityscape NYC. I don't know whether that is just CSS or more extensive. I'm a bit of an amateur on that point.
That should only be changing the CSS file. So, actually, I don't think there's any reason you should need to rebuild the whole site. (Yes, I realize that doesn't solve the problem.)
QUOTE
What do you make of the evidence that the database is running queries with essentially no indexes used? I assume that all style templates use the database in the same way with the same queries, so a lack of joins on indexes would be the result of moving to a new version of MT, with the queries embedded in the Perl.
See
http://www.iwebthereforeiam.com/2008/10/mo...cation-t-1.html for a complete statement on this.
If there are no indexes on your DB, something is definitely wrong. There were some indexes with MT3, many more with MT4. Botched upgrade? Also, on that link you supplied, PHP isn't being executed to render a complete page.
Okay, changing the styling does not require a rebuild; it's done dynamically. Still, I've broken the page generations. I went through these steps to fix the page generation:
// Check that theme is set
1. Confirm contents of /styles.css
/* This is the StyleCatcher theme addition. Do not remove this block. */
@import url(/mt-static/themes-base/blog.css);
@import url(/mt-static/support/themes/minimalist-red/minimalist-red.css);
/* end StyleCatcher imports */
@import url(/mt-static/css/prettify.css);
2. Confirm that
http://iwebthereforeiam.com/mt-static/themes-base/blog.css is not 404.
3. Confirm that
http://iwebthereforeiam.com/mt-static/supp...imalist-red.css is not 404.
// Small test of page generation
1. Manage|Entries page
- select first 10 entries
- press Publish
2. View Site button
- result: no styling
- page starts without <html>, <head>, <body>, any css includes
// Page generation is broken. Roll back template caching options.
1. Design|Templates
- caching is on Header, Footer, Entry Detail, Page Detail, Categories, Sidebar - 2 Column Layout, Sidebar - 3 Column Layout (Process as PHP Include, Expire after 30 minutes)
- turn off PHP Include on all; Save
2. Manage|Entries page
- select first 10 entries
- press Publish
3. View Site button
- result: has styling
- page has <html>, <head>, <body>, css includes
// Page generation is fixed again. Try large scale regeneration.
Publish Site button
- Publish all files (start at 12:30 EST)
Your botched upgrade comment is mostly apt: I tried to turn on varieties of caching to speed up page regeneration without fully understanding the implications.
So, while full site regeneration continues for the next month, I'll comment on this:
QUOTE
If there are no indexes on your DB, something is definitely wrong. There were some indexes with MT3, many more with MT4.
It's not that there are no indexes on the DB; it's that the (some) queries do not appear to use the indexes. Judging by the MySQL variables, a large number of queries are table scans.