Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qR63m-000XPn-Dc for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Aug 2023 07:14:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qR63k-003HvE-1W for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Aug 2023 07:14:16 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qR63i-003Hv5-8P for pgsql-hackers@lists.postgresql.org; Wed, 02 Aug 2023 07:14:15 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qR63f-0005Zt-9z for pgsql-hackers@postgresql.org; Wed, 02 Aug 2023 07:14:13 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0899C5C016D; Wed, 2 Aug 2023 03:14:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 02 Aug 2023 03:14:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to; s=fm2; t=1690960449; x=1691046849; bh=9D8RQ8aiCPh01YXJ8J89o7kHL gXuSHD/AhiYheYZbP0=; b=URzkdWLbnUIPrb4EFtB6+AGZGmdfkVc2fWUES0ZZC YqHti5QLB7Gtc2Z86R9kojRF/FJmJg/r22A4wS4OcM/VZGoAdAqrGl7IrgB2MUvw 7ctOPihNiOGTnFIV6IlgjZc9uFzkkNdeGKDE0aTEiLS/CEZ9uqGLDz7iJFXkZuZY FPy6IrINv7K39lNi8tvzPVqzoPr5waK6nuFfgggFsG6/EiqrBG+WDG1LABVv9SbE 0eXZ9Sn20mk0N4+U1ifSnL3Erm6d1qATrLdMbcZQzLh9Z2NkLox/XxzxM3hby26z m2NP3BFVtUiBYtBICmq4GrsyzMrE93nYDnUAmUUDvlj9Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1690960449; x=1691046849; bh=9D8RQ8aiCPh01YXJ8J89o7kHLgXuSHD/Ahi YheYZbP0=; b=jnMCtWXcH2Ro06kQCJClRSFH70QTgDqvsnF614n2+zT1oEXgQ3j vHWHZtEwM9AZoF9Z5L+VAUtf92P6S4mEn9tap/m4C7sFhBDn+4XLnTkshyWVPRSo I5XZkpWUivjr6Qn4y89Tjtv1BDKD68N/yhgK8mACNTKLamgA2e2E+XCR3retIIUm 5rHsSYfKmXyF5inEBXjUUVYp7epkwy6AqpHs5GLzkMF/NIVD0hzbjbb2LT6+PrUT 3XUoQZA8ZQc5LJdU+29VvJQpqANpBofRoqHYiOd97K1pQqmYsccMhQkB4zuPWARv nXFu513dpHjYujxtumau9gt7esm0KCZaaLQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrjeejgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgh eqnecuggftrfgrthhtvghrnhepheeiuefhleelfeeikeehkefgkeeggfevheeuvdejveet tdegleekffffieekuedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 2 Aug 2023 03:14:07 -0400 (EDT) Message-ID: <4fe4c4d2-e87d-fd6d-0866-a453a2d4c32a@eisentraut.org> Date: Wed, 2 Aug 2023 09:14:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: add timing information to pg_upgrade Content-Language: en-US To: Nathan Bossart , Daniel Gustafsson Cc: PostgreSQL Hackers References: <20230727235134.GA3658499@nathanxps13> <204e3982-78be-7550-fdb3-063ecd368f1f@eisentraut.org> <20230801160006.GB723589@nathanxps13> From: Peter Eisentraut In-Reply-To: <20230801160006.GB723589@nathanxps13> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 01.08.23 18:00, Nathan Bossart wrote: > One of the main purposes of this thread is to gauge interest. I'm hoping > there are other developers who are interested in reducing > pg_upgrade-related downtime, and it seemed like it'd be nice to have > built-in functionality for measuring the step times instead of requiring > folks to apply this patch every time. And I think users might also be > interested in this information, if for no other reason than to help us > pinpoint which steps are taking longer for various workloads. If it's just for developers and expert users, perhaps existing shell-level functionality like "pg_upgrade | ts" would suffice?