Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1smFgS-004LiA-4z for pgsql-advocacy@arkaria.postgresql.org; Thu, 05 Sep 2024 16:50:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1smFgQ-00Dwja-Ge for pgsql-advocacy@arkaria.postgresql.org; Thu, 05 Sep 2024 16:50:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1smFgQ-00DwjS-7Q for pgsql-advocacy@lists.postgresql.org; Thu, 05 Sep 2024 16:50:10 +0000 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1smFgN-000JaT-Gq for pgsql-advocacy@lists.postgresql.org; Thu, 05 Sep 2024 16:50:10 +0000 Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-3df0c4a65baso659678b6e.2 for ; Thu, 05 Sep 2024 09:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725555005; x=1726159805; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KHN600FTq1mwYXnfLz3JNazarzt7RjWPDKKLJXzIClY=; b=iQ6VqqqJD/exvor6vrS64SJenmw2lRRjA2uAq+RJh/yIDhimTDEXLMqj9S0S+VHwMP Tvzm6pzUbR0RppGqE/irQ8oQ+WN2Pc+3al4sBsLBYw8euEC8vtIDmFdHlSYb2qOy/5uG vXPCQauqGzGf1dVA+1k4nYZxPXQopsJq1diodQx/q6V19qWKN+A1yekw//IhwDHZcfVJ 6KK1uBfJnJuBlX5ho3TzyAKb8D8XUgxjvq5p/ITifhMAvZYVfioZ0gZt4Mc1ovw3Osge 5Ty/02VOycYuzIWrx8okYmaHyyXD3mB1BOOXunry3ysHNrQv/hH3mTKaf2dayo9+s51b TZLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725555005; x=1726159805; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KHN600FTq1mwYXnfLz3JNazarzt7RjWPDKKLJXzIClY=; b=uGKDBK2gW04uo/uNLhp30B/m9Mr/98edALGQS7QRjnFlySZl6RYGf+KNK8zEoTsyng d7pkG0BBSmSnPVWcMh1W+1aYLUIJEA2XeLeFc43x0QaRxBJ+nOgaRtxYUbAbdVN+yXO2 z7n/CTPjiSNcz7bEBw4XvGZlZbNux8rjqZ6swl+jZdGbp+rYBtd1hAxwSMtN2X5HzOSH RKATDwyTkLx3CamBaCBQ1BjboSlWLvIhTNAZs8kqdwYbks5f1VSMDDr+8rCyUnTKP4Si +F6IrGy3QfaRnHT470nQFHsSRWxZYa6cuw7ujsxiXK9Y4xmv9b4zKbbKkAc2leFioRSs DJow== X-Forwarded-Encrypted: i=1; AJvYcCUsbfniUB3hAAgj6IdFxjC8GqfeUrKQJPxaGA7gKFHbblAXUux6tLzAaDDIHdpQ4gpRmcTh2Roe25cOSf2/Rw==@lists.postgresql.org X-Gm-Message-State: AOJu0Yz39x+o7kjwCMdCsypfpGTu0+uq2cGyLD34WisGTAyztXbVwwp/ 99488L7cst9RX/TWDD/Com30LOTI8SISrY1l8/RbGsgvXzU0KbA1TYXmv0JnT0t8xEYeyeHanQP 5pSdZCrUnLsZUxgAioIsj+rT5DB4= X-Google-Smtp-Source: AGHT+IGzUmosnsFzrhzImP5P2TUH78lS6k++FGMCaQNvb9ZFWe3Yy/PhNh5A71e6sduNVPJigFZWS96pocUDXEZzMWM= X-Received: by 2002:a05:6808:114c:b0:3d9:3e48:8af7 with SMTP id 5614622812f47-3df05e5edafmr28664964b6e.40.1725555005565; Thu, 05 Sep 2024 09:50:05 -0700 (PDT) MIME-Version: 1.0 References: <81af1d33-1abb-4ddf-a7e9-859db718281c@postgresql.org> <906be4b7-9066-43db-8047-d34d85dff3ad@eisentraut.org> In-Reply-To: From: Andrew Atkinson Date: Thu, 5 Sep 2024 11:49:29 -0500 Message-ID: Subject: Re: PostgreSQL 17 release announcement draft To: Robert Haas Cc: Peter Eisentraut , "Jonathan S. Katz" , PostgreSQL Advocacy Content-Type: multipart/alternative; boundary="00000000000025b66a062162156d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000025b66a062162156d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Jonathan. Do you want change proposals here as text snippets in emails? It seems the patch process isn't used here. If so, here's an attempted reduction that echoes what Robert said. I also thought explaining Vacuum wouldn't be necessary for this audience, so less lead-in could work. Is the benefit to end users that there is less memory and CPU needed by vacuum, thus more CPU and memory is available to their foreground workload? Original: > A foundational feature of PostgreSQL is [vacuum]( https://www.postgresql.org/docs/17/routine-vacuuming.html), which is used to reclaim storage from data that was marked as removed. Reducing resources required for vacuuming directly helps other areas of PostgreSQL, particularly on very busy systems. PostgreSQL 17 introduces a new internal memory structure for vacuum that's shown up to a 20x reduction in memory and improvements in overall vacuuming speed. Proposed: The PostgreSQL [vacuum]( https://www.postgresql.org/docs/17/routine-vacuuming.html) process is critical for healthy operations, requiring server instance resources to operate. With PostgreSQL 17, a new internal memory structure for vacuum was used that consumes up to 20x less memory. This improves vacuum speed and also reduces the use of shared resources, making more available for your workload. Something along those lines, where the benefit to the user is they could expect more CPU/mem etc. available for their SQL operations, right? This could be something folks want to benchmark as well as a reason to upgrade, at least for Vacuum-intensive workloads, high UPDATE and DELETE operations etc. On Thu, Sep 5, 2024 at 11:04=E2=80=AFAM Robert Haas = wrote: > On Thu, Sep 5, 2024 at 5:22=E2=80=AFAM Peter Eisentraut > wrote: > > On 04.09.24 23:05, Jonathan S. Katz wrote: > > > Attached is the draft of the PostgreSQL 17 release announcement. This > is > > > a draft of the text that will go into the press kit, with the key > > > portions to review starting from the top of the document, up until th= e > > > "About PostgreSQL" section. > > > > I noticed that we don't yet have a list of major features in the PG17 > > release notes. We should probably put that in soon, so that what we > > list there and what is in the announcement are consistent. > > +1. > > > On the actual list, there will be lots of opinions to be had, but I'll > > just offer one: I don't think the MERGE RETURNING clause deserves twic= e > > as much space as incremental backup. > > I agree with that, although obviously I'm biased. > > I also feel like this whole thing could just be shorter. If it were > half as long and mentioned fewer things and those more briefly, would > we be worse off? I think we might be better off, because it just feels > wordy to me right now. For example: > > A foundational feature of PostgreSQL is > [vacuum](https://www.postgresql.org/docs/17/routine-vacuuming.html), > which is used to reclaim storage from data that was marked as removed. > Reducing resources required for vacuuming directly helps other areas > of PostgreSQL, particularly on very busy systems. PostgreSQL 17 > introduces a new internal memory structure for vacuum that's shown up > to a 20x reduction in memory and improvements in overall vacuuming > speed. This release also removes the `1GB` limit on the memory it can > use (controlled by > [`maintenance_work_mem`]( > https://www.postgresql.org/docs/17/runtime-config-resource.html#GUC-MAINT= ENANCE-WORK-MEM) > ), > letting users apply more resources to vacuuming, which is beneficial > for systems with lots of changes. > > It seems to me that the first two sentences could just be completely > nuked, and everything from "letting users" to the end could also be > nuked. At least to me, all of that stuff reads as unnecessarily > filler. I'm not at all sure that removing the 1GB limit on > maintenance_work_mem is important enough that it needs to be in the > release announcement -- I agree it's a good improvement, but to have > it be one of the first things in the press release seems like an odd > choice from my perspective. Nobody's going to look back on this > release years from now and say "oh, that was the release where could > finally set maintenance_work_mem=3D4GB, that was so much better". If > they think about VACUUM, they'll think about the 20x memory reduction > stuff which made the ability to configure values larger than 1GB > irrelevant in the first place. So I'd probably delete the part about > lifting the 1GB cap entirely. But even if you don't do that, the > paragraph could be half as long without losing anything, from my > perspective. > > -- > Robert Haas > EDB: http://www.enterprisedb.com > > > --00000000000025b66a062162156d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Jonathan. Do you want change proposals= here as text snippets in emails? It seems the=C2=A0patch process isn't= used here.

If so, here's an attempted reduction tha= t echoes what Robert said. I also thought explaining Vacuum wouldn't be= necessary for this audience, so less lead-in could work. Is the=C2=A0benef= it to end users that there is less memory and CPU needed by vacuum, thus mo= re CPU and memory is available=C2=A0to their foreground=C2=A0workload?

Original:
>= A foundational feature of PostgreSQL is [vacuum](https://www.postgresql.org/doc= s/17/routine-vacuuming.html), which is used to reclaim storage from dat= a that was marked as removed. Reducing resources required for vacuuming dir= ectly helps other areas of PostgreSQL, particularly on very busy systems. P= ostgreSQL 17 introduces a new internal memory structure for vacuum that'= ;s shown up to a 20x reduction in memory and improvements in overall vacuum= ing speed.

Proposed:
The PostgreSQL [vacuu= m](ht= tps://www.postgresql.org/docs/17/routine-vacuuming.html) process is cri= tical for healthy operations, requiring server instance resources to operat= e. With PostgreSQL 17, a new internal memory structure for vacuum was used = that consumes up to 20x less memory. This improves vacuum speed and also=C2= =A0reduces the use of shared resources,=C2=A0making more available for your= workload.


Something along those= lines, where the benefit to the user is they could expect more CPU/mem etc= . available for their SQL operations, right?=C2=A0 This could be something = folks want to benchmark as well as a reason to upgrade, at least for Vacuum= -intensive workloads,=C2=A0high UPDATE and DELETE operations etc.





On Thu, Sep 5, 2024= at 11:04=E2=80=AFAM Robert Haas <robertmhaas@gmail.com> wrote:
On Thu, S= ep 5, 2024 at 5:22=E2=80=AFAM Peter Eisentraut <peter@eisentraut.org> wrote:
> On 04.09.24 23:05, Jonathan S. Katz wrote:
> > Attached is the draft of the PostgreSQL 17 release announcement. = This is
> > a draft of the text that will go into the press kit, with the key=
> > portions to review starting from the top of the document, up unti= l the
> > "About PostgreSQL" section.
>
> I noticed that we don't yet have a list of major features in the P= G17
> release notes.=C2=A0 We should probably put that in soon, so that what= we
> list there and what is in the announcement are consistent.

+1.

> On the actual list, there will be lots of opinions to be had, but I= 9;ll
> just offer one:=C2=A0 I don't think the MERGE RETURNING clause des= erves twice
> as much space as incremental backup.

I agree with that, although obviously I'm biased.

I also feel like this whole thing could just be shorter. If it were
half as long and mentioned fewer things and those more briefly, would
we be worse off? I think we might be better off, because it just feels
wordy to me right now. For example:

A foundational feature of PostgreSQL is
[vacuum](https://www.postgresql.org/docs/17= /routine-vacuuming.html),
which is used to reclaim storage from data that was marked as removed.
Reducing resources required for vacuuming directly helps other areas
of PostgreSQL, particularly on very busy systems. PostgreSQL 17
introduces a new internal memory structure for vacuum that's shown up to a 20x reduction in memory and improvements in overall vacuuming
speed. This release also removes the=C2=A0 `1GB` limit on the memory it can=
use (controlled by
[`maintenance_work_mem`](https://www.postgresql.org/docs/17/runtime-config-resource.ht= ml#GUC-MAINTENANCE-WORK-MEM)),
letting users apply more resources to vacuuming, which is beneficial
for systems with lots of changes.

It seems to me that the first two sentences could just be completely
nuked, and everything from "letting users" to the end could also = be
nuked. At least to me, all of that stuff reads as unnecessarily
filler. I'm not at all sure that removing the 1GB limit on
maintenance_work_mem is important enough that it needs to be in the
release announcement -- I agree it's a good improvement, but to have it be one of the first things in the press release seems like an odd
choice from my perspective. Nobody's going to look back on this
release years from now and say "oh, that was the release where could finally set maintenance_work_mem=3D4GB, that was so much better". If they think about VACUUM, they'll think about the 20x memory reduction stuff which made the ability to configure values larger than 1GB
irrelevant in the first place. So I'd probably delete the part about lifting the 1GB cap entirely. But even if you don't do that, the
paragraph could be half as long without losing anything, from my
perspective.

--
Robert Haas
EDB: http://www.enterprisedb.com


--00000000000025b66a062162156d--