WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have build a custom theme for a client of mine, and I am using transients in order to make the site operating faster.

After a week, I have see in the wp_options a huge list of transients records (in about 360000 records). This makes me beleave that transients are not removed from the database.

How can I remove that records and how ? Is there any good tutorial ?

Kind regards

share|improve this question
"and I am using transients in order to make the site operating faster" Whaaa...? Please elaborate. – TheDeadMedic Jun 24 '13 at 9:16
Agreed, there's little chance that transients are actually making anything any faster for you, especially if you're using them in a way that adds 360k records inside a week. I think you need to re-evaluate whatever it is that you're doing from the start. – Otto Jun 24 '13 at 12:27
up vote 1 down vote accepted

Unfortunately, expired entries will only be deleted if you attempt to access the transient again. If you don't access the transient then, even though it's expired, WordPress will not remove it. This is a known "issue" and is due to be corrected at some point in the WordPress core code.

-Copied from: Artiss Transient Cleaner

Found this plugin, can help you:

Artiss Transient Cleaner

Additionally, can modify the time of the deletion using the process mentioned HERE

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.