Re: First draft of the PG 15 release notes (sorting)
Bruce Momjian <bruce@momjian.us>
On Thu, May 12, 2022 at 10:38:42AM +1200, David Rowley wrote: > On Wed, 11 May 2022 at 14:38, Justin Pryzby <pryzby@telsasoft.com> wrote: > > I wonder if this is also relevant. > > > > 65014000b35 Replace polyphase merge algorithm with a simple balanced k-way merge. > > Thanks for highlighting that. It very much is relevant. In fact, it > seems to account for most of the 25% I mentioned. That particular > test was sorting 10 million tuples with 4MB of work_mem. > > I think that "Improve sorting performance (Heikki Linnakangas)" should > be moved out from "E.1.3.1.2. Indexes" and put below "E.1.3.1.4. > General Performance" Yes, good point, moved. > The text likely should include the words "disk-based" so that it's > clear that it's not the same as the other line about "in-memory > sorts". I'd also be open to just having a single line too. I'd vote > to put Heikki's name first if we did that. > > Maybe: > > * Improve performance of sorting tuples (Heikki Linnakangas, Ronan > Dunklau, David Rowley, Thomas Munro) > > This improves the merging performance of individual on-disk sort > batches, reduces memory consumption for in-memory sorts and reduces > CPU overheads for certain in-memory sorts. I kept separate entries: <!-- Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-10-18 [65014000b] Replace polyphase merge algorithm with a simple balanced Author: Heikki Linnakangas <heikki.linnakangas@iki.fi> 2021-10-25 [166f94377] Clarify the logic in a few places in the new balanced me --> <listitem> <para> Improve performance for sorts that exceed work_mem (Heikki Linnakangas) </para> <para> Specifically, switch to a batch sorting algorithm that uses more output streams internally. </para> </listitem> <!-- Author: David Rowley <drowley@postgresql.org> 2021-07-22 [91e9e89dc] Make nodeSort.c use Datum sorts for single column sorts Author: David Rowley <drowley@postgresql.org> 2022-04-04 [40af10b57] Use Generation memory contexts to store tuples in sorts Author: John Naylor <john.naylor@postgresql.org> 2022-04-02 [697492434] Specialize tuplesort routines for different kinds of abb --> <listitem> <para> Improve performance and reduce memory consumption of in-memory sorts (Ronan Dunklau, David Rowley, Thomas Munro) </para> </listitem> -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson
Commits
-
Doc: last minute adjustment to the release notes
- bb76510a07f3 15.0 landed
-
Doc: more tweaking of v15 release notes.
- 780add2c32a7 15.0 landed
-
Doc: further adjust notes about pg_upgrade_output.d.
- fbd2bd15b011 16.0 landed
- 796aa20a11b4 15.0 landed
-
Doc: add list of major features to the v15 release notes.
- a2ab0ad88cf8 15.0 landed
-
relnotes: update item about public schema permission change
- f5135d2aba87 15.0 landed
-
relnotes: update ordered partition scan item
- de89d8711e2b 15.0 landed
-
relnotes: add Heikki to UTF8 item
- 335e444f2269 15.0 landed
-
relnotes: improve UTF8 text item in relation to ASCII
- 9499c0fcf488 15.0 landed
-
relnotes: add null logical replication item
- 3715850ecc52 15.0 landed
-
relnotes: adjust several logical replication items and FK text
- 25285e5d4ee5 15.0 landed
-
relnotes: mention non-exclusive backup mode was deprecated
- 6bfecf33f6ed 15.0 landed
-
relnotes: add author to in-memory sorts item
- d70b95a7178a 15.0 landed
-
relnotes: update for non-exclusive backup mode removal
- da82c6246986 15.0 landed
-
relnote: improve sorting entries
- 922d1a27e9bd 15.0 landed
-
relnotes: adjustments from Álvaro Herrera
- 78ccd6cca48d 15.0 landed
-
relnotes: update foreign key partition and add sort items
- 279d957efebb 15.0 landed
-
relnotes: more adjustments
- 38fbbb5bb293 15.0 landed
-
relnotes: logical replication permissions checked by subscrib.
- 581c4e5b3185 15.0 landed
-
relnotes: adjustments
- a3c5f56c213e 15.0 landed
-
relnotes: remove sequence replication and update 'postgres -C'
- 653443ed83f0 15.0 landed
-
relnote: extensive updates
- 9d89bb8a025d 15.0 landed
-
relnotes: "training" -> "trailing"
- 3c534949bbb0 15.0 landed
-
Standardize references to Zstandard as <productname>
- 586955dddecc 15.0 cited
-
pgstat: Update docs to match the shared memory stats reality.
- b3abca68106d 15.0 cited
-
Raise a WARNING for missing publications.
- 8f2e2bbf1453 15.0 cited
-
Skip empty transactions for logical replication.
- d5a9d86d8ffc 15.0 cited
-
Optionally disable subscriptions on error.
- 705e20f8550c 15.0 cited
-
Allow root-owned SSL private keys in libpq, not only the backend.
- 2a1f84636dc3 14.3 cited
-
Use COPY FREEZE in pgbench for faster benchmark table population.
- 06ba4a63b85e 15.0 cited