MySQL Forums
Forum List  »  MyISAM

still repetetive
Posted by: mARK bLOORE
Date: May 17, 2006 03:36PM

I have tried adding that index. It is a nice trick, putting the data I want into the index for quick access. Strangely, it doesn't make much difference; it takes the query time from 9 sec to 8, and doing it again is still 8. If I use an equivalent query with a straight join it takes 0.2 sec, and doing again takes 0.02 sec.

Looking at strace, I still see the mysql process reading the same chunk of file over and over. It still looks like it is the data file that it is reading, even though it should be using only the index. That behaviour is the mystery I'm hoping to solve, to speed up my queries.

Options: ReplyQuote


Subject
Views
Written By
Posted
2640
May 10, 2006 04:59PM
1642
May 16, 2006 04:29PM
1631
May 17, 2006 02:51AM
still repetetive
1655
May 17, 2006 03:36PM
1606
May 17, 2006 04:06PM
1580
May 18, 2006 09:01AM
1588
May 18, 2006 11:23AM
1639
May 19, 2006 01:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.