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 1jLRwi-000220-Uo for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Apr 2020 13:37:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jLRwg-00030N-44 for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Apr 2020 13:37:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jLRwf-00030G-Qg for pgsql-hackers@lists.postgresql.org; Mon, 06 Apr 2020 13:37:45 +0000 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jLRwb-0008FX-Sm for pgsql-hackers@postgresql.org; Mon, 06 Apr 2020 13:37:44 +0000 Received: by mail-lj1-x243.google.com with SMTP id q19so14646321ljp.9 for ; Mon, 06 Apr 2020 06:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=3NB8BFonpGz9JrnTdA9WB28Pb7V/Exz5MGJrJ5kwSw8=; b=n3zFHLipvAfoEAao1cMLVMQXTfl1tMCV4VQKg3PHZbIP4CdvHmobPeTc9Bp9aWzmB/ INWnTBGYabptCkl/XcSjSVPOMEMAPr8LnTpb1AsJtCLFl2/hvujSB50cWA6qK+VycAsd uIdAJkHdsmzKK9VhIc8BrTNKyTdBebclJoWq8Ofx04OndY2L7pAHUAla+KUrdbEg4Gkx mEY+u3txOBPSheO8Xzu7PhcwfHOigXXNGz1AKUw39eAp2WL/3SQEf1L4dv39LYnB3lao mFYFewGmYdSrdtZvC7EwdzsAOZ4EnNMKMp4Bn1LcfoQA8f3+GPTyf1g6Cpc+tCXSbiMa DE1A== 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; bh=3NB8BFonpGz9JrnTdA9WB28Pb7V/Exz5MGJrJ5kwSw8=; b=t2UVl8kCFXKF7mNHSwpW92k5ysNy2rmxosBM9ZKH9EQsGl6fZUIUx2CMBBPs1ABKgV 5mJfd2A1jCAD0hCGnuzzbB8VbvDC8kvGjHFl3LPTVqZYcfkt9nG0HvA7gw/ChId1NGqA R5HAYpXTNfK4S5UqQZOK4YxFueQGDZaXgw2iP8X/PeWhtnUPtZ+VUjtFewMcTJRssFR6 9nneWXFOwLrnWGL6l9GF9sYi1GbroTdaRQjO7qc8J4JSdNkfSCpVa+Oo2xuQZ7zD+i8v EsyQjaSfiyc27/6z6r2kVAauzqvGnSLU1EbgzywTWWE0KMZvOqZH3brtzUOpANcSf10Q duKA== X-Gm-Message-State: AGi0PubJ7/Ely7Y1XAcgTEwK/gH9AUBWz7jriRm6wJCMSq0FDClyd2W6 3zzLOXDYMfAcs+cV1yATNkM= X-Google-Smtp-Source: APiQypIpAHKBnLRZ5nOFBGiVYCXP54LKSHnEGD3wlZoT8KOVzTs7KNosFy3sdkhk67edcLaJfB6gAg== X-Received: by 2002:a2e:3e13:: with SMTP id l19mr11486874lja.10.1586180260142; Mon, 06 Apr 2020 06:37:40 -0700 (PDT) Received: from nol (82-64-124-11.subs.proxad.net. [82.64.124.11]) by smtp.gmail.com with ESMTPSA id q6sm2044127lfp.28.2020.04.06.06.37.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2020 06:37:39 -0700 (PDT) Date: Mon, 6 Apr 2020 15:37:35 +0200 From: Julien Rouhaud To: Euler Taveira Cc: Amit Kapila , Dilip Kumar , Kuntal Ghosh , Fujii Masao , Kirill Bychik , PostgreSQL Hackers , Thomas Munro Subject: Re: WAL usage calculation patch Message-ID: <20200406133735.GK1206@nol> References: <20200404060303.n2q74lbccjm2swdc@nol> <20200404085423.GC1206@nol> <20200404092015.GE1206@nol> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Apr 06, 2020 at 10:12:55AM -0300, Euler Taveira wrote: > On Mon, 6 Apr 2020 at 00:25, Amit Kapila wrote: > > > > > I have pushed pg_stat_statements and Explain related patches. I am > > now looking into (auto)vacuum patch and have few comments. > > > > I wasn't paying much attention to this thread. May I suggest changing > wal_num_fpw to wal_fpw? wal_records and wal_bytes does not have a prefix > 'num'. It seems inconsistent to me. > If we want to be consistent shouldn't we rename it to wal_fpws? FTR I don't like much either version.