[buddypress-trac] [BuddyPress Trac] #5629: Slow queries with BP_Activity_Activity::get()

buddypress-trac noreply at wordpress.org
Fri May 9 14:37:59 UTC 2014


#5629: Slow queries with BP_Activity_Activity::get()
-------------------------+------------------------------------
 Reporter:  Clean-Cole   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:  2.0
 Severity:  normal       |   Keywords:  has-patch dev-feedback
-------------------------+------------------------------------
 BP_Activity_Activity::get() uses a count query on line 443 that can be
 avoided when the {{{max}}} argument is not supplied.  The {{{COUNT}}}
 query slows down larger BP installs.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5629>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list