From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Load data from a csv file without using COPY
Date: Tue, 19 Jun 2018 15:24:10 -0600
Message-ID: <44b6d6c0-b217-79bd-1bcf-b693817df047@gmail.com> (raw)
In-Reply-To: <BA19C38F-C515-4F58-92E5-2C3473A9E604@yahoo.com>
References: <AE89FBE5-B726-4108-925F-449E34D24651@yahoo.com>
<E483F41A-31A6-450D-9BE7-97AC0294BCD3@blighty.com>
<BA19C38F-C515-4F58-92E5-2C3473A9E604@yahoo.com>
On 06/19/2018 03:14 PM, Ravi Krishna wrote:
>> If performance is relevant then your app should probably be using COPY protocol, not line by line inserts. It's
>> supported by most postgresql access libraries. If your app does that then using "\copy" from psql would be
>> an appropriate benchmark.
> Actually the reluctance to not use COPY is to make the benchmark same across two different RDBMS in
> two diff env.
If bulk loading is the actual production target, all your RDBMS choices
have their own loaders. I suggest that is what you ought tocompare.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robjsargent@gmail.com
Subject: Re: Load data from a csv file without using COPY
In-Reply-To: <44b6d6c0-b217-79bd-1bcf-b693817df047@gmail.com>
References: <AE89FBE5-B726-4108-925F-449E34D24651@yahoo.com> <E483F41A-31A6-450D-9BE7-97AC0294BCD3@blighty.com> <BA19C38F-C515-4F58-92E5-2C3473A9E604@yahoo.com> <44b6d6c0-b217-79bd-1bcf-b693817df047@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox