Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Changing MySQL minimum version
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 50 of 61 - Collapse all  -  Translate all to Translated (View all originals) < Older  Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Doug Stewart  
View profile  
 More options Nov 30 2006, 1:40 pm
From: "Doug Stewart" <zamo...@gmail.com>
Date: Thu, 30 Nov 2006 13:40:27 -0500
Local: Thurs, Nov 30 2006 1:40 pm
Subject: Re: [wp-hackers] Re: Changing MySQL minimum version
On 11/30/06, Computer Guru <computerg...@neosmart.net> wrote:

Amen to all of that.  Take, for instance, Flopping Ace's recent
disparaging of WordPress due to the fact that his WP site was taken
down by traffic generated by the bogus "6 burned Sunnis" story:
http://floppingaces2.blogspot.com/2006/11/msm-patting-themselves-on-b...

He used to have a fairly attractive and heavily-trafficked WP site but
when push came to shove, WP couldn't handle the load.  MT's static
publishing might be a pain in the butt and have its own downsides, but
MT-run sites run circles around WP sites when it comes to a digging,
/.'ing, Penny Arcade "wanging" or an Instalanche.  I can't tell you
how many frickin' times I've seen that WP "Error reaching the
database" error screen on blog posts carelessly dugg.  I loathe
Diggmirror, but such circumstances seemingly leave regular readers
with  no choice.

So a hearty +1DAM, +20 to hit on doing whatever we have to do to make
the mysql portion of WP work better.

--
-Doug

http://literalbarrage.org/blog/
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Improving WordPress' Performance WAS Changing MySQL minimum version" by Computer Guru
Computer Guru  
View profile  
 More options Nov 30 2006, 1:59 pm
From: Computer Guru <computerg...@neosmart.net>
Date: Thu, 30 Nov 2006 20:59:59 +0200
Local: Thurs, Nov 30 2006 1:59 pm
Subject: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version
Besides the DB, the entire frontend is also just as inefficient. Take a look
at http://lightpress.org/

I've launched several clients with LightPress, because I was custom-coding
their entire site anyway. But for the average user, that's just not an
option.

LightPress is a total revamp of the theming system and the GUI. It's
installed as a plugin on top of WP, and is _NOT_ a fork of WP.
Unfortunately, development there is (understandably) slow.

My point in all this isn't that WP sucks or that you should use Lightpress
along with it, but rather that from the very bottom (the database) to the
very top (the frontend), WP is inefficient. Very inefficient.

With WP 1.5 that wasn't a problem. *THEN* it was "just a blogging platform,"
but now, WP is much, much more. The sad thing is, WP is getting too large to
rewrite. Because a rewrite is the only thing that can fix it. And a rewrite
at this point would kill compatibility.

Ideally, we'd say 'screw compatibility,' release 2.1, take a 6-8 month break
from coding new features and in this time re-create the database taking
advantage of all MySQL-specific optimizations, bump up the MySQL minimum
version and take advantage of all the new performance features offered, and
then re-implement LightPress as a part of the core. The actual WP code is
marvelously well-written, clear, and fairly concise compared to other
projects of its size - only the frontend needs to be redone per the
LightPress specifications.

But that's not going to happen. I don't see why not, Firefox was rewritten
from scratch several times (not that it helped, Fx's code is absolutely
ghastly and leaks memory more than Hoover Dam has water) - and that was a
MUCH bigger project than WP.
The only thing is, Firefox was rewritten to improve the quality of the code,
and not the performance. i.e. the rewritten Firefox was kept 100% backwards
compatible during the rewrite. However, for WP, that would require the
breaking of quite a few plugins just to make it even slightly faster.

No matter how you look at it, WP is horribly inefficient and now it's
definitely big enough that this warrants a second look. We need to do
something, the only question is, what?

As far as the DB goes, I feel we can (if we wanted to) rewrite it without
breaking compatibility, since we just have to keep the functions the same.
Officially, WP doesn't support plugins or themes that grab info from the
database themselves - that's what the hooks are for, so we don't have to
worry about breaking those kind of things.

But no DB-rewrite is complete without rewritten functions (the LightPress
bit), and that's a bit of a conundrum. After all, WP's biggest advantage is
the millions of plugins and themes and the huge community that builds them -
not something to be taken lightly or trifled with in this manner.

.... I hate endings like this.. Please, someone, think of something!

Computer Guru
NeoSmart Technologies
http://neosmart.net/blog/

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Austin Matzko  
View profile  
 More options Nov 30 2006, 2:07 pm
From: "Austin Matzko" <if.webs...@gmail.com>
Date: Thu, 30 Nov 2006 14:07:03 -0500
Local: Thurs, Nov 30 2006 2:07 pm
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version
On 11/30/06, Computer Guru <computerg...@neosmart.net> wrote:

> No matter how you look at it, WP is horribly inefficient and now it's
> definitely big enough that this warrants a second look. We need to do
> something, the only question is, what?

I'm not saying you're wrong, but could you quantify this inefficiency?
 In other words, how are you measuring it especially in comparison
with other platforms?
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Computer Guru  
View profile  
 More options Nov 30 2006, 2:18 pm
From: Computer Guru <computerg...@neosmart.net>
Date: Thu, 30 Nov 2006 21:18:47 +0200
Local: Thurs, Nov 30 2006 2:18 pm
Subject: RE: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version

> On 11/30/06, Computer Guru <computerg...@neosmart.net> wrote:
> > No matter how you look at it, WP is horribly inefficient and now it's
> > definitely big enough that this warrants a second look. We need to do
> > something, the only question is, what?

> I'm not saying you're wrong, but could you quantify this inefficiency?
>  In other words, how are you measuring it especially in comparison
> with other platforms?

No problem.
My site has a blog (WordPress), a gallery (Gallery2), and a forum (hacked
MyTopix).
Each has been dugg and slashdotted several times. It used to be that
Gallery2 was the weak point, it would kill my server the minute it made even
OSNews, never mind Slashdot. The Menalto Gallery2 team worked really hard
and fixed that up.

The forums were simultaneously dugg and slashdotted - they upheld
wonderfully, and the server only slowed down a bit.

The blog - once it gets a whiff of Slashdot or Digg without WP-Cache
installed (I *STILL* can't get it working on IIS and the author isn't really
helpful) my server collapses.
I have eAccelerator installed, I gzip content, and I have IIS tuned to the
hilt (much faster than Apache :P)

Flash Back a couple of months

WP + WP-Cache goes down much faster than the forums - no eAccelerator.

Gallery2 has some kind of very inefficient caching taking place, the forums
have no caching, and WP used to have WP-Cache.

The gallery & forums make a ton of more (and more complex) queries to the
database - and forums are especially heinous because of how often the
content changes. Yet something like WP gives me hell. And I'm not alone.

I removed all my plugins and installed LightPress for 24 hours - the effect
was instantaneous bliss. Still no caching, but all of a sudden not only did
my server not die on me every 5 minutes, but pages also loaded fast and
snappily.

....

Computer Guru
NeoSmart Technologies
http://neosmart.net/blog/

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Doug Stewart  
View profile  
 More options Nov 30 2006, 2:22 pm
From: "Doug Stewart" <zamo...@gmail.com>
Date: Thu, 30 Nov 2006 14:22:27 -0500
Local: Thurs, Nov 30 2006 2:22 pm
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version
On 11/30/06, Austin Matzko <if.webs...@gmail.com> wrote:

> On 11/30/06, Computer Guru <computerg...@neosmart.net> wrote:
> > No matter how you look at it, WP is horribly inefficient and now it's
> > definitely big enough that this warrants a second look. We need to do
> > something, the only question is, what?

> I'm not saying you're wrong, but could you quantify this inefficiency?
>  In other words, how are you measuring it especially in comparison
> with other platforms?

WordPress performance under load vs. Movable Type (static publishing)
performance under load.  MT whips WP, but it's actually kind of a
"cheat" - the entries themselves are statically generated and stored.
Any dynamic elements (comments, plug-ins, etc.) are then generated
on-the-fly.

As I stated above, a good metric is the consummate *thrashing*
out-of-the-box WP sites take when dugg/slashdotted/etc.

--
-Doug

http://literalbarrage.org/blog/
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Komra Moriko  
View profile  
 More options Nov 30 2006, 2:55 pm
From: Komra Moriko <ko...@design4results.com>
Date: Thu, 30 Nov 2006 14:55:40 -0500
Local: Thurs, Nov 30 2006 2:55 pm
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version
My 2c. I have been seriously in the throes of the MT/WP performance  
issues for months now. Neither platform really has it nailed. In MT  
if you go to static publishing, which is faster for the end user, the  
editorial experience is impossibly slow. I finally found and used an  
undocumented page caching scheme (built into MT!) to help the overall  
scene. Nevertheless, we have bitten the bullet and moved to WP.

On WP, out of the box there are some expensive queries that are  
significantly remedied simply by adding indexes to certain tables. We  
run one installation under eAccelerator, and one under  
phpAccelerator. And after the database optimization, I still plan to  
install a hard page caching scheme, since the queries for paged  
category archives are the only slow queries that remain. (FWIW, WP-
Cache does not behave well in either install.)

Komra Moriko
http://www.design4results.com

On Nov 30, 2006, at 2:22 PM, Doug Stewart wrote:

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boren  
View profile  
 More options Nov 30 2006, 2:58 pm
From: Ryan Boren <r...@boren.nu>
Date: Thu, 30 Nov 2006 11:58:42 -0800
Local: Thurs, Nov 30 2006 2:58 pm
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version

Computer Guru wrote:
> I removed all my plugins and installed LightPress for 24 hours - the effect
> was instantaneous bliss. Still no caching, but all of a sudden not only did
> my server not die on me every 5 minutes, but pages also loaded fast and
> snappily.

Well we need to determine what makes lightpress so much faster.  Is it
the queries, the templates, the cache?  Is it bypassing expensive
filters such as texturize and autop?  It's actually quite a bit of extra
code, so what is speeding it up?  A little thing I see in lightpress
that I would like for WP is plugin contexts.

Maybe someone using lightpress could dump their queries and query times
for comparison.

Ryan
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boren  
View profile  
 More options Nov 30 2006, 3:02 pm
From: Ryan Boren <r...@boren.nu>
Date: Thu, 30 Nov 2006 12:02:30 -0800
Local: Thurs, Nov 30 2006 3:02 pm
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version

Komra Moriko wrote:
> On WP, out of the box there are some expensive queries that are
> significantly remedied simply by adding indexes to certain tables. We
> run one installation under eAccelerator, and one under phpAccelerator.
> And after the database optimization, I still plan to install a hard page
> caching scheme, since the queries for paged category archives are the
> only slow queries that remain. (FWIW, WP-Cache does not behave well in
> either install.)

What indexes did you add?  We added a few more in 2.1, but if there are
still more we should add do let us know.

Also, are we talking about 2.0.x or 2.1 here?  We've done some query
optimization in 2.1, but we could use still more.

Ryan
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Komra Moriko  
View profile  
 More options Nov 30 2006, 3:23 pm
From: Komra Moriko <ko...@design4results.com>
Date: Thu, 30 Nov 2006 15:23:40 -0500
Local: Thurs, Nov 30 2006 3:23 pm
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version

Hi Ryan,

Using 2.04 (2.1 not ready yet, right?)

These are the ones I added, made a huge difference in performance --  
we have 17000 posts and fairly heavy traffic.
I checked my slow query log, and used EXPLAIN to examine what was  
going on and added indexes for columns referenced in where statements:

CREATE INDEX cat_name ON wp_categories (cat_name);
CREATE INDEX post_date ON wp_posts (post_date);
CREATE INDEX post_date_gmt ON wp_posts (post_date_gmt);
CREATE INDEX post_status ON wp_posts (post_status);

Additionally, I have hacked the WP admin interface to make it more  
usable, adding more metadata to to the list of posts, and adding a  
browse category drop down and a separate Drafts page. Don't know if  
these can be incorporated into the new version, or if other UI  
optimizations are already taking place...

Komra Moriko
http://www.design4results.com

Voice: 617.923.1685
Cell:  857.636.0865
eFax:  866.398.9875

On Nov 30, 2006, at 3:02 PM, Ryan Boren wrote:

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Changing MySQL minimum version" by David Chait
David Chait  
View profile  
 More options Nov 30 2006, 3:13 pm
From: "David Chait" <daveby...@comcast.net>
Date: Thu, 30 Nov 2006 15:13:07 -0500
Local: Thurs, Nov 30 2006 3:13 pm
Subject: Re: [wp-hackers] Re: Changing MySQL minimum version
That said, let's not loose sight that maybe something like
wp-cache/Staticize needs to be adopted into the core (even if it's as a
plugin still).  Nothing beats the performance of fully-static HTML, but
mostly-static php can get close. ;)

Maybe that should branch off into another thread... ;)

-d

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Trevor Turk  
View profile  
 More options Nov 30 2006, 4:31 pm
From: "Trevor Turk" <trevort...@yahoo.com>
Date: Thu, 30 Nov 2006 15:31:53 -0600
Local: Thurs, Nov 30 2006 4:31 pm
Subject: Re: Re: [wp-hackers] Re: Changing MySQL minimum version
On 11/29/06, Matt Mullenweg <m...@mullenweg.com> wrote:

> Sub-queries are pretty rough in 4.1, they're really not fast until
> 5.0/5.1. It's just blog software, we don't really need anything that fancy.

Trying to get back to the point (this thread isn't about Wordpress
being slow, or about moving up to PHP 5) I'm wondering what this
comment from Matt means.

It sounds like the support for 4.1 isn't really that much different
from 4.0, but I still like the idea of having sub-query support, and
I'm listening for any reasons as to why choosing 4.0 would be any
better. If it's a simple "the lower the version number the better"
kind of answer, that's cool.

I agree with Viper007bond, though - isn't having a slower than ideal
implementation of sub-queries better than none?

Is there a compelling reason to choose 4.0 over 4.1?
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Layman  
View profile  
 More options Nov 30 2006, 5:41 pm
From: "Brian Layman" <Br...@TheCodeCave.com>
Date: Thu, 30 Nov 2006 17:41:53 -0500
Local: Thurs, Nov 30 2006 5:41 pm
Subject: RE: Re: [wp-hackers] Re: Changing MySQL minimum version
> I agree with Viper007bond, though - isn't having a slower than ideal
> implementation of sub-queries better than none?

It depends upon how many sites you eliminate from the user base because the
generic/popular hosts have only updated to the last release of 4.0.  A worst
case scenario would be that WP releases a version that requires 4.1 and
quarter to half of the blogs out there attempt an upgrade that fails, all
because one routine in a key area is the only routine in the entire core
that uses sub-queries.

I haven't joined this conversation to any degree, because it seems that we
are arguing from a vacuum.  How can anyone answer whether or not it is safe
to upgrade until someone provides proof that a roll out of 4.1 based WP is
feasible.  Nobody has asking questions like "Who are the top 20 must popular
webhosts and what version of MySQL are they running?".  If everyone else has
upgraded and 1and1.com is the exception, then perhaps it should be
considered even if 1and1 is as big as they say they are.  I doubt 1and1 is
the sole exception.

> Is there a compelling reason to choose 4.0 over 4.1?

Not, in my mind, for WP 2.1.  Even if a sub-query allows some whiz bang
feature that could be thrown in at the last minute, the cost of all of the
sites that cannot upgrade, I suspect, would be too great.  And it's getting
pretty late in the game to start rewriting stuff to wrap it in "if version <
4.1" statements.

If a move is gonna be made, I think it should the decision should be made
before the design takes place.  Or, at least, before the majority of the
coding for the release takes place.  There certainly are a lot of things
that subqueries allow.  The best way to take advantage of that is to design
any new features around having that ability.  That is so much better than
retrofitting.

Anyway, that's my 2 cents...

_______________________________________________
Brian Layman
www.TheCodeCave.com

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Austin Matzko  
View profile  
 More options Nov 30 2006, 6:47 pm
From: "Austin Matzko" <if.webs...@gmail.com>
Date: Thu, 30 Nov 2006 18:47:01 -0500
Local: Thurs, Nov 30 2006 6:47 pm
Subject: Re: Re: [wp-hackers] Re: Changing MySQL minimum version
On 11/30/06, Brian Layman <Br...@thecodecave.com> wrote:

> I haven't joined this conversation to any degree, because it seems that we
> are arguing from a vacuum.  How can anyone answer whether or not it is safe
> to upgrade until someone provides proof that a roll out of 4.1 based WP is
> feasible.  Nobody has asking questions like "Who are the top 20 must popular
> webhosts and what version of MySQL are they running?".  If everyone else has
> upgraded and 1and1.com is the exception, then perhaps it should be
> considered even if 1and1 is as big as they say they are.  I doubt 1and1 is
> the sole exception.

I don't know how to determine the most popular hosts, but
Wordpress.org recommends [1] the following hosts, which according to
their sites use the listed version of MySQL:

