[wp-trac] [WordPress Trac] #37687: Multisite - Enormous number of update queries during site creation (user roles)

WordPress Trac noreply at wordpress.org
Sat Sep 17 14:21:23 UTC 2016


#37687: Multisite - Enormous number of update queries during site creation (user
roles)
--------------------------------+-------------------------------------
 Reporter:  fliespl             |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite, performance
--------------------------------+-------------------------------------
Changes (by ocean90):

 * focuses:  multisite => multisite, performance


Comment:

 I had `SAVEQUERIES` enabled while creating a new site and got a fatal
 error because the memory size was exhausted.

 This is the value of `$GLOBALS['wpdb']->queries` before the
 `wpmu_new_blog` action is fired:
 https://gist.github.com/ocean90/016029ea76ce70f574283e0b27910731#file-
 log-L156

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


More information about the wp-trac mailing list