[wp-trac] [WordPress Trac] #35096: Every option call results in a database query on multisite

WordPress Trac noreply at wordpress.org
Tue Dec 15 07:36:22 UTC 2015


#35096: Every option call results in a database query on multisite
--------------------------------+------------------------------
 Reporter:  buley               |       Owner:
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:  4.4
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by buley):

 The conditions are not obvious. As noted in the other ticket they are also
 hard to script because of the `WP_INSTALLING` flag. I believe it has to do
 with the size of options object growing beyond the limits of Object-Cache
 backends. When the set fails, there's no fallback to a memory cache. The
 default object size of e.g. memcached is 1M and its very common for
 plugins to accidentally add autoloading options
 (https://core.trac.wordpress.org/ticket/18244) so you could see the
 options table growing beyond this size in many situations on the large
 multisite installs affected by this bug.

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


More information about the wp-trac mailing list