Re: Hardware for writing/updating 12,000,000 rows per hour - Mailing list pgsql-general

From Arya F
Subject Re: Hardware for writing/updating 12,000,000 rows per hour
Date
Msg-id CAFoK1ayztRr7k8ecF+m4ON4wHKD2dNZm_EnUSzSM-L4y0aQsHQ@mail.gmail.com
Whole thread Raw
In response to Re: Hardware for writing/updating 12,000,000 rows per hour  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Hardware for writing/updating 12,000,000 rows per hour
List pgsql-general
On Fri, Jul 26, 2019 at 3:24 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
[ please don't top-post ]

Arya F <arya6000@gmail.com> writes:
> On Fri, Jul 26, 2019 at 3:03 PM Ron <ronljohnsonjr@gmail.com> 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

I think I can modify my application to do a batch update. Right now the server has an HDD and it really can't handle a lot of updates and inserts per second. Would changing to a regular SSD be able to easily do 3000 updates per second? 

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Hardware for writing/updating 12,000,000 rows per hour
Next
From: Alvaro Herrera
Date:
Subject: Re: Hardware for writing/updating 12,000,000 rows per hour