[wp-trac] [WordPress Trac] #22074: Very Large Query that Crashes the whole My SQL and site

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 2 03:18:54 UTC 2012


#22074: Very Large Query that Crashes the whole My SQL and site
--------------------------+------------------------------
 Reporter:  adest         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Performance   |     Version:  3.4.1
 Severity:  critical      |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by nacin):

 We'd have to see the rest of the query, but, that looks like some custom
 code which calls get_pages() with a very lengthy 'exclude' parameter. We
 could optimize it a bit with an IN, but it's still probably going to be a
 long query.

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


More information about the wp-trac mailing list