[wp-trac] [WordPress Trac] #16706: Queries using "category__and" are slow on large databases
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 1 02:22:45 UTC 2011
#16706: Queries using "category__and" are slow on large databases
-------------------------+-----------------------------
Reporter: tigertech | Owner: scribu
Type: enhancement | Status: reviewing
Priority: normal | Milestone: Future Release
Component: Performance | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+-----------------------------
Comment (by scribu):
[attachment:16706.diff] performs the transformation only if there are less
than 10 terms involved per query, but I haven't done any testing to see at
which point the number of JOINs causes worse performance than the GROUP BY
method.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16706#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list