- Bluehost: 4.1
- AN Hosting: [can't find]
- Yahoo: 4.1.12
- Dreamhost: 5.0
- Laughing Squid: 4.1.2

By the way, I have a number of sites on a budget host that still uses
3.23, so we're going to cause a disruption to some people anyways.

> > Is there a compelling reason to choose 4.0 over 4.1?
> Not, in my mind, for WP 2.1.  Even if a sub-query allows some whiz bang
> feature that could be thrown in at the last minute, the cost of all of the
> sites that cannot upgrade, I suspect, would be too great.  And it's getting
> pretty late in the game to start rewriting stuff to wrap it in "if version <
> 4.1" statements.

Aren't there advantages to announcing the minimum version *before*
including features that require it?  It would give people time to make
the db change before errors start appearing.

[1] http://wordpress.org/hosting/
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Improving WordPress' Performance WAS Changing MySQL minimum version" by John Joseph Bachir
John Joseph Bachir  
View profile  
 More options Nov 30 2006, 6:28 pm
From: John Joseph Bachir <j...@ibiblio.org>
Date: Thu, 30 Nov 2006 18:28:15 -0500 (EST)
Local: Thurs, Nov 30 2006 6:28 pm
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version

On Thu, 30 Nov 2006, Komra Moriko wrote:
> CREATE INDEX cat_name ON wp_categories (cat_name);
> CREATE INDEX post_date ON wp_posts (post_date);
> CREATE INDEX post_date_gmt ON wp_posts (post_date_gmt);
> CREATE INDEX post_status ON wp_posts (post_status);

Could take another look at this one as well, although i see it was
recently bumped to 2.2. But it has the potential for making a significant
difference in some cases.

   http://trac.wordpress.org/ticket/2699

John
----
aim/yim/msn/jabber.org: johnjosephbachir
713.494.2704
irc://irc.freenode.net/lyceum
http://lyceum.ibiblio.org/
http://blog.johnjosephbachir.org/
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boren  
View profile  
 More options Nov 30 2006, 7:40 pm
From: Ryan Boren <r...@boren.nu>
Date: Thu, 30 Nov 2006 16:40:39 -0800
Local: Thurs, Nov 30 2006 7:40 pm
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version

John Joseph Bachir wrote:

> On Thu, 30 Nov 2006, Komra Moriko wrote:

>> CREATE INDEX cat_name ON wp_categories (cat_name);
>> CREATE INDEX post_date ON wp_posts (post_date);
>> CREATE INDEX post_date_gmt ON wp_posts (post_date_gmt);
>> CREATE INDEX post_status ON wp_posts (post_status);

> Could take another look at this one as well, although i see it was
> recently bumped to 2.2. But it has the potential for making a
> significant difference in some cases.

>   http://trac.wordpress.org/ticket/2699

The get/set option API enforces unique option names, I believe, but I've
seen some databases that had duplicate keys nonetheless.  What happens
when we make the key unique but have dupe names in the DB?

Ryan
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Boren  
View profile  
 More options Nov 30 2006, 8:15 pm
From: Ryan Boren <r...@boren.nu>
Date: Thu, 30 Nov 2006 17:15:55 -0800
Local: Thurs, Nov 30 2006 8:15 pm
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version

Komra Moriko wrote:
> Hi Ryan,

> Using 2.04 (2.1 not ready yet, right?)

> These are the ones I added, made a huge difference in performance -- we
> have 17000 posts and fairly heavy traffic.
> I checked my slow query log, and used EXPLAIN to examine what was going
> on and added indexes for columns referenced in where statements:

> CREATE INDEX cat_name ON wp_categories (cat_name);
> CREATE INDEX post_date ON wp_posts (post_date);
> CREATE INDEX post_date_gmt ON wp_posts (post_date_gmt);
> CREATE INDEX post_status ON wp_posts (post_status);

2.1 adds the following:

   KEY type_status_date (post_type,post_status,post_date,ID)

I don't know if we need post_date_gmt.  We need to audit our queries to
see.  I thought we used post_date when we needed to key.

As for cat_name, we only key off of that when retrieving all links or
posts for a specific category specified by name.  Most templates don't
do that.  I guess we can add a cat_name key for those few themes  that
do query by cat_name.

> Additionally, I have hacked the WP admin interface to make it more
> usable, adding more metadata to to the list of posts, and adding a
> browse category drop down and a separate Drafts page. Don't know if
> these can be incorporated into the new version, or if other UI
> optimizations are already taking place...

2.1 allows browsing by category on the Manage->Posts screen.  There is
talk of providing separate pages for drafts and private posts.  That
probably won't make 2.1 though.

Ryan

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Changing MySQL minimum version" by Brian Layman
Brian Layman  
View profile  
 More options Nov 30 2006, 9:08 pm
From: "Brian Layman" <Br...@TheCodeCave.com>
Date: Thu, 30 Nov 2006 21:08:04 -0500
Local: Thurs, Nov 30 2006 9:08 pm
Subject: RE: Re: [wp-hackers] Re: Changing MySQL minimum version
> Announcing now, fits nicely with my argument to wait till version 2.2

for the new version requirement.

I should elaborate and say that it fits nicely because we can publicize
that "2.1 will be the last version with MySQL 3.23 (or 4.0 whatever)
support.  Now is the time to upgrade to version 4.1 (or perhaps, even
better, 5.0)."

-----Original Message-----
From: Brian Layman [mailto:Br...@TheCodeCave.com]
Sent: Thursday, November 30, 2006 8:42 PM
To: 'wp-hack...@lists.automattic.com'
Subject: RE: Re: [wp-hackers] Re: Changing MySQL minimum version

> Aren't there advantages to announcing the minimum version *before*
> including features that require it?
> It would give people time to make the db change before errors start

appearing.

Sure, but you don't announce it and cause people extra work when it is
not needed.  Annoucing now fits nicely with my argument to wait till
version 2.2 for the new version requirement.

I've got a list of the top 100 webhosts according to google page rank.
It's not a perfect list, but it has the all of the big boys I expected
to see, everything form DreamHost to 50megs.  That include all the ones
you found on the site (Good job BTW).  

If no one objects, for those that don't list it, I'll put out inquiries
to their sales staff.  I'll ask what MySQL version they provide with
their most basic package that includes MySQL databases.  This is very
optomistic for a survey, but just maybe we can get 20-30 responses back
in a reasonable amount of time.

Any objections?

______________________________________________
Brian Layman
http://www.TheCodeCave.com

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Layman  
View profile  
 More options Nov 30 2006, 10:16 pm
From: "Brian Layman" <Br...@TheCodeCave.com>
Date: Thu, 30 Nov 2006 22:16:32 -0500
Local: Thurs, Nov 30 2006 10:16 pm
Subject: [wp-hackers] Re: Changing MySQL minimum version
>From the lowest 25, I've gotten the following definate results so far...

www.ipowerweb.com   4.0
webhosting.yahoo.com    4.1.12
www.bluehost.com     4.1
smallbusiness.yahoo.com 4.1.12
www.angelfire.com   NONE
www.networksolutions.com     3.23
www.netfirms.com     5.0
www.fortunecity.com       5.0
www.dreamhost.com   5.0
www.pair.com     4.1.12
www.fasthosts.co.uk       5 (implied - they mention transactions)
www.mediatemple.net       4.1
www.textdrive.com   4.1
www.verio.com   3.23.43 suspected Email sent.
www.spry.com     3.23.58 (fedora core) and  4.1.12 (all others)
www.lypha.com   5
www.ibuilt.net NONE
www.laughingsquid.net   4.1.2

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kaf Oseo  
View profile  
 More options Nov 30 2006, 10:22 pm
From: Kaf Oseo <k...@szub.net>
Date: Thu, 30 Nov 2006 22:22:05 -0500
Local: Thurs, Nov 30 2006 10:22 pm
Subject: Re: [wp-hackers] Re: Changing MySQL minimum version

Brian Layman wrote:
>>From the lowest 25, I've gotten the following definate results so far...

You can add:

ICDSoft.com  4.0.27 / 5.0.27

-Kaf
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Layman  
View profile  
 More options Nov 30 2006, 8:41 pm
From: "Brian Layman" <Br...@TheCodeCave.com>
Date: Thu, 30 Nov 2006 20:41:47 -0500
Local: Thurs, Nov 30 2006 8:41 pm
Subject: RE: Re: [wp-hackers] Re: Changing MySQL minimum version
> Aren't there advantages to announcing the minimum version *before*

including features that require it?  
> It would give people time to make the db change before errors start

appearing.

Sure, but you don't announce it and cause people extra work when it is
not needed.  Annoucing now fits nicely with my argument to wait till
version 2.2 for the new version requirement.

I've got a list of the top 100 webhosts according to google page rank.
It's not a perfect list, but it has the all of the big boys I expected
to see, everything form DreamHost to 50megs.  That include all the ones
you found on the site (Good job BTW).  

If no one objects, for those that don't list it, I'll put out inquiries
to their sales staff.  I'll ask what MySQL version they provide with
their most basic package that includes MySQL databases.  This is very
optomistic for a survey, but just maybe we can get 20-30 responses back
in a reasonable amount of time.

Any objections?

______________________________________________
Brian Layman
http://www.TheCodeCave.com

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Williams  
View profile  
 More options Nov 30 2006, 11:10 pm
From: Chris Williams <ch...@clwill.com>
Date: Thu, 30 Nov 2006 20:10:15 -0800
Local: Thurs, Nov 30 2006 11:10 pm
Subject: Re: [wp-hackers] Re: Changing MySQL minimum version
I can add 1and1.com 4.0.27

> Brian Layman wrote:
>>> From the lowest 25, I've gotten the following definate results so far...

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joefish  
View profile  
 More options Dec 1 2006, 12:26 am
From: Joefish <j...@feastofcrumbs.com>
Date: Thu, 30 Nov 2006 23:26:40 -0600
Local: Fri, Dec 1 2006 12:26 am
Subject: Re: [wp-hackers] Re: Changing MySQL minimum version
I'll add mine to the list:

totalchoicehosting.com

4.1.21 SQL
4.4.4 PHP

On 11/30/06, Chris Williams <ch...@clwill.com> wrote:

> I can add 1and1.com 4.0.27

> > Brian Layman wrote:
> >>> From the lowest 25, I've gotten the following definate results so far...

> _______________________________________________
> wp-hackers mailing list
> wp-hack...@lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael B  
View profile  
 More options Dec 1 2006, 12:47 am
From: "Michael B" <miklb.onl...@gmail.com>
Date: Fri, 1 Dec 2006 00:47:40 -0500
Local: Fri, Dec 1 2006 12:47 am
Subject: Re: [wp-hackers] Re: Changing MySQL minimum version
While everyone is adding to the list, I'll add another popular, recommended
host (at least within the support forums) A Small Orange

PHP 4.4.4
MySQL 4.1.21-standard

On 12/1/06, Joefish <j...@feastofcrumbs.com> wrote:

_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Improving WordPress' Performance WAS Changing MySQL minimum version" by Matt Mullenweg
Matt Mullenweg  
View profile  
 More options Dec 1 2006, 2:47 am
From: Matt Mullenweg <m...@mullenweg.com>
Date: Thu, 30 Nov 2006 23:47:07 -0800
Local: Fri, Dec 1 2006 2:47 am
Subject: Re: [wp-hackers] Improving WordPress' Performance WAS Changing MySQL minimum version

Komra Moriko wrote:
> CREATE INDEX cat_name ON wp_categories (cat_name);
> CREATE INDEX post_date ON wp_posts (post_date);
> CREATE INDEX post_date_gmt ON wp_posts (post_date_gmt);
> CREATE INDEX post_status ON wp_posts (post_status);

Just a note for those following along at home, MySQL can only use one
index for any given query. Even if an index exists, it will be ignored
by the optimizer if there is a more primary one available, or depending
on the table size it'll just do a scan. To keep it to the indicies you
need to do multi-field ones, like we added in 2.1.

--
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Changing MySQL minimum version" by Matt Mullenweg
Matt Mullenweg  
View profile  
 More options Dec 1 2006, 3:25 am
From: Matt Mullenweg <m...@mullenweg.com>
Date: Fri, 01 Dec 2006 00:25:38 -0800
Local: Fri, Dec 1 2006 3:25 am
Subject: Re: [wp-hackers] Re: Changing MySQL minimum version

Aaron Brazell wrote:
> Sure would help those big customers like the NYTimes, right? ;-)

The bigger the customer the more likely they're on old (read: stable)
versions of LAMP.

--
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com
_______________________________________________
wp-hackers mailing list
wp-hack...@lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 26 - 50 of 61 < Older  Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google