Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di0Ub-0000FQ-N3 for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Aug 2017 15:44:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1di0Ub-00013q-9d for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Aug 2017 15:44:25 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1di0Ua-00012c-4e for pgsql-hackers@postgresql.org; Wed, 16 Aug 2017 15:44:24 +0000 Received: from mail.postgrespro.ru ([93.174.131.138]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di0UW-000890-IJ for pgsql-hackers@postgresql.org; Wed, 16 Aug 2017 15:44:23 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 10E9121C0624; Wed, 16 Aug 2017 18:44:19 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru Received: from mail.postgrespro.ru (unknown [192.168.27.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id A693021C0609; Wed, 16 Aug 2017 18:44:18 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1502898258; bh=25bvNEn9fwOF1sVdMyNpQPIAlLiJgs5JwSDUb94+Q64=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Ar/WQi/n+GW/aDQY1uHNQ6Fe6RZkDiI0xDvm5RPp2J4g38GSnyCvyGjHuxep0pW8R zf9ZDCWIidsRR4q3YS/yLCllELkH4cN+lCYxq3BuXgMysnXmxEzmwZXhmSQBkwUqWs uF2u4/05I2aYutEbpa2MCaXFAHsBRZknItbPvt5g= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 16 Aug 2017 18:44:18 +0300 From: Marina Polyakova To: Andres Freund Cc: PostgreSQL Developers , Fabien COELHO , Kevin Grittner , Alvaro Herrera , Thomas Munro , Robert Haas , Alexander Korotkov Subject: Re: WIP Patch: Pgbench Serialization and deadlock errors Organization: Postgres Professional In-Reply-To: <20170811195047.gvpn2agbjrnrvdkg@alap3.anarazel.de> References: <6ce8613f061001105654673506348c13@postgrespro.ru> <0e7afb8c40e9241510947332be8e2ed2@postgrespro.ru> <5c9f781b61d2292fcbe16ab4ff51499a@postgrespro.ru> <1d516bfc555ddde18adbf14bd474f0a2@postgrespro.ru> <20170811195047.gvpn2agbjrnrvdkg@alap3.anarazel.de> Message-ID: X-Sender: m.polyakova@postgrespro.ru User-Agent: Roundcube Webmail/1.2.4 List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org > Hi, Hello! > Just had a need for this feature, and took this to a short test > drive. So some comments: > - it'd be useful to display a retry percentage of all transactions, > similar to what's displayed for failed transactions. > - it'd be useful to also conveniently display the number of retried > transactions, rather than the total number of retries. Ok! > - it appears that we now unconditionally do not disregard a connection > after a serialization / deadlock failure. Good. But that's useful far > beyond just deadlocks / serialization errors, and should probably be > exposed. I agree that it will be useful. But how do you propose to print the results if there are many types of errors? I'm afraid that the progress report can be very long although it is expected that it will be rather short [1]. The per statement report can also be very long.. > Nice feature! Thanks and thank you for your comments :) [1] https://www.postgresql.org/message-id/alpine.DEB.2.20.1707121142300.12795%40lancre -- Marina Polyakova Postgres Professional: http://www.postgrespro.com The Russian Postgres Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers