[wp-trac] [WordPress Trac] #16706: Queries using "category__and" are slow on large databases

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 13 21:11:25 UTC 2011


#16706: Queries using "category__and" are slow on large databases
---------------------------------+-----------------------------
 Reporter:  tigertech            |       Owner:  scribu
     Type:  defect (bug)         |      Status:  accepted
 Priority:  normal               |   Milestone:  Future Release
Component:  Performance          |     Version:  3.1
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.3-early  |
---------------------------------+-----------------------------
Changes (by milez):

 * cc: milez (added)


Comment:

 Thanks for the quick reply but I have already applied the first 3 patches
 after reading through this thread closer. I actually tried the combined
 patch 16706.2.diff first but got an error.  Also tried it last but same
 error:

 $ patch -p0 < taxonomy-16706.2.diff patching file wp-includes/taxonomy.php
 Hunk #1 FAILED at 636.

 Did I apply the wrong patches?

 As far as performance goes a bit early to tell but I noticed *most* of my
 SQL_CALC_FOUND_ROWS queries to magically improve but not all.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16706#comment:43>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list