https://bugzilla.wikimedia.org/show_bug.cgi?id=26872

--- Comment #4 from Bryan Tong Minh <bryan.tongm...@gmail.com> 2011-01-24 
08:08:02 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > Somebody who has knowledge about how mysql handles indices needs to look 
> > into
> > this. I don't know if MySQL is able to merge three indices to make the 
> > required
> > query sane.
> There is no such thing as merging indices.
> 
Well, then we're pretty screwed already, as we are sorting by img_name and have
conditions on img_size, which are two separate indices.

We should first make sure that img_name is included in all indices.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to