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 1sB4sc-00E8Z3-Qe for pgsql-hackers@arkaria.postgresql.org; Sun, 26 May 2024 03:49:08 +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 1sB4sc-003CDZ-OJ for pgsql-hackers@arkaria.postgresql.org; Sun, 26 May 2024 03:49:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sB4sc-003CDQ-Es for pgsql-hackers@lists.postgresql.org; Sun, 26 May 2024 03:49:06 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sB4sa-0021AV-01 for pgsql-hackers@postgresql.org; Sun, 26 May 2024 03:49:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=X6mE6AjPQqqfF67AQ7dvgi2KwvmFVLhSfb/SRt9mQgI=; b=Q/B4/jZ0ABR/q+pvhWN1OjfxMM xCMeya5By+a/2vAYyAiAVu5hZvFslrF8u1TtRTv2o5QuXtpPuwSc80qTSDJwUzw9fvGZcyYn2K3Qg oDMIiH6b4S9YWN8KigwltFJqX1ijDPUo6knJwWqtm2Wkg7ZKvQyWj34hOJBSr1OzudICx6GQ41hp1 RQ2EGewEvpfnxEkvdOhVLQVilje3mj5Ck8QPo7cFi9A5sBWNdr5e1PJus5fwJugMCoDK/gOOHfmKE SVEb5YgjuM36kF/5Pp1KJI9jC4vX6Yz5ErRJAfURt6xnNdZJRYC3QL6oVLgkFagtbOotuVBTO7wCT mmqI9DQw==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1sB4sZ-00FmAY-0J; Sat, 25 May 2024 23:49:03 -0400 Date: Sat, 25 May 2024 23:49:03 -0400 From: Bruce Momjian To: Alvaro Herrera Cc: PostgreSQL-development Subject: Re: First draft of PG 17 release notes Message-ID: References: <202405231122.zew2gncy63fo@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202405231122.zew2gncy63fo@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, May 23, 2024 at 01:22:51PM +0200, Álvaro Herrera wrote: > Hello, > > Regarding this item > > : Allow the SLRU cache sizes to be configured (Andrey Borodin, Dilip Kumar) > : > : The new server variables are commit_timestamp_buffers, > : multixact_member_buffers, multixact_offset_buffers, notify_buffers, > : serializable_buffers, subtransaction_buffers, and transaction_buffers. > > I hereby request to be listed as third author of this feature. > > Also, I'd like to suggest to make it more verbose, as details might be > useful to users. Mention that scalability is improved, because > previously we've suggested to recompile with larger #defines, but to be > cautious because values too high degrade performance. Also mention the > point that some of these grow with shared_buffers is user-visible enough > that it warrants an explicit mention. How about like this: > > : Allow the SLRU cache sizes to be configured and improve performance of > : larger caches > : (Andrey Borodin, Dilip Kumar, Álvaro Herrera) > : > : The new server variables are commit_timestamp_buffers, > : multixact_member_buffers, multixact_offset_buffers, notify_buffers, > : serializable_buffers, subtransaction_buffers, and transaction_buffers. > : commit_timestamp_buffers, transaction_buffers and > : subtransaction_buffers scale up automatically with shared_buffers. Yes, I like that, patch applied. > These three items > > : Allow pg_stat_reset_shared() to reset all shared statistics (Atsushi Torikoshi) > : > : This is done by passing NULL. > : > : Allow pg_stat_reset_shared('slru') to clear SLRU statistics (Atsushi Torikoshi) > : > : Now pg_stat_reset_shared(NULL) also resets SLRU statistics. > : > : Allow pg_stat_reset_slru() to reset all SLRU statistics (Bharath Rupireddy) > : > : The command pg_stat_reset_slru(NULL) already did this. > > seem a bit repetitive. (I think the first one is also wrong, because it > says you have to pass NULL, but in reality you can also not give an > argument and it works.) Can we make them a single item? Maybe > something like > > : Improve reset routines for shared statistics (Atsushi Torikoshi, Bharath Rupireddy) > : > : Resetting all shared statistics can now be done with > : pg_stat_reset_shared() or pg_stat_reset_shared(NULL), while SLRU > : statistics can now be reset with pg_stat_reset_shared('slru'), > : pg_stat_reset_slru() and pg_stat_reset_slru(NULL). Andres already suggested improvement for this, and I posted the applied patch. Can you see if that is good or can be improved? Thanks. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.