Changes between Initial Version and Version 1 of Ticket #54221, comment 59
- Timestamp:
- 12/09/2024 08:56:06 AM (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54221, comment 59
initial v1 6 6 7 7 N.B. Anyone finding this page to resolve either issue, the SQL query in the top post needs to change from: 8 9 {{{ 8 10 SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes' 11 }}} 12 9 13 to: 14 15 {{{ 10 16 SELECT option_name, option_value FROM wp_options WHERE autoload IN ( 'yes', 'on', 'auto-on', 'auto') 17 }}} 18 11 19 12 20 You can also use the following which will list the size of each autoloaded option: 21 22 {{{ 13 23 SELECT option_id, option_name, autoload, ROUND(LENGTH(option_value)/1024,2) AS Size_in_KB 14 24 FROM wp_options 15 25 WHERE autoload IN ('yes', 'on', 'auto-on', 'auto') 16 26 ORDER BY Size_in_KB DESC; 27 }}} 28 29 ''[Edit: added code block tags on SQL code examples to aid readability]''