Re: COPY performance

From: Francisco Reyes <lists(at)natserv(dot)com>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: COPY performance
Date: 2002-04-19 16:08:58
Message-ID: 20020419115726.D76398-100000@zoraida.natserv.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On Sat, 13 Apr 2002, Nigel J. Andrews wrote:
> > I'm trying to COPY in a table of 1 million rows. The table is created by:
> I forgot to mention that even with 99% of the CPU it still takes a pretty long
> time to load 300,000 rows, it's still working on the second batch and I think I
> kicked the first off 30-60 minutes ago.
>
> Also:
>
> =>select version();
> version
> ----------------------------------------------------------------------
> PostgreSQL 7.2.1 on i386-unknown-freebsd3.3, compiled by GCC 2.7.2.3

Coming late to the party. :-)
How about telling us about your complete setup?
SYS V memory settings.
Type of disks (SCSI, rpm, etc).

I merge 4.5 M records in less than 20 minutes. The file loaded is about
160MB. The Machine is Pentium 4, 2GB Ram, 2 SCSI disks for the databa (10K
rpm), base directory in one disk and logs in another.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message James Kelty 2002-04-19 17:33:06 JDBC and servlet...
Previous Message Nigel J. Andrews 2002-04-19 12:14:13 Re: Alter/update large tables - VERRRY annoying behaviour!

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2002-04-19 16:15:12 Re: Critical performance problems on large databases
Previous Message Vince Vielhaber 2002-04-19 16:00:38 Re: Troubleshooting cored dumps