MySQL Forums
Forum List  »  Optimizer & Parser

Re: slow selects
Posted by: Danie Van der Walt
Date: September 02, 2006 12:52PM

After the change in the index....
It seems to have lost the filesort....

I will test with some more records and get back to you but for now here is the explain info....
+---------+------+----------------------------------+---------------------+---------+-------------+------+-------------+
| table | type | possible_keys | key | key_len | ref | rows | Extra |
+---------+------+----------------------------------+---------------------+---------+-------------+------+-------------+
| tSMSOUT | ref | index_status_sentby,index_status | index_status_sentby | 51 | const,const | 1 | Using where |
+---------+------+----------------------------------+---------------------+---------+-------------+------+-------------+
explain select id,service_type,source_addr,destination_addr,message_payload,user_message_reference,esm_class from tSMSOUT where status='0' and sentby="196.11.240.100ISOL_001ConnectPRS" order by id asc limit 1


Thanks a mill....



Edited 1 time(s). Last edit at 09/02/2006 12:52PM by Danie Van der Walt.

Options: ReplyQuote


Subject
Views
Written By
Posted
2721
August 31, 2006 08:02AM
1860
August 31, 2006 08:43AM
1864
August 31, 2006 09:06AM
1876
September 01, 2006 03:04AM
1825
September 01, 2006 04:17AM
2094
September 01, 2006 04:50AM
1836
September 01, 2006 07:24AM
1876
September 01, 2006 08:16AM
Re: slow selects
1870
September 02, 2006 12:52PM


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.