Question about COPY to/from

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Question about COPY to/from
Date: 2006-02-20 22:39:49
Message-ID: 43FA4535.5010104@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

We have millions of record and would like to insert into a table. I
remebered people mentioned that "COPY" is the most effecient way to
insert data, right? If not, which is it, pg_restore?

By the way, does it have to be superuser to run copy to and from?

Thanks a lot,
Emi

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-02-20 22:40:21 Re: How do I use the backend APIs
Previous Message Greg Stark 2006-02-20 22:30:06 Re: Mixing different LC_COLLATE and database encodings