Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dopPn-0005da-F2 for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Sep 2017 11:19:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dopPm-0003pv-Rw for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Sep 2017 11:19:38 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dopO9-00017y-Ls for pgsql-hackers@postgresql.org; Mon, 04 Sep 2017 11:17:57 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dopO2-0001Ht-7f for pgsql-hackers@postgresql.org; Mon, 04 Sep 2017 11:17:57 +0000 Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id v84BHkqd021884; Mon, 4 Sep 2017 20:17:46 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 911005F63F; Mon, 4 Sep 2017 20:17:46 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 84BAE5F593; Mon, 4 Sep 2017 20:17:46 +0900 (JST) Received: from [127.0.0.1] (unknown [129.60.241.68]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 807DB4003A5; Mon, 4 Sep 2017 20:17:46 +0900 (JST) Message-ID: <59AD3652.4030605@lab.ntt.co.jp> Date: Mon, 04 Sep 2017 20:17:38 +0900 From: Tatsuro Yamada User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 Subject: Re: CLUSTER command progress monitor References: <59A77072.3090401@lab.ntt.co.jp> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Michael Paquier Cc: PostgreSQL mailing lists X-TM-AS-MML: disable List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2017/09/04 15:38, Michael Paquier wrote: > On Thu, Aug 31, 2017 at 11:12 AM, Tatsuro Yamada > wrote: >> Then I have questions. >> >> * Should we have separate views for them? Or should both be covered by the >> same view with some indication of which command (CLUSTER or VACUUM FULL) >> is actually running? > > Using the same view for both, and tell that this is rather VACUUM or > CLUSTER in the view, would be better IMO. Coming up with a name more > generic than pg_stat_progress_cluster may be better though if this > speaks with VACUUM FULL as well, user-facing documentation does not > say that VACUUM FULL is actually CLUSTER. Thanks for sharing your thoughts. Agreed. I'll add new column like a "command" to tell whether running CLUSTER or VACUUM. And how about this new view name? - pg_stat_progress_reorg Is it more general name than previous name if it covers both commands? >> I'll add this patch to CF2017-09. >> Any comments or suggestion are welcome. > > Nice to see that you are taking the time to implement patches for > upstream, Yamada-san! Same here. :) I'd like to contribute creating feature that is for DBA and users. Progress monitoring feature is important from my DBA experiences. I'm happy if you lend your hand. Thanks, Tatsuro Yamada -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers