MySQL Forums
Forum List  »  Optimizer & Parser

Re: Optimizer Decisions change with Storage Engine [MyISAM, InnoDB]
Posted by: Drei Bit
Date: July 10, 2007 09:37AM

Will do the same.

But what I found out by further playing around was, that this behavior is also dependent on the like statement, even though it is always possible to do the range query, he will do some strange stuff like:

id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	PRIMARY	<derived2>	ALL	<null>	<null>	<null>	<null>	452459	
1	PRIMARY	a	eq_ref	PRIMARY	PRIMARY	4	x.id	1	
2	DERIVED	B	index	<null>	b_ix_dummy_id	772	<null>	452459	Using where; Using index

The strange point here is: why does he tell me there are no possible_keys (for me that should be named index ;).

Options: ReplyQuote




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.