Title: Experiencing database performance issues
Last modified: October 22, 2020

---

# Experiencing database performance issues

 *  Resolved [bekind](https://wordpress.org/support/users/pkverma99/)
 * (@pkverma99)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/experiencing-database-performance-issues/)
 * Dear Support – Thanks for providing this wonderful plugin. It seems to do its
   job really well. I overall like the solution but I am confused with one behavior
   that I am seeing on my website. We have some plugins that update usermeta by 
   calling “update_user_meta” method of wordpress.
 * I have noticed that many times when such a call is made, the database takes an
   inordinate amount of time (in 10s of seconds). I have worked with my hosting 
   provider (Kinsta in this case) and they dont see anything wrong with my usermeta
   table in terms of size. I was not experiencing this behavior prior to using redis
   cache. So it’s somehow related but I am not able to understand it. Here is a 
   screenshot that shows what I am seeing through New Relic ([https://prnt.sc/v4wckn](https://prnt.sc/v4wckn))
   and another screenshot of the trace to the DB call ([https://prnt.sc/v4wdqc](https://prnt.sc/v4wdqc)).
   The DB call took 14 seconds and also caused some other requests to slow down.
   This was the very first request though.
 * Kindly let me know if it would be a good idea to exlude user meta from cache.
   And if yes, some guidance on how that can be done would be helpful.
 * To share with you the page that the user was accessing is a simple blog post (
   [https://os.me/wealth/](https://os.me/wealth/))
 * Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [bekind](https://wordpress.org/support/users/pkverma99/)
 * (@pkverma99)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/experiencing-database-performance-issues/#post-13569974)
 * To provide some more context, what we experience is a cascading effect as more
   database requests start piling up. During that cascade, the website becomes very
   slow. In about 15 minutes, the cascade gets automatically resolved & things are
   back to normal.
 * What I have noticed is that cascade is usually triggered by update_user_meta 
   which somehow seems to throw object cache out of gear.
 * Hope that helps get appropriate context.
 * Regards
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/experiencing-database-performance-issues/#post-13570019)
 * Hi there!
 * This plugin is unrelated to your issue. If your database query is slow the Kinsta
   support can help you optimize your MySQL tables for better performance.
 *  Thread Starter [bekind](https://wordpress.org/support/users/pkverma99/)
 * (@pkverma99)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/experiencing-database-performance-issues/#post-13570052)
 * Thanks [@tillkruess](https://wordpress.org/support/users/tillkruess/). Any response
   on below query?
    =========== Kindly let me know if it would be a good idea to
   exlude user meta from cache. And if yes, some guidance on how that can be done
   would be helpful. =========
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/experiencing-database-performance-issues/#post-13570054)
 * You can ignore the user meta cache group 👍🏻
 * The question has been answered many times in the forums, give it a search.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Experiencing database performance issues’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/experiencing-database-performance-issues/#post-13570054)
 * Status: resolved