Re: Speeding up INSERTs and UPDATEs to partitioned tables

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: "Kato, Sho" <kato-sho(at)jp(dot)fujitsu(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Speeding up INSERTs and UPDATEs to partitioned tables
Date: 2018-07-05 09:18:56
Message-ID: CAKJS1f9Nv8o6RH7Kgf_dRr5LVw0tKjHRu0YiqGyQ8rQw5sa-FQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5 July 2018 at 18:39, Kato, Sho <kato-sho(at)jp(dot)fujitsu(dot)com> wrote:
> postgres=# create table a(i int) partition by range(i);
> CREATE TABLE
> postgres=# create table a_1 partition of a for values from(1) to (200);
> CREATE TABLE
> postgres=# create table a_2 partition of a for values from(200) to (400);
> server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
> The connection to the server was lost. Attempting reset: Failed.

Hi,

Thanks for testing. I'm unable to reproduce this on beta2 or master as
of f61988d16.

Did you try make clean then building again? The 0001 patch does
change PartitionDescData, so if you've not rebuilt all .c files which
use that then that might explain your crash.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Abinaya k 2018-07-05 09:55:47 Regarding shared_preload_libraries (postgresql.conf file)
Previous Message Srinivas Karthik V 2018-07-05 08:48:49 Re: Bulk Insert into PostgreSQL