MySQL Forums
Forum List  »  Optimizer & Parser

Re: Two nearly equal querys, but very different performance
Posted by: Toa Sty
Date: September 12, 2006 09:34AM

Hmm, I just posted a reply to this but it seems to have disappeared. Not sure what's going on....

Anyway, in brief, add indexes on:
measurement_has_pixel (`idmeasurement`, `iddot`)
and
pixel_has_dot (`iddot`)

and that should sort it out I think. :)

Post the new explain plan and let me know!

Toasty



Edited 2 time(s). Last edit at 09/12/2006 09:45AM by Toa Sty.

Options: Reply• Quote


Subject
Views
Written By
Posted
Re: Two nearly equal querys, but very different performance
2027
September 12, 2006 09:34AM


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.