Re: Improving PostgreSQL insert performance - Mailing list pgsql-performance

From Русинов Семен
Subject Re: Improving PostgreSQL insert performance
Date
Msg-id 8b0f6c9b-d9c9-4971-b9ac-e1d0d69f3d98@gmail.com
Whole thread
In response to Re: [PERFORM] Improving PostgreSQL insert performance  (Frits Jalvingh <jal@etc.to>)
List pgsql-performance

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 <sitnikov.vladimir@gmail.com> 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:


Regards,

Frits

pgsql-performance by date:

Previous
From: Ilya Anfimov
Date:
Subject: Re: Postgres DB backup is taking too much time
Next
From: Русинов Семен
Date:
Subject: Improving insert performance