I have a query that is basically `select distinct pk2 from t1 where pk1 between '2013..' and '2012.Both of these queries run for ~1.' order by null2 seconds. (order by is to get rid of Using filesort)
The query runs for ~1 second which seems way to much in my mind however, It's just a feelin.
select e3.pk2 from table e3 where e3.pk1 BETWEEN '2013-09-24 12:27:00.0' AND '2013-11-29 11:27:00.0' group by e3.pk2 order by null;
select distinct e3.pk2 from table e3 where e3.pk1 BETWEEN '2013-09-24 12:27:00.0' AND '2013-11-29 11:27:00.0' order by null;
EDIT 3
As requested the total number of distinct pk2 is: 318