MySQL Forums
Forum List  »  Performance

Re: Partial key
Posted by: noudshoorn
Date: June 16, 2005 07:57AM

I don't understand very much of your answer. The problem is not going about the indexes I use or the sense of these indexes, although I appreciate any advice on that.

The problem is that mysql doesn't use indexes when you have an autoincrement field in your table, that is what my output to you tells me and what explain, explains us.

And I want to use indexes and well the index that I found is usefull. So, in my opinion this is still no anwer for this problem.

In my eyes the range of the rows that mysql shows using like seems to be unpredictable. Sometimes it uses an index and other times it doesn't. Espacially when you have an autoincrement field in your table.

So maybe you can make your answer more clear to me. Because I don't know at this moment what I do wrong.

Nico.

Options: ReplyQuote


Subject
Views
Written By
Posted
3584
June 11, 2005 12:03PM
1832
June 14, 2005 10:42AM
1958
June 14, 2005 02:16PM
1698
June 15, 2005 02:21AM
1700
June 15, 2005 05:16AM
1852
June 15, 2005 06:24AM
5054
June 15, 2005 12:06PM
1758
June 16, 2005 05:07AM
Re: Partial key
1733
June 16, 2005 07:57AM
1730
June 16, 2005 08:30AM
1785
June 16, 2005 08:50AM
1636
June 16, 2005 10:21AM
2742
June 16, 2005 03:00PM
1729
June 17, 2005 12:00AM
1651
June 17, 2005 01:28AM
1634
June 20, 2005 01:21AM
1825
June 20, 2005 06:41AM


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.