Re: tuple radix sort
Chao Li <li.evan.chao@gmail.com>
From: Chao Li <li.evan.chao@gmail.com>
To: John Naylor <johncnaylorls@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Peter Geoghegan <pg@bowt.ie>
Date: 2025-10-30T03:45:32Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Skip common prefixes during radix sort
- f6bd9f0fe25a 19 (unreleased) landed
-
Perform radix sort on SortTuples with pass-by-value Datums
- ef3c3cf6d021 19 (unreleased) landed
> On Oct 30, 2025, at 11:40, John Naylor <johncnaylorls@gmail.com> wrote: > > On Thu, Oct 30, 2025 at 8:56 AM Chao Li <li.evan.chao@gmail.com> wrote: > >> I changed work_men to 1GB and reran the test. As the high cardinality data are still there, so I first reran with data: > >> With radix_sort on and off, execution time are almost the same. > > Are you by chance running with asserts on? It's happened before, so I > have to make sure. That makes a big difference here because I disabled > diversion thresholds in assert builds so that regression tests (few > cases with large inputs) cover the paths I want, in addition to my > running a standalone stress test. > Yes, assert is always enabled in my sandbox. I can disable assert and rerun the test later. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/