MySQL Forums
Forum List  »  NDB clusters

Re: Bad performance?
Posted by: Jacob Christensen
Date: December 09, 2004 10:05AM

I found out that its importent that the key (KEY `kampagne_id, brugernavn` (`kampagne_id`,`brugernavn`) ) needs to be added before the other keys. This makes a much better result. If not it uses one of the other keys!

Why cant it use the key containing the right columns automaticly insted of using af key only containg one of the indexed coloums. Because I dont belive it is possible to change the order of the keys after they ar added or is it?

Options: ReplyQuote


Subject
Views
Written By
Posted
3913
December 06, 2004 06:33PM
2749
December 06, 2004 09:13PM
2696
December 07, 2004 07:18AM
2518
December 07, 2004 11:58AM
2676
December 07, 2004 01:19PM
3584
December 07, 2004 06:22PM
2619
December 08, 2004 01:33PM
3504
December 08, 2004 02:44PM
Re: Bad performance?
2683
December 09, 2004 10:05AM


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.