[wp-trac] [WordPress Trac] #18836: ORDER BY RAND() is slow

WordPress Trac noreply at wordpress.org
Tue Feb 25 15:50:41 UTC 2025


#18836: ORDER BY RAND() is slow
-------------------------------------------------+-------------------------
 Reporter:  scribu                               |       Owner:  pbearne
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.9
Component:  Query                                |     Version:
 Severity:  minor                                |  Resolution:
 Keywords:  needs-testing has-unit-tests has-    |     Focuses:
  patch                                          |  performance
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * milestone:  6.8 => 6.9


Comment:

 As per today's bug scrub: It's a bit late in the release cycle to
 introduce Query/DB changes, so I'm moving it to 6.9 with the `early`
 keyword.

 ''Please note that there is a WPCS issue in the current PR.
 ''

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/18836#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list