Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nayno-0002Bl-9R for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Apr 2022 11:53:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1naynn-0002nc-4m for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Apr 2022 11:53:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1naynm-0002nT-RU for pgsql-hackers@lists.postgresql.org; Sun, 03 Apr 2022 11:53:50 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1naynk-0000wm-Rw for pgsql-hackers@postgresql.org; Sun, 03 Apr 2022 11:53:50 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 565E63201DCC; Sun, 3 Apr 2022 07:53:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 03 Apr 2022 07:53:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=/friKl/5hBq0CSd3TMOJ+Ugd1M5qGx/IOSn7WEGCoGI=; b=HRhy4bYK Caix/FhwAjOtvnjQCgIPPnAnx89fBAo3QRI3AcxK+rlZkQfVRhO/83NsBtF8LXPQ qnzpMK6ErYPfKQOBPS8OEBoHZYTCwQqW7y/gb8nwJnvkdewNSU7QczEEghWt6Gbu LNU9U6whx4KUhAd5mZoCI8lNQ0R2G7X7QTWmwKv+aUNzKlLy5FGE+71SMYSVcFia QpLGJjwr7bwNhUzzbfSCmClOLnf5Ag9QjcOQtzKRz9lp3Tiw2R41ai89ZkDvjHqZ jDU2ZJkY+0nIJLp4SH+IxyQH0txz0lUX8MiJZWHPQRjpH7mkEwz0lAvyyHonIhzD xscrWJKGW+z8Cw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudejtddggeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 3 Apr 2022 07:53:44 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id C12F72A08A8; Sun, 3 Apr 2022 07:54:14 -0400 (-04) Date: Sun, 3 Apr 2022 13:54:14 +0200 From: Alvaro Herrera To: Fabien COELHO Cc: Tatsuo Ishii , tgl@sss.pgh.pa.us, nagata@sraoss.co.jp, thomas.munro@gmail.com, m.polyakova@postgrespro.ru, pgsql-hackers@postgresql.org, teodor@sigaev.ru Subject: Re: [HACKERS] WIP aPatch: Pgbench Serialization and deadlock errors Message-ID: <202204031154.qrl4cvuumzcl@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Apr-03, Fabien COELHO wrote: > > What about this? (a log line is not actually folded) > > interval_start num_transactions sum_latency sum_latency_2 min_latency max_latency > > failures serialization_failures deadlock_failures retried retries [ sum_lag sum_lag_2 min_lag max_lag [ skipped ] ] > > My 0.02€: > > I agree that it would be better to have a more deterministic aggregated log > format. > > ISTM that it should skip failures and lags if no fancy options has been > selected, i.e.: > > [ fails ... retries [ sum_lag ... [ skipped ] ] ? I think it's easier to just say "if feature X is not enabled, then columns XYZ are always zeroes". -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/