Inventory Large Autoloaded WordPress Options Before Cleanup
Large autoloaded options can increase the work done while WordPress starts a request. Identify the biggest contributors and their owners before considering configuration changes or cleanup.
Capture names and byte sizes without values
On an approved staging copy, confirm the site and table prefix. Ask a developer to inspect the options returned by wp_load_alloptions or use a read-only database inventory based on the installed core version. Current core recognizes several autoload flag values. Filtering solely for autoload='yes' can miss eligible rows. Record names, sizes and totals without copying option values, which can contain configuration secrets.
Determine ownership
For each large option, look for the name in installed plugin or theme documentation and code. Prefixes are directional evidence. Confirm the read and write path, whether the option is used by a currently active feature and what regenerates it. Mark unknown owners as such and keep those entries out of remediation.
Define one safe change and baseline
Compare the total against one representative staging route and note whether a persistent object cache is active. Prefer the owner's supported setting or upgrade path. Rehearse one reversible adjustment with an isolated backup and UI acceptance checks. Confirm active features, scheduled jobs and admin screens still load after the change.
Expected result
The inventory records which large options have clear owners and which need investigation. Use the broad database-cleanup checklist only after the option-specific decision is documented.
Related guides
Official references
Ferkesh Hosting. Last reviewed .
感谢您的反馈!