Re: Speeding up INSERTs and UPDATEs to partitioned tables - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Speeding up INSERTs and UPDATEs to partitioned tables
Date
Msg-id 20181116171723.kfscvwk3wc7kn3o4@alvherre.pgsql
Whole thread Raw
In response to Re: Speeding up INSERTs and UPDATEs to partitioned tables  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
I repeated David's original tests not terribly rigorously[*] and got
these numbers:

* Unpatched:    72.396196
* 0001     :    77.279404
* 0001+0002: 20409.415094
*      0002:   816.606613
* control  : 22969.140596 (insertion into unpartitioned table)

So while this patch by itself gives a pretty lame increase in tps, it
removes bottlenecks that will appear once we change the locking scheme.

[*] On my laptop, running each test only once for 60s.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] PATCH: Keep one postmaster monitoring pipe per process
Next
From: Tom Lane
Date:
Subject: Re: BUG #15449: file_fdw using program cause exit code error when using LIMIT