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 1htFbZ-0005db-5d for pgsql-performance@arkaria.postgresql.org; Thu, 01 Aug 2019 18:15:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1htFbX-0001Qq-KU for pgsql-performance@arkaria.postgresql.org; Thu, 01 Aug 2019 18:15:07 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1htFbV-00014e-MP for pgsql-performance@lists.postgresql.org; Thu, 01 Aug 2019 18:15:07 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1htFbR-00046q-Se for pgsql-performance@lists.postgresql.org; Thu, 01 Aug 2019 18:15:05 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2BE0122139; Thu, 1 Aug 2019 14:15:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 01 Aug 2019 14:15:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm2; bh=o aPmWsXb02YeUD3NjJWcp2z4VXPuZv+UkikNrnVT7YM=; b=iv0bNaaZyqrnjXBf5 62V/8KFW+IiEwgyhmJlFG0JSMEjA9n51JaGgKSMhZGMyrQhOXVBypCbu8mg5xppc 4fl68oSI0xP3USZWyIfAAvIiYdSy0kyxu3klyRcNAQ5RmomQ41Py5bAmapq7eLQ2 WVq3t4EY5t95CHD4Iz9fPFcaUBNI193v5us66BjwBPbQxKuOa4KOMct1h7N4MWBV iw3V7ezFxqvLBtUSN+tO3yjNAzIIXAuLjLWMrxgLvQcV4RtshTBLqw1pcTfzVvsG H+LmGAeb0YvOC6ADfkprFMiThFehsjOpUmqTLZkXTtgxcN4W1IRNSp5iGT/ofeRO 0RVmg== 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=oaPmWsXb02YeUD3NjJWcp2z4VXPuZv+UkikNrnVT7 YM=; b=f0fAC4jsaZ2I2AX6hkXR6JOA3086ACVCzc+0JHeaQSMpeW3Fo1yIxIgHe x4Ex/rgsj1cGJndf0n4qNjVQ/Vhnv8quDb7UEAx2JP0Zi/JRwPrFT533NeMQcD2k 3Oa4e/ZpxJmnOGzhQL+cxcF/vZWtXGixOaPmly2dbCYmtW6FDnzDizh09l6VjyPc lj0WxsFCU8qT6rSZjDtWogVPKeASG4/tHYFW6TlLn7lGvS22SV/U0qLyaS/BVRv7 pdHz6JVKsZX4L5H+7hDajKnzLgLP6gb82jA1rXQ7MoX0BZXmcc7O74Hq9knCzVU7 BURIJ6o4eXEcbyRjR+ctuw477oxlg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleejgdduvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtjeenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecukfhppe eijedrudeitddrvddukedrvdefjeenucfrrghrrghmpehmrghilhhfrhhomheprghnughr vghssegrnhgrrhgriigvlhdruggvnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-218-237.hsd1.ca.comcast.net [67.160.218.237]) by mail.messagingengine.com (Postfix) with ESMTPA id 6E797380083; Thu, 1 Aug 2019 14:14:59 -0400 (EDT) Date: Thu, 1 Aug 2019 11:14:58 -0700 From: Andres Freund To: Purav Chovatia Cc: Shital A , pgsql-performance@lists.postgresql.org Subject: Re: PSQL performance - TPS Message-ID: <20190801181458.52zcdeahsj3fpwup@alap3.anarazel.de> References: <20190801172128.ct3absxmogavdv6v@alap3.anarazel.de> 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: Precedence: bulk Hi, On 2019-08-01 23:36:33 +0530, Purav Chovatia wrote: > > If you've set synchronous_commit = off, and you still get only 1200 > > transactions/sec, something else is off. Are you sure you set that? > I am not very surprised with these results. However, what’s the disk type? > That can matter quite a bit. Why aren't you surprised? I can easily get 20k+ write transactions/sec on my laptop, with synchronous_commit=off. With appropriate shared_buffers and other settings, the disk speed shouldn't matter that much for in insertion mostly workload. Greetings, Andres Freund