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 1hqOyP-0005BG-NH for pgsql-general@arkaria.postgresql.org; Wed, 24 Jul 2019 21:38:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hqOyO-0003Gi-I2 for pgsql-general@arkaria.postgresql.org; Wed, 24 Jul 2019 21:38:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hqOyN-0003Gb-5j for pgsql-general@lists.postgresql.org; Wed, 24 Jul 2019 21:38:56 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hqOyK-0004AO-Rp for pgsql-general@lists.postgresql.org; Wed, 24 Jul 2019 21:38:53 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2B99421BBE; Wed, 24 Jul 2019 17:38:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 24 Jul 2019 17:38:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=D Vu3Jm70ZOnFsenicK7D+OZiAumJiSIsq9ZeYBdok3Q=; b=Febn5U4iWoR5Zu7uI R/G9HHro3Jh88caZHf1QYI0qLgsc4KlKXgOHzPBHi72CZHwQUV+sQs3W3L1rCrJD /pEJ9ndJQZUaAQqsUFYvj/NK7JzWmXvKBwlAJv+niatoOdtq3ZDAn3vOKnr/fEgY Tli6saYWA9pGu6RbyvQHw61COFypm6cBb03Xo5RL8TET269ppjzPY0rC4aK3pzVr rjlx9RQwO6JzuzEfsnEbNcskRGef2jq7h3A+C1U+r6veVn3//dCeymxLL/sQKbce Bfa69YhLr2gmLPKbim6eH2psm0p1YTMacEYLB23nndW/Aq0d65nXlgbsZM8xn5cz UPEYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=DVu3Jm70ZOnFsenicK7D+OZiAumJiSIsq9ZeYBdok 3Q=; b=RGu/Q9JqkrYEGHm8C+dyIJ3t8YAaEz5cFYO/EdBIBnZRlwpJHb0NKP/Nh cUmq+WjYSXCVm0DSLrgz2leqi3FoZSzbm78HCuE+oqfJh0MGKZzX59nwLOfi/QX/ spBGnAtm7VpR/t0/AFR5IXbtKFY+D5JJ/wCCKvtdqW3HnJccHLSQsaeBNTswoPeJ VA86tZFjKFkwCWw4g3UVqQzVcJZJBy+eujv86HHXWi1pbPERWB+8N5e7bKmMdTe6 zLpSlJS0swQ48ZJJLh2lY7cZZnq1K9yNIZKUptDaCuIbcdLcE5HviopO9rqiIqbk JLI9S342jsO160U/saOm78DleKZJg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrkedtgdduheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucfkphepjeegrdelfedruddthedrudekieenucfrrghrrghmpehmrghilhhfrhho mheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from ranger.suse (74-93-105-186-washington.hfc.comcastbusiness.net [74.93.105.186]) by mail.messagingengine.com (Postfix) with ESMTPA id 632A7380075; Wed, 24 Jul 2019 17:38:51 -0400 (EDT) Subject: Re: Running concurrent txns and measuring the timings in Postgres To: Souvik Bhattacherjee Cc: Rob Sargent , "pgsql-generallists.postgresql.org" References: <160cb824-6952-d468-9a6b-3b7474348d5a@aklaver.com> <77a9686c-4d6d-e964-019f-1966224ae803@aklaver.com> From: Adrian Klaver Message-ID: Date: Wed, 24 Jul 2019 14:38:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 7/24/19 2:24 PM, Souvik Bhattacherjee wrote: > I got this thing running and hopefully works as expected. The txns are > stored in insert_txn1.sql, insert_txn2.sql, ... > Please let me know if you find any issues with this. > Script is attached. > > I'm hardly a BASH guru so someone else will need to comment, but on the surface it looks good to me. -- Adrian Klaver adrian.klaver@aklaver.com