lancis
Elite Member
- Jul 31, 2010
- 1,682
- 2,206
Need an advice here. Turned the Internet upside down, and didnt find any speedy solution.
Simple query:
..is hell slow. Any 'solutions' I found on stackoverflow only slow it down further. Obviously indices are in place.
Any tricks to speed it up?
Cheers,
Simple query:
Code:
SELECT COUNT(DISTINCT x) FROM table WHERE y=somevalue AND date>=mindate AND date<=maxdate
..is hell slow. Any 'solutions' I found on stackoverflow only slow it down further. Obviously indices are in place.
Any tricks to speed it up?
Cheers,