3 messages in com.mysql.lists.mysqlRe: MySQL 5 problem after upgrade
FromSent OnAttachments
szy...@mwg.pl27 May 2006 03:18 
Szymon Kosok27 May 2006 08:41 
Moritz Möller27 May 2006 15:45 
Subject:Re: MySQL 5 problem after upgrade
From:Szymon Kosok (szy@mwg.pl)
Date:05/27/2006 08:41:34 AM
List:com.mysql.lists.mysql

Hello again,

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 INNER JOIN (gra_gwiazdy) ON (gra_gwiazdy.id = gra_shoutbox.gid) INNER JOIN (swiat_miasta) ON (swiat_miasta.CityId = gra_gwiazdy.miastoid) INNER JOIN (swiat_panstwa) ON (swiat_panstwa.CountryId = gra_gwiazdy.countryid) INNER JOIN (gra_gm) ON (gra_gm.gid = gra_gwiazdy.id) WHERE gra_gwiazdy.id != '1310' ORDER BY gra_shoutbox.id DESC LIMIT 0, 10;

It was problem with query. MySQL uses filesort, and that was cause. I've deleted WHERE clause and now execution time is 100 times faster. (with WHERE about 3 sec, without 0,03 sec. ;-)) In other way, strange is that there wasn't any problem in 4.1.