From: Mitch Vincent <mitch@doot.org>
To: pgsql-admin@postgresql.org
Subject: Re: poor performance of loading data
Date: Wed, 19 Dec 2001 11:31:25 -0700
Message-ID: <021701c188bb$5e2ca2d0$0200000a@Mitch> (raw)
References: <5511D658682A7740BA295CCF1E1233A635A81E@VSVAPOSTAL2.prod.netsol.com>
Are the rows huge? What kind of machine hardware-wise are we talking
about? Did you start the postmaster with fsync disabled? I generally turn
fsync off for importing, the improvement is amazing :-)
Good luck!
-Mitch
----- Original Message -----
From: "Zhang, Anna" <azhang@verisign.com>
To: <pgsql-admin@postgresql.org>
Sent: Wednesday, December 19, 2001 10:57 AM
Subject: [ADMIN] poor performance of loading data
>
> I just installed Postgres 7.1.3 on my Red Hat 7.2 linux box. We are doing
> research to see how postgres doing, I used copy utility to import data
from
> a text file which contains 32 mils rows, it has been 26 hours passed, but
> still running. My question is how postgres handles such data loading? it
> commited every row? or commit point is adjustable? How? Does postgres
> provide direct load to disk files like oracle? Other ways to speed up? If
> loading performance can't be improved significantly, we have to go back to
> oracle. Anybody can help? Thanks!
>
> Anna Zhang
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
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-admin@postgresql.org
Cc: mitch@doot.org
Subject: Re: poor performance of loading data
In-Reply-To: <021701c188bb$5e2ca2d0$0200000a@Mitch>
References: <5511D658682A7740BA295CCF1E1233A635A81E@VSVAPOSTAL2.prod.netsol.com> <021701c188bb$5e2ca2d0$0200000a@Mitch>
* 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