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 1hr6mK-0006Ac-VA for pgsql-general@arkaria.postgresql.org; Fri, 26 Jul 2019 20:25:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hr6lK-0002cc-Ok for pgsql-general@arkaria.postgresql.org; Fri, 26 Jul 2019 20:24:22 +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 1hr6lK-0002cU-F4 for pgsql-general@lists.postgresql.org; Fri, 26 Jul 2019 20:24:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hr6lE-0001QO-3K for pgsql-general@lists.postgresql.org; Fri, 26 Jul 2019 20:24:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x6QKOCU5001812; Fri, 26 Jul 2019 16:24:13 -0400 From: Tom Lane To: Arya F cc: Ron , pgsql-general@lists.postgresql.org Subject: Re: Hardware for writing/updating 12,000,000 rows per hour In-reply-to: References: <012a3554-8cba-6cf0-63db-de80635cd85e@gmail.com> Comments: In-reply-to Arya F message dated "Fri, 26 Jul 2019 15:04:47 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1810.1564172652.1@sss.pgh.pa.us> Date: Fri, 26 Jul 2019 16:24:12 -0400 Message-ID: <1811.1564172652@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk [ please don't top-post ] Arya F writes: > On Fri, Jul 26, 2019 at 3:03 PM Ron wrote: >> On 7/26/19 2:56 PM, Arya F wrote: >>> Would it be possible to achieve 12,000,000 writes/updates on a single >>> server? If so what kind of hardware should I be looking for? >> That's only 3,333 modifications/second. How big are your records? > As most about 2000 characters. Do you need 3K independent commits per second? Or can you batch them? Even just turning off synchronous_commit would move the goalposts pretty far in terms of the storage hardware you'll need for this. regards, tom lane