pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-performance@lists.postgresql.org
Subject: Re: Table with large number of int columns, very slow COPY FROM
Date: Fri, 8 Dec 2017 08:20:40 +0100
Message-ID: <817fe5f2-c15e-4369-15ce-1e26f74bbbca@a-kretschmer.de> (raw)
In-Reply-To: <D64F5359.2993D%dwalin@dwalin.ru>
References: <D64F5359.2993D%dwalin@dwalin.ru>



On 08.12.2017 05:21, Alex Tokarev wrote:
> I have made a minimally reproducible test case consisting of a table 
> with 848 columns

Such a high number of columns is maybe a sign of a wrong table / 
database design, why do you have such a lot of columns? How many indexes 
do you have?

Regards, Andreas




view thread (3+ messages)  latest in thread

Message-ID: <817fe5f2-c15e-4369-15ce-1e26f74bbbca@a-kretschmer.de>
Permalink:  ../817fe5f2-c15e-4369-15ce-1e26f74bbbca@a-kretschmer.de/
Also on:    postgresql.org/message-id/817fe5f2-c15e-4369-15ce-1e26f74bbbca@a-kretschmer.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andreas@a-kretschmer.de, pgsql-performance@lists.postgresql.org
  Subject: Re: Table with large number of int columns, very slow COPY FROM
  In-Reply-To: <817fe5f2-c15e-4369-15ce-1e26f74bbbca@a-kretschmer.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox