Huge amount of autoloaded data for massive multisite
-
Hey Sidekick team,
Recently a user with a giant multisite with 3000+ subsites found things were getting progressively slower. After some troubleshooting, we found that a large amount of autoloaded data was pointing to the Sidekick plugin:
mysql> SELECT LENGTH(option_value),option_name FROM wp_options WHERE autoload='yes' ORDER BY length(option_value) DESC LIMIT 20; 898658 sk_checked_blogs
The code related to sk_checked_blogs:
sidekick/libs/licensing.php 19: $checked_blogs = get_option('sk_checked_blogs'); 26: update_option('sk_checked_blogs', $checked_blogs); 73: update_option('sk_checked_blogs', $checked_blogs); 107: $checked_blogs = get_option('sk_checked_blogs'); 132: $checked_blogs = get_option('sk_checked_blogs'); 138: update_option('sk_checked_blogs', $checked_blogs); 328: $checked_blogs = get_option('sk_checked_blogs'); 374: update_option('sk_checked_blogs', $checked_blogs);
Is there any way to avoid autoloading ~900k of data? This is potentially creating a lot of overhead for larger multisites. Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Huge amount of autoloaded data for massive multisite’ is closed to new replies.