pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpostgres copy command very slow.
2+ messages / 2 participants
[nested] [flat]
* postgres copy command very slow.
@ 2004-03-26 20:33 Hemapriya <priyam_1121@yahoo.com>
2004-03-27 02:58 ` Re: postgres copy command very slow. Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
0 siblings, 1 reply; 2+ messages in thread
From: Hemapriya @ 2004-03-26 20:33 UTC (permalink / raw)
To: pgsql-admin
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?
Does anyone know why there is lot of difference in
performance?
Any hint is highly appreciated.
regards
Priya
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: postgres copy command very slow.
2004-03-26 20:33 postgres copy command very slow. Hemapriya <priyam_1121@yahoo.com>
@ 2004-03-27 02:58 ` Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
0 siblings, 0 replies; 2+ messages in thread
From: Sam Barnett-Cormack @ 2004-03-27 02:58 UTC (permalink / raw)
To: Hemapriya <priyam_1121@yahoo.com>; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-03-27 02:58 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-03-26 20:33 postgres copy command very slow. Hemapriya <priyam_1121@yahoo.com>
2004-03-27 02:58 ` Sam Barnett-Cormack <s.barnett-cormack@lancaster.ac.uk>
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