pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ravi Krishna <srkrishna@yahoo.com>
To: PG mailing List <pgsql-general@lists.postgresql.org>
Subject: Load data from a csv file without using COPY
Date: Tue, 19 Jun 2018 16:16:41 -0400
Message-ID: <AE89FBE5-B726-4108-925F-449E34D24651@yahoo.com> (raw)

In order to test a real life scenario (and use it for benchmarking) I want to load large number of data from csv files.  
The requirement is that the load should happen like an application writing to the database ( that is, no COPY command). 
Is there a tool which can do the job.  Basically parse the csv file and insert it to the database row by row.

thanks







view thread (29+ messages)  latest in thread

Message-ID: <AE89FBE5-B726-4108-925F-449E34D24651@yahoo.com>
Permalink:  ../AE89FBE5-B726-4108-925F-449E34D24651@yahoo.com/
Also on:    postgresql.org/message-id/AE89FBE5-B726-4108-925F-449E34D24651@yahoo.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 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
  Subject: Re: Load data from a csv file without using COPY
  In-Reply-To: <AE89FBE5-B726-4108-925F-449E34D24651@yahoo.com>
  References: <AE89FBE5-B726-4108-925F-449E34D24651@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