Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iaJzA-0007YP-SE for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Nov 2019 13:37:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iaJz9-0002wE-Cg for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Nov 2019 13:37:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iaJz9-0002w7-3b for pgsql-hackers@lists.postgresql.org; Thu, 28 Nov 2019 13:37:31 +0000 Received: from mail-qt1-x843.google.com ([2607:f8b0:4864:20::843]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iaJz4-0000Ht-W9 for pgsql-hackers@lists.postgresql.org; Thu, 28 Nov 2019 13:37:30 +0000 Received: by mail-qt1-x843.google.com with SMTP id z22so8254979qto.7 for ; Thu, 28 Nov 2019 05:37:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=3UJajmHNDZcY4w2un5+iduQa1x+AHn8XFuGJkHMbza4=; b=JiUp65ZRxVzf3taT9E/s/V+3mOjQlv9qSVe+ijKNGr/4US8mS5dlCSNro39d78d2g4 caQlhw04B9nzghEQmylfiWZsoKhdvbpvFOTD2BKrQK3oNWik0Yzrsf6wzjO9vyPLH/aC LUSXSkglWBQNp/bjBzcdg4N/wyLFWWSqlvvnFErKEXYfQrldo3dJkaVvztzU3e1DzVUr KEM2afodYkNg5au+SBQhhk6pfRnFCzLIzKUExoLnyj9rHebbgGYz2oZfMvr3Xv7X+PLB kQX3Jm60m08EeshhLOB5F3KMIAPNgRN0KNtGZKeAglDd7ZRgiXkicZZwzllPZ4pIfMCS yL/w== 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:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=3UJajmHNDZcY4w2un5+iduQa1x+AHn8XFuGJkHMbza4=; b=HRYkuvnc5IHRbpl8Vw5KfhBZIG7s4n+W5EqsV03WYjfkJVrp5CxwjQFhZMLpWfX296 +AIY+Qz2DHBLR24KxkaDETGjPAGpj4Xfxp4uhq+MbhXVZUscWKaNV4+TmguHchdIVC8b HE2FdOnbyrgi9UoT+VWXWChmfglI23MckEY9kLr46fIsKav0raWQG99bErYtVndsZK1i jI69Um3iaDXL2L6+wQ71sJ/nO3pfZNPBFPbtbd+wIA7hVCtonIqZYnVkpJlIZ8VjZC9Z YBZlyVbN3irFdX4UKVKjbjC6Y25rAOFSYpXFMBUJ5WKKrSZEp3t+yEMDoP+GgCM50OPK ZR1Q== X-Gm-Message-State: APjAAAW89WOxEoO/Rp0SRm9jjxiaQcO5lTaul2C7bIA6T63o9reOSLEi nb3nEK0pbIX00f+fj9EDI+Izsw== X-Google-Smtp-Source: APXvYqxRmbttN0lNLy6RbrcfQEXKeAdCbLSQAood8zVnmEUMtvUEQD+b3A9Zs3a3Dy6X50YzmmTE0Q== X-Received: by 2002:ac8:341d:: with SMTP id u29mr1675379qtb.300.1574948245276; Thu, 28 Nov 2019 05:37:25 -0800 (PST) Received: from nimloth.alvh.no-ip.org ([179.56.96.77]) by smtp.gmail.com with ESMTPSA id x8sm8148688qki.60.2019.11.28.05.37.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2019 05:37:24 -0800 (PST) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 36F1D300663; Thu, 28 Nov 2019 10:37:17 -0300 (-03) Date: Thu, 28 Nov 2019 10:37:17 -0300 From: Alvaro Herrera To: Tatsuro Yamada Cc: Amit Langote , vignesh C , Pg Hackers Subject: Re: progress report for ANALYZE Message-ID: <20191128133717.GA22933@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Nov-28, Tatsuro Yamada wrote: > Hmmm... I understand your opinion but I'd like to get more opinions too. :) > Do you prefer these column names? See below: Here's my take on it: pid datid datname relid phase sample_blks_total sample_blks_scanned ext_stats_total ext_stats_computed child_tables_total child_tables_done current_child_table_relid It seems to make sense to keep using the "child table" terminology in that last column; but since the column carries an OID then as Robert said it should have "relid" in the name. For the other two "child tables" columns, not using "relid" is appropriate because what they have is not relids. I think there should be an obvious correspondence in columns that are closely related, which there isn't if you use "sample" in one and "heap" in the other, so I'd go for "sample" in both. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services