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 1jW1hs-0006NG-Al for pgsql-hackers@arkaria.postgresql.org; Tue, 05 May 2020 17:50:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jW1hq-0001L2-Fb for pgsql-hackers@arkaria.postgresql.org; Tue, 05 May 2020 17:50:10 +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 1jW1hq-0001Kv-4l for pgsql-hackers@lists.postgresql.org; Tue, 05 May 2020 17:50:10 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jW1hm-0007MT-JJ for pgsql-hackers@postgresql.org; Tue, 05 May 2020 17:50:09 +0000 Received: by mail-qk1-x741.google.com with SMTP id q7so3246340qkf.3 for ; Tue, 05 May 2020 10:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=J3M5hLN2eEw05mY+zslZCIPcv5pqqDJXGBTnZ/iPzDc=; b=f0VSFyvmFi5fEL9UYVoAzsZzZB4RJauEvj96aZ2/vRdPJ8Yasd6q1ul25bMNIdaaQs TzLG04VoPKCtO7bCjmbdA8ueaZ5ddwq4PAukO1U/+TDIANBRSc/9/E63TMBUkHL2xMOl kXoHcGT80pXIAGa5fMWTM12AWusZ6mTJYfd4PaRA5MAiXyiddcZkIYVJ1d41ZgcPxUet 3ltoxFVh+Fymx4k5+ZK796bp5aMtv2LRb8jPWbSnR+pAVz/oUXfQ1Msh8bVx9cPFHCEW hJmMiOSOeDQ6Ee7sDx6Q9Yzys2k28ENRka1r//FRKvBN5UWEuEr7IT99gAv1zl8ipFUD RAqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=J3M5hLN2eEw05mY+zslZCIPcv5pqqDJXGBTnZ/iPzDc=; b=jPP+QSDYWOynCqhwepuf5ougzcEpxWnWcKsVAu+TJhHNUVizCw9fg+BrcA7zfv+Y0V +y2jd9RdT/PkDCSJ9lJVbYEj32q31u52ADBekfiw8TuIE05wBjSg/aY3qEHM7Bhjq9g7 bWbXhh4lWi+au6vLqjJ4+txXxOdMJW1yjNbIsDBLsBoqUu5viU83WbMsvy8sEhmuCkJr 5Oa7BZmdboOyfcPDf3dQwN0eT/eQHBklry57b+Ce90N6CPzsBA2iEgBzUAmgd8oHq8vE F6D15TbGAeIM3O+gISD5OOKWTng8taGQbFSIIRNiZQ/tsTxwlJ4H4g5sWICejd/d0zVR vhUA== X-Gm-Message-State: AGi0PuYuhfWjUZHi56/ibwjN9Tid72oanFKTJo9hjrvCQI0wr35inVX5 UkB0KThuDoJfvhBwVj1ch4BtMg== X-Google-Smtp-Source: APiQypJaMqX/VeLTMeNnXz9hO+q4mYZsRokGXrxGReFKzW/K88MNfbOhWGp7Hy9pCjYse2KogopeuA== X-Received: by 2002:a05:620a:1261:: with SMTP id b1mr4869421qkl.190.1588701003908; Tue, 05 May 2020 10:50:03 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id g127sm2377542qkb.6.2020.05.05.10.50.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 May 2020 10:50:03 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id E7F31800A79; Tue, 5 May 2020 12:50:01 -0500 (CDT) Date: Tue, 5 May 2020 12:50:01 -0500 From: Justin Pryzby To: Bruce Momjian Cc: PostgreSQL-development Subject: Re: PG 13 release notes, first draft Message-ID: <20200505175001.GA28974@telsasoft.com> References: <20200505031600.GB21752@momjian.us> <20200505164503.GY28974@telsasoft.com> <20200505171809.GF21185@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200505171809.GF21185@momjian.us> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, May 05, 2020 at 01:18:09PM -0400, Bruce Momjian wrote: > > |Release date: 2020-05-03 > > => Should say 2020-XX-XX, before someone like me goes and installs it everywhere in sight. > > Agreed! > > > |These triggers cannot change the destination partition. > > => Maybe say "cannot change which partition is the destination" Looks like you copied my quote mark :( > > | Allow hash aggregation to use disk storage for large aggregation result sets (Jeff Davis) > > | Previously, hash aggregation was not used if it was expected to use more than work_mem memory. This is controlled by enable_hashagg_disk. > > => enable_hashagg_disk doesn't behave like other enable_* parameters. > > As I understand, disabling it only "opportunisitically" avoids plans which are > > *expected* to overflow work_mem. I think we should specifically say that, and > > maybe suggest recalibrating work_mem. > > I went with "avoided": > > Previously, hash aggregation was avoided if it was expected to use more > than work_mem memory. This is controlled by enable_hashagg_disk. I think we should expand on this: |Previously, hash aggregation was avoided if it was expected to use more than |work_mem memory, but it wasn't enforced, and hashing could still exceed |work_mem. To get back the old behavior, increasing work_mem. | |The parameter enable_hashagg_disk controls whether a plan which is *expected* |to spill to disk will be considered. During execution, an aggregate node which |exceeding work_mem will spill to disk regardless of this parameter. I wrote something similar here: https://www.postgresql.org/message-id/20200407223900.GT2228%40telsasoft.com > > | This is controlled by GUC wal_skip_threshold. > > I think you should say that's a size threshold which determines which strategy > > to use (WAL or fsync). > > I went with: > The WAL write amount where this happens is controlled by wal_skip_threshold. > > They can use the doc link if they want more detail. I guess I would say "relations larger than wal_skip_threshold will be fsynced rather than copied to WAL" -- Justin