still repetetive
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.
Subject
Views
Written By
Posted
2796
May 10, 2006 04:59PM
1941
May 12, 2006 01:17AM
1721
May 16, 2006 04:29PM
1717
May 17, 2006 02:51AM
still repetetive
1727
May 17, 2006 03:36PM
1713
May 17, 2006 04:06PM
1659
May 18, 2006 09:01AM
1676
May 18, 2006 11:23AM
1717
May 19, 2006 01:33AM
1687
May 29, 2006 09:25AM
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.