Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL 5 problem
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nookie_pl
n00b
n00b


Joined: 24 Apr 2006
Posts: 33

PostPosted: Sat May 27, 2006 3:33 am    Post subject: MySQL 5 problem Reply with quote

Hello,

I've made upgrade of MySQL to latest 5.0.x version. Now, when I access my site MySQL CPU usage is about 100%, and site is unaccessible. :( I've checked SHOW PROCESSLIST and this query take loooong time to execute:

SELECT shout_avatar, shout_own, timestamp, tekst, imie, pseudo, wiek, City, Country, plec, wlosy_kol, gra_gwiazdy.id, gra_gm.gid AS gm FROM gra_shoutbox LEFT JOIN (gra_gwiazdy) ON (gra_gwiazdy.id = gra_shoutbox.gid) LEFT JOIN (swiat_miasta) ON (swiat_miasta.CityId = gra_gwiazdy.miastoid) LEFT JOIN (swiat_panstwa) ON (swiat_panstwa.CountryId = gra_gwiazdy.countryid) LEFT JOIN (gra_gm) ON (gra_gm.gid = gra_gwiazdy.id) WHERE gra_gwiazdy.id != '1310' ORDER BY gra_shoutbox.id DESC LIMIT 0, 10;

On 4.1 everything was ok. It's caused by this query or probably it's something else? Any help?
Back to top
View user's profile Send private message
nookie_pl
n00b
n00b


Joined: 24 Apr 2006
Posts: 33

PostPosted: Sat May 27, 2006 6:31 am    Post subject: Reply with quote

Strange thing is that, there is only one process spawned. (even if there's is more connections) It's normal?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum