Avatar of jm00rman
jm00rman
 asked on

ExpressinEngine MySQL slow query causes connection timeouts

Our ExpressionEngine content manangement site on RackSpace is timeing out on queries. The offending query appears to be :

 "SELECT  t.entry_id, t.channel_id, t.forum_topic_id, t.author_id, t.ip_address, t.title, t.url_title, t.status, t.dst_enabled, t.view_count_one, t.view_count_two,
t.view_count_three, t.view_count_four,"..., 8192) = 1351 <0.003584>
10:15:05 flock(5, LOCK_UN

To me this started as a gradual slowdown that came to a grinding halt. So my suspicion is either a space issue or balooning database records causing the timeouts. I am new to ExpressionEngine, but am comfortable troubleshooting MySQL. What kind of things should I look for to figure out what has slowed down the query? Help!
Web DevelopmentMySQL ServerContent Management

Avatar of undefined
Last Comment
Ray Paseur

8/22/2022 - Mon
Ray Paseur

EXPLAIN SELECT might help.  You might want to post the actual query string.  This fragment does not tell us very much.
ASKER CERTIFIED SOLUTION
Tomas Helgi Johannsson

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Ray Paseur

Why did you close this question with a marked-down grade?  We tried to give you the best answers we could, given the remarkably incomplete presentation of the question.  And we asked for more information, twice.  And you just ignored our requests!

I think an explanation is in order.  Thanks, ~Ray
Your help has saved me hundreds of hours of internet surfing.
fblack61