Do you know where your variables are? | |
PerlMonks |
Re: DBI speed up needed on MySQLby JamesNC (Chaplain) |
on May 08, 2005 at 12:54 UTC ( [id://454997]=note: print w/replies, xml ) | Need Help?? |
Yes, I would definitely use a different index. You need an index which has both columns. Try one of these. The second should be faster, but you are only allowed to have one clustered index per table. Use the clustered option on the index you use the most. Do one of these from mysql command line interface.
JamesNC
In Section
Seekers of Perl Wisdom
|
|