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 1nbMdX-0002SR-CI for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Apr 2022 13:20:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nbMdW-0006l5-8i for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Apr 2022 13:20:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbMdV-0006kv-Vx for pgsql-hackers@lists.postgresql.org; Mon, 04 Apr 2022 13:20:49 +0000 Received: from sfr-1.cri.mines-paristech.fr ([77.158.180.225] helo=smtp.cri.ensmp.fr) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbMdS-0003yy-GJ for pgsql-hackers@postgresql.org; Mon, 04 Apr 2022 13:20:48 +0000 Received: from laroche-adap.cri.ensmp.fr (laroche-adap.cri.ensmp.fr [10.2.14.39]) by smtp.cri.ensmp.fr (Postfix) with ESMTPSA id D207DC016F; Mon, 4 Apr 2022 15:24:08 +0200 (CEST) Date: Mon, 4 Apr 2022 15:20:43 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@pseudo To: Tatsuo Ishii cc: alvherre@alvh.no-ip.org, 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 In-Reply-To: <20220404.101431.333095021655639605.t-ishii@sranhm.sra.co.jp> Message-ID: References: <202204031154.qrl4cvuumzcl@alvherre.pgsql> <20220403.215954.2285173143104252907.t-ishii@sranhm.sra.co.jp> <20220404.101431.333095021655639605.t-ishii@sranhm.sra.co.jp> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Tatsuo-san, > interval_start num_transactions sum_latency sum_latency_2 min_latency max_latency > sum_lag sum_lag_2 min_lag max_lag skipped > failures serialization_failures deadlock_failures retried retries I would suggest to reorder the last chunk to: ... retried retries failures serfail dlfail because I intend to add connection failures handling at some point, and it would make more sense to add the corresponding count at the end with other fails. -- Fabien Coelho - CRI, MINES ParisTech