Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqcCh-0001JW-8a for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jul 2020 12:51:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jqcCg-00020D-51 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jul 2020 12:51:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqcCf-000206-Ue for pgsql-hackers@lists.postgresql.org; Wed, 01 Jul 2020 12:51:05 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqcCc-0005eu-Vs for pgsql-hackers@postgresql.org; Wed, 01 Jul 2020 12:51:05 +0000 Received: from hnk.local (p2604028-ipngn12401funabasi.chiba.ocn.ne.jp [180.1.110.28]) by oss.nttdata.com (Postfix) with ESMTPSA id 8658860386; Wed, 1 Jul 2020 21:50:57 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at oss.nttdata.com Subject: Re: max_slot_wal_keep_size and wal_keep_segments To: Alvaro Herrera Cc: pgsql-hackers@postgresql.org References: <20200701032605.GA16707@alvherre.pgsql> From: Fujii Masao Message-ID: Date: Wed, 1 Jul 2020 21:50:56 +0900 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200701032605.GA16707@alvherre.pgsql> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020/07/01 12:26, Alvaro Herrera wrote: > On 2020-Jun-30, Fujii Masao wrote: > >> Hi, >> >> When I talked about max_slot_wal_keep_size as new feature in v13 >> at the conference, I received the question like "Why are the units of >> setting values in max_slot_wal_keep_size and wal_keep_segments different?" >> from audience. That difference looks confusing for users and >> IMO it's better to use the same unit for them. Thought? > > Do we still need wal_keep_segments for anything? Yeah, personally I like wal_keep_segments because its setting is very simple and no extra operations on replication slots are necessary. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION