|
Archives of the TeradataForumMessage Posted: Mon, 20 Jun 2011 @ 19:56:31 GMT
Prior to TD13: DISTINCT performs better when the results are already nearly unique (few duplicates are being eliminated). GROUP BY will perform better when large numbers of duplicates are being eliminated. Starting with TD13, the optimizer will cost the alternative strategies rather choosing based on the syntax used.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||