by AdamProut · 5y ago · 0 comments
My intuition is that the performance of large sorts (100 millions of rows) are not that important for most analytical workloads compared to the performance of doing scans, group-bys and joins. Top-sorts (ORDER BY X LIMIT N) are much more popular, but most databases use different algorithms for those.
There are order-dependent window functions in there though, which did show a speed up.