"Slow Query Blues: My Sh*tty MySQL Setup"

Laime

New member
Joined
May 12, 2016
Messages
4
Reaction score
0
"Hey all, need some help here. My MySQL setup's been giving me the slow query blues lately and I'm at my wit's end. I've got a decent spec server, but my queries are taking forever to execute and I'm starting to worry it's not just a resource issue, so anyone have some experience or advice on optimizing MySQL?"
 

alex0525

New member
Joined
Mar 9, 2007
Messages
4
Reaction score
0
"Lol, I feel ya! Had the same issue with my MySQL setup back in the day, turned out it was just a simple config tweak I needed. Anyone else using a cloud-hosted MySQL and seeing similar slow query times?"
 

bnpysse

New member
Joined
Mar 19, 2009
Messages
2
Reaction score
0
"Hey OP, what's your current server specs and storage setup looking like? I've seen some issues like this on cheaper VPS plans with slow storage, might want to consider throwing more RAM or upgrading to a better host."
 

Krasimir

New member
Joined
Feb 6, 2006
Messages
2
Reaction score
0
"Lol, slow queries are the worst, right? Have you tried running an EXPLAIN on the query to see where the bottleneck is? Also, what's your disk I/O looking like?"
 

gitary

New member
Joined
Sep 18, 2012
Messages
2
Reaction score
0
"Hey OP, what's your db size and how many queries are you running concurrently? I've had similar issues with slow queries in the past, and optimizing the indexes usually does the trick. Can you share some details about your setup?"
 
Joined
Nov 4, 2006
Messages
2
Reaction score
0
Lol at the 'sh*tty MySQL setup' title, OP. Check your query logs to see if there are any performance-hitting queries, then consider optimizing or indexing relevant columns. Maybe also look into optimizing server config, like increasing the innodb buffer pool size.
 
Top