From: Ravi Krishna <srkrishna@yahoo.com>
To: Steve Atkins <steve@blighty.com>
Cc: PG mailing List <pgsql-general@lists.postgresql.org>
Subject: Re: Load data from a csv file without using COPY
Date: Tue, 19 Jun 2018 17:14:53 -0400
Message-ID: <BA19C38F-C515-4F58-92E5-2C3473A9E604@yahoo.com> (raw)
In-Reply-To: <E483F41A-31A6-450D-9BE7-97AC0294BCD3@blighty.com>
References: <AE89FBE5-B726-4108-925F-449E34D24651@yahoo.com>
<E483F41A-31A6-450D-9BE7-97AC0294BCD3@blighty.com>
>
> 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.
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: srkrishna@yahoo.com, steve@blighty.com
Subject: Re: Load data from a csv file without using COPY
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>
* 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