pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Purav Chovatia <puravc@gmail.com>
Cc: Shital A <brightuser2019@gmail.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: PSQL performance - TPS
Date: Thu, 1 Aug 2019 11:14:58 -0700
Message-ID: <20190801181458.52zcdeahsj3fpwup@alap3.anarazel.de> (raw)
In-Reply-To: <CADrzpjG-JpxHVBZDYB_qtZyxmOPu_H=J1oirmyCdzAqp+RMi5g@mail.gmail.com>
References: <CAMp7vw8hHwVs-99Pph4GwmVENYaa5HGVVaa8_ED=FPbdf42ovQ@mail.gmail.com>
	<20190801172128.ct3absxmogavdv6v@alap3.anarazel.de>
	<CADrzpjG-JpxHVBZDYB_qtZyxmOPu_H=J1oirmyCdzAqp+RMi5g@mail.gmail.com>

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





view thread (9+ messages)  latest in thread

Message-ID: <20190801181458.52zcdeahsj3fpwup@alap3.anarazel.de>
Permalink:  ../20190801181458.52zcdeahsj3fpwup@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20190801181458.52zcdeahsj3fpwup@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andres@anarazel.de, puravc@gmail.com, brightuser2019@gmail.com, pgsql-performance@lists.postgresql.org
  Subject: Re: PSQL performance - TPS
  In-Reply-To: <20190801181458.52zcdeahsj3fpwup@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox