<HTML>
<HEAD>
<TITLE>Re: Stan's slow problem EXPLAIN</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>On 6/1/06 6:56 PM, "Ruslan Zasukhin" <sunshine@public.kherson.ua> wrote:<BR>
<BR>
Btw, this is how looks EXPLAIN for Stan's query<BR>
<BR>
<BR>
FOR SQL QUERY TIME = 63 : <BR>
DO SELECT : TIME = 63 : ROWS = 1<BR>
DO SIMPLE SELECT : TIME = 63 : ROWS = 1<BR>
DO Single Table Without GROUP BY : TIME = 63 : ROWS = 1<BR>
FOR Table [tblTransactions] DO resolve WHERE statement : TIME = 63 : ROWS = 0<BR>
FOR Predicate [AND] TIME = 63 : ROWS = 0<BR>
DO AND Indexed operands : TIME = 63 : ROWS = 219<BR>
FOR Field [Transaction_Date] DO FindRange [01/01/2000 00:00:00:000, 12/31/2006 00:00:00:000] : TIME = 0 : ROWS = 38727<BR>
<FONT COLOR="#0000FF"> FOR Field [Transaction_Refunded] DO FindValue(1) : TIME = 25 : ROWS = 219<BR>
FOR Field [Transaction_ChargedBack] DO FindValue(0) : TIME = 38 : ROWS = 38684<BR>
</FONT> DO AND Non-Indexed operands : TIME = 0 : ROWS = 0<BR>
FOR Predicate [OR] TIME = 0 : ROWS = 0<BR>
DO OR Indexed operands : TIME = 0 : ROWS = 21<BR>
FOR Field [Transaction_Country] DO FindLike : TIME = 0 : ROWS = 21<BR>
FOR Field [Transaction_Country] DO FindLike : TIME = 0 : ROWS = 0<BR>
<BR>
<BR>
-- <BR>
Best regards,<BR>
<BR>
Ruslan Zasukhin<BR>
VP Engineering and New Technology<BR>
Paradigma Software, Inc<BR>
<BR>
Valentina - Joining Worlds of Information <BR>
<a href="http://www.paradigmasoft.com">http://www.paradigmasoft.com</a><BR>
<BR>
[I feel the need: the need for speed]<BR>
</SPAN></FONT>
</BODY>
</HTML>