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 20181116133858.63uggshkl3vhqvcf@alvherre.pgsql
Whole thread Raw
In response to Re: Speeding up INSERTs and UPDATEs to partitioned tables  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: Speeding up INSERTs and UPDATEs to partitioned tables
List pgsql-hackers
One thing I don't quite like is the inconsistency in handling memory
context switches in the various function allocating stuff.  It seems
rather haphazard.  I'd rather have a memcxt member in
PartitionTupleRouting, which is set when the struct is created, and then
have all the other functions allocating stuff use that one.

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


pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: wal_dump output on CREATE DATABASE
Next
From: James Coleman
Date:
Subject: Re: Convert MAX_SAOP_ARRAY_SIZE to new guc