Re: distinct clause issue for 600000 records
Hi,
I agree that IN-subqueries are better than DISTINCT. Avoiding duplicates in the first place will perform better than removing them afterwards. With MySQL 5.6 it should perform better, IN-subqueries should have better performance than before.
I still do not understand what cardinality length is.
Øystein Grøvlen,
Senior Principal Software Engineer,
MySQL Group, Oracle,
Trondheim, Norway
Subject
Views
Written By
Posted
1642
November 10, 2015 08:57AM
876
November 11, 2015 12:33PM
721
November 12, 2015 12:49AM
869
November 12, 2015 03:20AM
821
November 12, 2015 07:24PM
946
November 12, 2015 07:08AM
823
November 12, 2015 07:18AM
799
November 12, 2015 07:43AM
873
November 13, 2015 12:37AM
800
November 13, 2015 12:45AM
842
November 13, 2015 02:42AM
868
November 13, 2015 05:56AM
863
November 13, 2015 06:38AM
891
November 13, 2015 07:15AM
927
November 13, 2015 08:11AM
869
November 13, 2015 11:35AM
930
November 16, 2015 03:04AM
852
November 16, 2015 04:12AM
Re: distinct clause issue for 600000 records
772
November 16, 2015 05:54AM