Re: MySQL Performance or Just me? :(
You should paste your query here for us to see.
Have you run an EXPLAIN on the query to see if it's using an index? For example:
EXPLAIN select * from mytable where col = 'hello'
You can find details of how to interpret the EXPLAIN results in the MySql manual. In general, you should check that:
"type" is not saying "ALL" - this means all rows are being scanned
"possible_keys" - something should be shown here, indicating that at least one index can support your select statement
"key" - something should be here indicating the one index that was actually used.
HTH
Tobin
Subject
Views
Written By
Posted
2590
July 27, 2005 11:53PM
Re: MySQL Performance or Just me? :(
1729
July 28, 2005 01:08AM
1845
July 28, 2005 08:13AM
1779
July 28, 2005 08:32AM
1710
July 28, 2005 05:50PM
1668
July 29, 2005 02:00AM
1897
July 29, 2005 05:28AM
1376
July 29, 2005 06:52AM
1615
July 29, 2005 07:11AM
1986
July 29, 2005 07:36AM
1803
July 29, 2005 08:43AM
1730
July 29, 2005 12:30PM
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.