agora inbox for pgsql-performance@postgresql.org
help / color / mirror / Atom feedFrom: Nicolas Paris <niparisco@gmail.com>
To: Frits Jalvingh <jal@etc.to>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Kenneth Marshall <ktm@rice.edu>
Cc: Andreas Kretschmer <andreas@a-kretschmer.de>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Improving PostgreSQL insert performance
Date: Sat, 10 Jun 2017 22:12:35 +0200
Message-ID: <20170610201235.GA8502@gmail.com> (raw)
In-Reply-To: <CAKhTGFXiU_t_EiB37q-H897pFqQY9a=hDAuAZV7T3dLMTsvSiw@mail.gmail.com>
References: <CAKhTGFX-ChBSjqENrAv8uqUR_H5PTvf14jG0cOAq6c-ami_7sQ@mail.gmail.com>
<9e2a0a34-dd83-43af-d41a-791b34ff76e1@a-kretschmer.de>
<20170609132857.GC26506@aart.rice.edu>
<CAKhTGFVTvFxsfngDNgQV-ciWYFn6aXROwGj6s4Gqkqa0bTusJw@mail.gmail.com>
<CAOR=d=1CYLvtesjcCmC95rWZSzJ02pYZyfJ8SA9jfx-CCekx3A@mail.gmail.com>
<CAKhTGFXiU_t_EiB37q-H897pFqQY9a=hDAuAZV7T3dLMTsvSiw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
> I tried the copy command, and that indeed works quite brilliantly:
> Inserted 24000000 rows in 22004 milliseconds, 1090710.7798582076 rows per
> second
>
> That's faster than Oracle. But with a very bad interface I have to say for
> normal database work.. I will try to make this work in the tooling, but it
> needs some very special code to format all possible values properly, and to
> manage the end of the copy, so it is not usable in general which is a pity, I
> think.
Have you thought about the COPY with binary format ? Thats looks more
robust than the text format you used in your benchmarks.
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
view thread (29+ messages) latest in thread
Message-ID: <20170610201235.GA8502@gmail.com>
Permalink: ../20170610201235.GA8502@gmail.com/
Also on: postgresql.org/message-id/20170610201235.GA8502@gmail.com
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: niparisco@gmail.com, jal@etc.to, scott.marlowe@gmail.com, ktm@rice.edu, andreas@a-kretschmer.de
Subject: Re: Improving PostgreSQL insert performance
In-Reply-To: <20170610201235.GA8502@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox