Re: postgres copy command very slow. - Mailing list pgsql-admin

From Sam Barnett-Cormack
Subject Re: postgres copy command very slow.
Date
Msg-id Pine.LNX.4.58.0403270257280.15225@short.lancs.ac.uk
Whole thread Raw
In response to postgres copy command very slow.  (Hemapriya <priyam_1121@yahoo.com>)
List pgsql-admin
On Fri, 26 Mar 2004, Hemapriya wrote:

> Hi,
>
> We have postgresql 7.4.1 running on Mac OS.we are
> doing a conversion from mysql to postgres. I'm
> importing the table dumps using copy command in
> postgres. Copy takes 2 min to import 427938 rows in
> one table and at the same time it takes more than 2
> hrs for 2415768 rows.. no of columns are similar in
> both the tables. i'm not able to figure out why it is
> getting too slower?

Are the field types the same? Indexes on the two tables?

For the best chance of a good diagnosis, please post full details of
both tables - constraints, indexes, and field types at least.

--

Sam Barnett-Cormack
Software Developer                           |  Student of Physics & Maths
UK Mirror Service (http://www.mirror.ac.uk)  |  Lancaster University

pgsql-admin by date:

Previous
From: listas@lozano.eti.br
Date:
Subject: Re: License for PostgreSQL for commercial purpose
Next
From: "Murthy Kambhampaty"
Date:
Subject: Re: [Retrieved]RE: backup and recovery