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 1i8ps2-0001rs-DW for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Sep 2019 18:00:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i8ps1-0004HZ-BB for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Sep 2019 18:00:33 +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 1i8ps0-0004HN-UY for pgsql-hackers@lists.postgresql.org; Fri, 13 Sep 2019 18:00:33 +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 1i8prx-0005k8-Kr for pgsql-hackers@postgresql.org; Fri, 13 Sep 2019 18:00:32 +0000 Received: by mail-qt1-x843.google.com with SMTP id u9so8958988qtq.2 for ; Fri, 13 Sep 2019 11:00:29 -0700 (PDT) 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=oQ+QbOA7QYoB9vKlsephYmFRfIcVk6aj7n5xf57tnbs=; b=DbdhlAQnvno3+ifgvGPcExZNIPyrkBsh7/QjZVwf6x15cTUcVM4vrAYqxAQWInnKoX rqEdbpVxEuFQQh3V5AkVj9h5KMqhOwojX0oI2ZC0PZa37gY/SwYoGYda9AXVvxGRpjlH MB/74iIE0aCECVhXeJEfVFgZ/iwpr01zE8XFTwTI2zXSk/BhPCVEORAwK9uHkP353H6A cpOzK3Ge180+9R0p7zsSTxpVSse5P2TC72ZTqmznG5ixL6pS3Zw49jdUncYaFiOq6aqd aoa6xkIHwOSLk2yP7vsvv4qlOcu9UEgxvbzMDDgX0/co/ws/Lo59Ee8bL9I+FKRLx3nL 4gZg== 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=oQ+QbOA7QYoB9vKlsephYmFRfIcVk6aj7n5xf57tnbs=; b=JEx1q5xSsqEwo9d46PyEBZgCnhKtS5CPS9lwd9iBsgpq0TQ1NrCKmxUJCK1uCbMI5h 9INq+LVAgOb8tdv7xjwjb5fOME9H4dFtdAJpCyXKDAaU3ady/DDXi9lxhPYUF9JhodFy 9z9J8y6ieVUcHDZvVSrQmJdU73qfBx7EjL2Fjl61ABq6LSMiiJ28hVLcy3AVO+mCdDSc MpAW1yzRkh4jmDsmg2IF8sKHwNEkH0U95dnXERuhiwpHSiTKslJd9Lku3ZWo9CqtlfLi wQuHAvnZA5LxPhU2/NXGxN+BW/+4R8psr+JiWsJw4MePXmas1fdoZGkeUnN6IRJl8M0w oJLQ== X-Gm-Message-State: APjAAAVt2G2m6O+GcYskCaTeclFM5d0x44bZ2v3P79sXoc2Kz35FR69r QZE3cO1MXHSmd/5kaHcyHesqaA== X-Google-Smtp-Source: APXvYqwW0nfjMSOtKlRLIC6tnMDO7Kv6uNo84gzsFyfwIGxsclL9zu4KOMdeJ9PoYPEJfl9s1NcWRw== X-Received: by 2002:a0c:d0ed:: with SMTP id b42mr19534567qvh.143.1568397627910; Fri, 13 Sep 2019 11:00:27 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([179.56.30.174]) by smtp.gmail.com with ESMTPSA id r19sm15447675qte.63.2019.09.13.11.00.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 11:00:27 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 8CDAE120305; Fri, 13 Sep 2019 15:00:25 -0300 (-03) Date: Fri, 13 Sep 2019 15:00:25 -0300 From: Alvaro Herrera To: Tatsuro Yamada Cc: Tatsuro Yamada , Robert Haas , Rafia Sabih , Dmitry Dolgov <9erthalion6@gmail.com>, Peter Geoghegan , PostgreSQL-development , Jeff Janes , Thomas Munro , Michael Paquier Subject: Re: [HACKERS] CLUSTER command progress monitor Message-ID: <20190913180025.GA1752@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.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello Tatsuro, On 2019-Aug-13, Tatsuro Yamada wrote: > On 2019/08/02 3:43, Alvaro Herrera wrote: > > Hmm, I'm trying this out now and I don't see the index_rebuild_count > > ever go up. I think it's because the indexes are built using parallel > > index build ... or maybe it was the table AM changes that moved things > > around, not sure. There's a period at the end when the CLUSTER command > > keeps working, but it's gone from pg_stat_progress_cluster. > > Thanks for your report. > I'll investigate it. :) I have fixed it. Can you please verify? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services