Re: Query with GROUP BY not using Index
Posted by:
Rick James
Date: August 18, 2012 10:30PM
Can you use VARCHAR(255) instead of (256)? That would eliminate the need for "prefixing".
You really need
INDEX(wafer_name, date)
It does not make sense to GROUP BY one set of things, then ORDER BY something that is not in the GROUP BY list! Which `date` would be used for a given wafer_name??
Subject
Views
Written By
Posted
3083
August 14, 2012 01:06PM
1555
August 15, 2012 02:46AM
1423
August 16, 2012 10:30AM
1716
August 17, 2012 02:58AM
Re: Query with GROUP BY not using Index
1425
August 18, 2012 10:30PM
1393
August 24, 2012 12:41PM
1464
August 28, 2012 03:11AM
1527
August 28, 2012 06:21PM
1891
August 29, 2012 01:28AM
1342
August 29, 2012 10:36AM
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.