public inbox for [email protected]  
help / color / mirror / Atom feed
From: Русинов Семен <[email protected]>
To: Frits Jalvingh <[email protected]>
To: Vladimir Sitnikov <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: Improving PostgreSQL insert performance
Date: Mon, 4 May 2026 23:03:41 +0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKhTGFVZh81W8hZAdV5KbEsTrKwebBG+1MG1x5b7Gr=ujyn7mA@mail.gmail.com>
References: <[email protected]>
	<CAKhTGFVTvFxsfngDNgQV-ciWYFn6aXROwGj6s4Gqkqa0bTusJw@mail.gmail.com>
	<CAOR=d=1CYLvtesjcCmC95rWZSzJ02pYZyfJ8SA9jfx-CCekx3A@mail.gmail.com>
	<CAKhTGFXiU_t_EiB37q-H897pFqQY9a=hDAuAZV7T3dLMTsvSiw@mail.gmail.com>
	<CA+wvBw0P92PF95hewt5OWc_9oQByJTwEynV=Lv2MdguB2o-kFQ@mail.gmail.com>
	<CAKhTGFVBu3Zrsp6oRSpTEgWvnie4Wbx++P6=WTfZOWptLOKj+Q@mail.gmail.com>
	<[email protected]>
	<CAKhTGFW2xJ9cmRSge3rMpVzBK73_oWSPWQrqF-TYeCtuTKGXjA@mail.gmail.com>
	<[email protected]>
	<CAKhTGFVoxFfh+5+ZkEb3s_ynb2HnTRzaOBPvK1Tpy0+7GfM2BQ@mail.gmail.com>
	<[email protected]>
	<CAKhTGFUi7DsN7Y4ECLA5o0CepwkWjPh-pdOhfFbE36h2dL+e9g@mail.gmail.com>
	<CAB=Je-Hh4ieW2Sv0HcAbaAnrf6xV_dK+OQ536ELNtY6619KF0A@mail.gmail.com>
	<CAKhTGFVZh81W8hZAdV5KbEsTrKwebBG+1MG1x5b7Gr=ujyn7mA@mail.gmail.com>

Hello Frits,

Would you mind sharing an updated link to your benchmark and source code?


I am also currently tuning postgresql single insert performance for the 
outbox pattern. And I'm stuck at 35k inserts per second. However, it 
doesn't look like I have reached hardware limit. CPU usage is moderate, 
around 20%, RAM is also 20% free. I've tried all sorts of optimizations 
but still can't get pass through this RPS, and neither can I understand 
what is limiting postgres from inserting at a faster pace.

Best regards,
Simon

On 6/10/17 16:12, Frits Jalvingh wrote:
>
> On Sat, Jun 10, 2017 at 12:08 AM Vladimir Sitnikov 
> <[email protected]> wrote:
>
>     Would you mind sharing the source code of your benchmark?
>
>
> The source code for the several tests, plus the numbers collected so 
> far, can be found at:
>
> https://etc.to/confluence/display/~admjal/PostgreSQL+performance+tests
>
> Regards,
>
> Frits

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Improving PostgreSQL insert performance
  In-Reply-To: <[email protected]>

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

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