FYI, On 10/16/2017 8:58 AM, Igal @ Lucee.org wrote:
I was able to compare the performance on a table with about 350k rows, with duplicates over 7 columns and no indices. The GROUP BY solution with the subquery (though I was using a simpler version of it without a CTE), was taking over 30 seconds so I killed the request. I then ran the USING version which completed in 16 seconds and deleted 39 rows. Best, Igal Sapir
|