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 1h3QZS-0007GX-5K for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Mar 2019 19:26:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h3QZQ-0008OB-SS for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Mar 2019 19:26:44 +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 1h3QZQ-0008O4-L9 for pgsql-hackers@lists.postgresql.org; Mon, 11 Mar 2019 19:26:44 +0000 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3QZO-00046D-55 for pgsql-hackers@lists.postgresql.org; Mon, 11 Mar 2019 19:26:44 +0000 Received: by mail-qt1-x844.google.com with SMTP id h39so192628qte.2 for ; Mon, 11 Mar 2019 12:26:41 -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=ViD8CJqnvcUYLNxhMXcV4eFeW8NxFFuKxrtqlCM/Wg0=; b=uw4yp/8Ur91rvJpJMFNFtlfotDX8OkdknwnOiq4HGXGttFsBgw3rQtvUcks9aUUQA9 LD8ad1OBtmdFnZamjM8YfJ007G1aZss1Hqrc4PP3d092Xfe07v8Q3WhPxPfNJ1zd+oxX C6fpyCwQYxs/pS8wxRJiPGvnax3aAgQ6XYznVdalE9qHxMVvc5kytR/JUYanIKSVBH9i wUZYSVnYWnagmJUwEK6U7VGP7CyatObWGHptTl442N7o/kVREo9BNdZzAaS8dS9PJ8V5 aSEizzGxMnwfKXW5f0pRE1ctRRaT1hDZKRdPqd3sdfXSdXE0JaekdwqsGUjj5TPfvWJU kwIQ== 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=ViD8CJqnvcUYLNxhMXcV4eFeW8NxFFuKxrtqlCM/Wg0=; b=lCVevAQfIq9FcIkjO0tEF9lpXDYgJmLPrOmnzwb8+DTAKyB3kW+lUYOSv5UVStRiVg fkTGecG2SSClRb7RZdebJZlSQWGgWNbcz/chkq9uAy8umxo15YWcbxj37HdwhYGTNBPX MMxxi+l5H0PwUPt/PSd2uhw+cLE9YHU3p7vUfcbNAuV22cJvp/Fkst0aQA0FY5S4j2kT 3KDv8CKX4zsKK1Sdr4JYaOV5OtkpHlN3jkpSB74xMAfoZrd28JJYs7VFzwsL9zUEZC7f y3duOR1oFE/vEpiBxFe9QyEEEu8KxvLXk0DsI/domInYlID7znof6crPe1CTOVb8qU4Q h8hQ== X-Gm-Message-State: APjAAAWAUc0wecvqFVNXWfNnZ7fMP+gEOTPEcuuZygzA781wh6iGtDav gEuZKamCzcu+/7iV/nc7dCFdkA== X-Google-Smtp-Source: APXvYqzLSFC2hVvkyvxBesinEhR48IUBvgl7yCr+Xk5E1hRN0oKyVD/wd/yq2lLjZ0QEW0SoTQmtUA== X-Received: by 2002:ac8:2850:: with SMTP id 16mr26835170qtr.84.1552332400401; Mon, 11 Mar 2019 12:26:40 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.121.29.3]) by smtp.gmail.com with ESMTPSA id h26sm4209700qtk.52.2019.03.11.12.26.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Mar 2019 12:26:39 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 100F7121DD2; Mon, 11 Mar 2019 16:26:37 -0300 (-03) Date: Mon, 11 Mar 2019 16:26:37 -0300 From: Alvaro Herrera To: Robert Haas Cc: Rahila Syed , PostgreSQL Hackers Subject: Re: monitoring CREATE INDEX [CONCURRENTLY] Message-ID: <20190311192637.GA30293@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 On 2019-Mar-11, Robert Haas wrote: > On Mon, Mar 11, 2019 at 3:18 PM Alvaro Herrera wrote: > > On 2019-Mar-11, Robert Haas wrote: > > > I don't think that I much like this (3 of 8) and (2 of 5) stuff. It's > > > inconsistent with what we've got already and it doesn't add much. > > > Someone who wants to know which phase it is can look at the underlying > > > numbers directly instead of going through the view, but most people > > > probably won't care, and given that the phases may be of dramatically > > > unequal length, I don't think it's adding much. > > > > > > Another reason why I think this is a bad idea is that there may be > > > some operations where we don't transit all the phases in all cases; > > > the pending patch for CLUSTER progress reporting works like that. > > > > What part of it don't you like? Is it the fact that we have phase > > numbers in the phase name? Is it the fact that we count total phases? > > Is it that we have two numbers being current (phase + subphase)? > > that you have phase numbers in the phase name Oh. That's easily removed. Though I have to say that other people said that they liked it so much that they would have liked to have it in the original VACUUM one too (5ba2b281-9c84-772a-cf37-17780d782936@lab.ntt.co.jp). -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services