Re: distinct clause issue for 600000 records
Hi,
Without seeing the actual query, it is not easy to give any general advice on this. However, the first step should be to consider what LEFT JOINs are strictly necessary. If you use MySQL 5.6, there should be no reason to avoid IN-subqueries. MySQL will be able to convert them into join and remove duplicates automatically if necessary.
Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway
Subject
Views
Written By
Posted
1673
November 10, 2015 08:57AM
893
November 11, 2015 12:33PM
737
November 12, 2015 12:49AM
888
November 12, 2015 03:20AM
833
November 12, 2015 07:24PM
959
November 12, 2015 07:08AM
840
November 12, 2015 07:18AM
Re: distinct clause issue for 600000 records
820
November 12, 2015 07:43AM
891
November 13, 2015 12:37AM
816
November 13, 2015 12:45AM
857
November 13, 2015 02:42AM
887
November 13, 2015 05:56AM
882
November 13, 2015 06:38AM
907
November 13, 2015 07:15AM
944
November 13, 2015 08:11AM
886
November 13, 2015 11:35AM
940
November 16, 2015 03:04AM
871
November 16, 2015 04:12AM
789
November 16, 2015 05:54AM