Re: PSQL performance - TPS

From: Purav Chovatia <puravc(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Shital A <brightuser2019(at)gmail(dot)com>, pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: PSQL performance - TPS
Date: 2019-08-01 18:06:33
Message-ID: CADrzpjG-JpxHVBZDYB_qtZyxmOPu_H=J1oirmyCdzAqp+RMi5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I am not very surprised with these results. However, what’s the disk type?
That can matter quite a bit.

On Thu, 1 Aug 2019 at 10:51 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:

> Hi,
>
> On 2019-08-01 08:40:53 +0530, Shital A wrote:
> > Need help in:
> > 1. On this env(8core cpu, 16GB) what is the TPS that we can expect? We
> have
> > tested with a simple Java code firing insert and commit in a loop on a
> > simple table with one column. We get 1200 rows per sec. If we increase
> > threads RPS decrease.
> >
> > 2. We have tuned some DB params like shared_buffers, sync_commit off, are
> > there any other pointers to tune DB params?
>
> 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?
>
> Are your clients in the same datacenter as your database? Otherwise it
> could be that you're mostly seeing latency effects.
>
> Greetings,
>
> Andres Freund
>
>
>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Andres Freund 2019-08-01 18:14:58 Re: PSQL performance - TPS
Previous Message Andres Freund 2019-08-01 17:21:28 Re: PSQL performance - TPS