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

From Jesper Pedersen
Subject Re: Speeding up INSERTs and UPDATEs to partitioned tables
Date
Msg-id 06524959-fda8-cff9-6151-728901897b79@redhat.com
Whole thread Raw
In response to Re: Speeding up INSERTs and UPDATEs to partitioned tables  (David Rowley <david.rowley@2ndquadrant.com>)
List pgsql-hackers
On 11/4/18 5:07 AM, David Rowley wrote:
> I've attached v13 which hopefully addresses these.
> 

I ran a test against the INSERT case using a 64 hash partition.

Non-partitioned table: ~73k TPS
Master: ~25k TPS
0001: ~26k TPS
0001 + 0002: ~68k TPS

The profile of 0001 shows that almost all of 
ExecSetupPartitionTupleRouting() is find_all_inheritors(), hence the 
last test with a rebase of the original v1-0002 patch.

Best regards,
  Jesper


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: ATTACH/DETACH PARTITION CONCURRENTLY
Next
From: Robert Haas
Date:
Subject: Re: ATTACH/DETACH PARTITION CONCURRENTLY