Forums

Disturbing Info re: Permalink Scalability? (4 posts)

  1. mantis108
    Member
    Posted 7 months ago #

    I found the following post on textdrive.com's forums and was hoping someone could confirm or deny this? Is it really an issue as the author below states, and if so, are there plans to remedy this in an upcoming WP update?

    Sean

    ---

    From http://comox.textdrive.com/pipermail/wp-testers/2009-January/011097.html

    Recently I discovered that the current way wordpress handles permalinks is
    not scalable. All rewrite_rules are at the moment held in a single database
    field in the wp_options table. If you have a few dozens pages and posts, you
    have maybe a few hundred rewrite_rules in it and all is well. But as soon as
    you start to have a few hundred pages and attachments, the amount of
    rewrite_rules explodes as well as the field size. This also depends on the
    permalinks settings. On one of my sites I can't even open the database field
    to take a look because my browser and text editor crash because of its
    size.
    At some point the rewrite_rules don't fit anymore and wordpress needs to run
    thousands of queries for each page load (because wp is rebuilding the rules
    each time but can't insert them in the db).

    See also trac 8958
    http://trac.wordpress.org/ticket/8958

    I was wondering:
    What are the ideas about how this issue can be solved? Are there plans to
    restructure the way permalinks and rewrite rules are kept in the database?
    Or on how to deal with uploads/attachments?

    Wouldn't it be better to put the rules in their own db table?

  2. samboll
    moderator
    Posted 7 months ago #

    yes - that is all true
    also, wordpress puts an id to every draft and save made during an edit/add post/page in the database
    you could have 20 actual articles and 180 post id's stored in the db

    These are supposed to be addressed in the very near future - no I don't know exactly when

  3. mantis108
    Member
    Posted 1 month ago #

    Has this been fixed in WP 2.8.4 or is this still planned for the future?

  4. samboll
    moderator
    Posted 1 month ago #

    this was addressed and 2.8.4 handles correctly

Reply

You must log in to post.

About this Topic