Re: Wont use Index when data is not evenly distributed

2002-11-29 Thread Claus Reestrup
Just added more indexes and found a good one. thanx for the advise ! =) /C - Original Message - From: "Claus Reestrup" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 29, 2002 2:28 PM Subject: Wont use Index when data is not evenly distributed

Re: Wont use Index when data is not evenly distributed

2002-11-29 Thread Roger Baklund
* Claus Reestrup > Cant figure out why MySQL wont use index on a big table. > Ok, the data is not evenly distributed which might be the problem. > > Look here: > > I have a table with 1 million records, with the following fields: > IdUser, int > X, int > Y, int > Z, int > C, char(10) > > no, varcha

Re: Wont use Index when data is not evenly distributed

2002-11-29 Thread Joseph Bueno
Claus Reestrup wrote: > Cant figure out why MySQL wont use index on a big table. > Ok, the data is not evenly distributed which might be the problem. > > Look here: > > I have a table with 1 million records, with the following fields: > IdUser, int > X, int > Y, int > Z, int > C, char(10) > > no

Wont use Index when data is not evenly distributed

2002-11-29 Thread Claus Reestrup
Cant figure out why MySQL wont use index on a big table. Ok, the data is not evenly distributed which might be the problem. Look here: I have a table with 1 million records, with the following fields: IdUser, int X, int Y, int Z, int C, char(10) no, varchars, text, or blobs. IdUser is a user id