WP_Options table size
-
Hi,
I noticed that my database was big and when i checked it, I saw that wp_options table was 4.1 GB large, first i tried to delete all transit records from table but the table size didn’t change.
After checking which records are filling up the table I found that this records are consumin most of my space wp_example_process_batch. I was not able to find out which plugin or functions creates this, and my main question is: Can this be safely deleted from the table ?
I found which records use the most space with following command:
SELECT 'autoloaded data in KiB' as name, ROUND(SUM(LENGTH(option_value))/ 1024) as value FROM beloved_options WHERE autoload='no' UNION SELECT 'autoloaded data count', count(*) FROM beloved_options WHERE autoload='no' UNION (SELECT option_name, length(option_value) FROM beloved_options WHERE autoload='no' ORDER BY length(option_value) DESC LIMIT 10)
Thank you.
Br, Alja?.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP_Options table size’ is closed to new replies.