Excessive DB size due to yith transients
-
I’m submitting this here as requested on https://www.ads-software.com/support/topic/excessive-db-size-due-to-yith-transients/
I’m using the following plugins
YITH Infinite Scrolling
YITH WooCommerce Ajax Product FilterI noticed our DB was getting very slow, upon checking I found the size to be almost 10GB. After investigating I see that YITH is producing significant transient data in wp_options table… I cleaned this once by removing all yith entries and it went down to 39MB, but a couple of days later it is back again…
here is some data on current DB
SELECT COUNT(*) FROM
wp_options
WHEREoption_name
LIKE “%yith%”;count 178,657
SELECT ‘totalsize’ as name, ROUND(SUM(LENGTH(option_value))) as value FROM wp_options where
option_name
like ‘%yith%’;name value
totalsize 3437217447In 5 days YITH Transients have built up to make wp_options table 24GB in size, so something is broken.
I removed them once again, and found that in 3 minutes it generated around 500 entries which have a 1 month expiry. Examples below:
Name Expiration
yith_wcan_object_in_terms_1672108182. 2023-01-26 13:29:46
4 weeks 1 dayyith_wcan_queried_products_1672108182. 2023-01-26 13:29:46
4 weeks 1 dayyith_wcan_object_in_terms_1672108181 2023-01-26 13:29:44
4 weeks 1 dayyith_wcan_queried_products_1672108181 2023-01-26 13:29:44
4 weeks 1 day
- The topic ‘Excessive DB size due to yith transients’ is closed to new replies.