Go to the original post:How to optimize slow count distinct SQL

Original post by