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 1htG3D-0007Pd-VQ for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Aug 2019 18:43:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1htG3C-0004Qm-OG for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Aug 2019 18:43:42 +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 1htG3C-0004Qf-CV for pgsql-hackers@lists.postgresql.org; Thu, 01 Aug 2019 18:43:42 +0000 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1htG39-0004MU-7i for pgsql-hackers@postgresql.org; Thu, 01 Aug 2019 18:43:41 +0000 Received: by mail-qk1-x742.google.com with SMTP id s145so52847832qke.7 for ; Thu, 01 Aug 2019 11:43:38 -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=itvdfSqBaj0brZrXssIan/3Thm7Q1Nuf/LwJTnYJuCQ=; b=gVaIC9ipgfm4q2HqjZy/dOGUxVBLgKbBoERny8Uu2zaObZuxEk/mintk4GNMLAnrRY i6j+Zd+VKpisf7dtsf1OYWD2QdaL1rRdlYQNRGggqKrUVPs3LpbcUSVwa091fm97gWwV dBbr3Dk9XzNGV3ybZCgCTgDMg+9w6l0A1ZykN+78ddDqb1MUno73vVQx2mpmqRoFrLZR 0Fxqh82Ce4Ol0fWu0sqauM/E7ockKxomMj4YZVc7XYemI7Qrcl/Hk+mYHZ/o9DDuzApx 6L+4F/9n1o9cuoxST+ws5Qf+RKCe/keXB+IWHEq1NdtwxTVaeFiuPPLiQfiEC5FGzM36 Zwdg== 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=itvdfSqBaj0brZrXssIan/3Thm7Q1Nuf/LwJTnYJuCQ=; b=MHDSzygWIhzWgpveUbJEjL8zFONqN+Zcg7B6eNJBLtSmxskYEmw8he+RVOTnZWAGHZ DFKauDA2qj8VDlMZSzVfnJ+Hc1HSXyOO+Elxe9peZUd9m1Ex4igo0fpmYQ0vJDszoohf ccfp+KLsxx/DTbyVr7GwKUULA19K2lxVUsnRggozomVM6tULDVeimQsuX8XZTSQtQuHC ESHBm+Un8DlkI7LE5RBpZ7Y1il3MG4qMPBBWrsvaSiPa53ntf5PafaxbxHqdmMrNo7RV YyjRVA8I2AXNmwbb0H1FZzbbMw+ASH0NjkdNAayBheBWcyvazYM/N4Rwpq1FWv5vEw9I gSPw== X-Gm-Message-State: APjAAAXafvWhLSPyJ55zP20NhxEfvIPv8+ehc1s5lFb6dwOE4c5mTO2g fKa+G5PvPo1KQHW7cXgJVDPbug== X-Google-Smtp-Source: APXvYqztePiQT23LmkLlDmLKWEvcdYHgnX0OrQ9DBNajMuHxqoGW1EA4QZfh3A96YVcC7jiA3mVePw== X-Received: by 2002:a37:e40a:: with SMTP id y10mr84923091qkf.134.1564685017381; Thu, 01 Aug 2019 11:43:37 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([177.154.139.197]) by smtp.gmail.com with ESMTPSA id q17sm27355893qtl.13.2019.08.01.11.43.36 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 01 Aug 2019 11:43:36 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id DB869123A90; Thu, 1 Aug 2019 14:43:33 -0400 (-04) Date: Thu, 1 Aug 2019 14:43:33 -0400 From: Alvaro Herrera To: Tatsuro Yamada Cc: 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: <20190801184333.GA21369@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <490f30fe-2255-4991-65c1-e72bee2a9011@lab.ntt.co.jp> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services