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

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 11 20:00:57 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
--------------------------+-------------------------------------------------
 wp_load_core_site_options() query doesn't use an index. This will trigger
 an entry in MySQL slow query log. It's more an

 Suggested fix: Use "FORCE INDEX(meta_key)" to ensure an index is used.

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


More information about the wp-trac mailing list