[wp-trac] [WordPress Trac] #13085: Twenty Ten makes too many queries for index pages

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 24 13:19:13 UTC 2010


#13085: Twenty Ten makes too many queries for index pages
--------------------------+-------------------------------------------------
 Reporter:  demetris      |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Performance   |     Version:  3.0
 Severity:  major         |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by dd32):

 I can top you with 62 queries for my front page.

 Most of the queries are related to Taxonomy data loading. What we'd
 benefit from here is a mass-loading query, something which loads all the
 taxonomy data for a set of post_id's into the memory cache with a single
 query.

 I think there are some functions which are also skipping potential cached
 data, as i'm seeing a few queries repeated (some by function1, which calls
 function2, which then makes the same query)

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


More information about the wp-trac mailing list