Re: 回复: An implementation of multi-key sort - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: 回复: An implementation of multi-key sort
Date
Msg-id 7bbaa17a-0b69-41a9-b48c-e5f461ce809d@iki.fi
Whole thread Raw
In response to 回复: An implementation of multi-key sort  (Wang Yao <yaowangm@outlook.com>)
List pgsql-hackers
On 23/05/2024 15:39, Wang Yao wrote:
> No obvious perf regression is expected because PG will follow original
> qsort code path when mksort is disabled. For the case, the only extra
> cost is the check in tuplesort_sort_memtuples() to enter mksort code path.

And what about the case the mksort is enabled, but it's not effective 
because all leading keys are different?

-- 
Heikki Linnakangas
Neon (https://neon.tech)




pgsql-hackers by date:

Previous
From: Wang Yao
Date:
Subject: 回复: An implementation of multi-key sort
Next
From: Robert Haas
Date:
Subject: Re: Shared detoast Datum proposal