| View previous topic :: View next topic |
| Author |
Message |
nookie_pl n00b

Joined: 24 Apr 2006 Posts: 33
|
Posted: Sat May 27, 2006 3:33 am Post subject: MySQL 5 problem |
|
|
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 |
|
 |
nookie_pl n00b

Joined: 24 Apr 2006 Posts: 33
|
Posted: Sat May 27, 2006 6:31 am Post subject: |
|
|
| Strange thing is that, there is only one process spawned. (even if there's is more connections) It's normal? |
|
| Back to top |
|
 |
|
|
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
|
|