[wp-trac] [WordPress Trac] #14593: wp_load_core_site_options() query optimization

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 11 21:41:50 UTC 2010


#14593: wp_load_core_site_options() query optimization
--------------------------+-------------------------------------------------
 Reporter:  ellisgl       |       Owner:                             
     Type:  defect (bug)  |      Status:  new                        
 Priority:  normal        |   Milestone:  Awaiting Review            
Component:  Optimization  |     Version:  3.0.1                      
 Severity:  trivial       |    Keywords:  function,query,optimization
--------------------------+-------------------------------------------------

Comment(by ellisgl):

 Replying to [comment:2 ellisgl]:
 > ER
 > It's more of a minor annoyance for a small setup.
 >
 > Suggested fix: Use "FORCE INDEX(site_id)" to ensure an index is used.
 Of course if you have a lot of sites, then this could become an issue.

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


More information about the wp-trac mailing list