[wp-trac] [WordPress Trac] #12557: get_boundary_post() causes slow SQL_CALC_FOUND_ROWS query.

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 10 17:46:30 UTC 2010


#12557: get_boundary_post() causes slow SQL_CALC_FOUND_ROWS query.
--------------------------+-------------------------------------------------
 Reporter:  ryan          |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0  
Component:  Performance   |     Version:  2.9.2
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------

Comment(by ryan):

 nopaging turns off limits entirely. WP_Query::get_posts() needs some
 rework to allow limiting the number of posts without turning on found
 rows.

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


More information about the wp-trac mailing list