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: Reply• Quote


Subject
Views
Written By
Posted
3139
August 31, 2006 08:02AM
2087
August 31, 2006 08:43AM
2071
August 31, 2006 09:06AM
2079
September 01, 2006 03:04AM
2021
September 01, 2006 04:17AM
2296
September 01, 2006 04:50AM
2025
September 01, 2006 07:24AM
2075
September 01, 2006 08:16AM
Re: slow selects
2064
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.