PEAK XOOPS - Re: performance enhancements in englishin japanese

Re: performance enhancements

List posts in the topic

question Re: performance enhancements

msg# 1.1.1
depth:
2
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/13 1:38
nicholsonn  二等兵   Posts: 7
Hi GIJOE,

Thanks for your reply. Our production server is running MySQL 4.0.26 but I have tested the queries on 4.1 and 5.0. For some reason on 4.0 and 4.1 the optimizer uses the status index which is next to useless due to the low cardinality. If you include the "USE INDEX(date)" in the queries it will have no adverse affects on the servers which get it correct.

If you run an EXPLAIN on both versions of the query you will see what I mean.

Thanks for including the changes.
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!