pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: Kevin Old <kold@carolina.rr.com>
Cc: pgsql <pgsql-general@postgresql.org>
Cc: scott.marlowe@ihs.com
Subject: Re: my.cnf to postgresql.conf Conversion
Date: 01 Nov 2002 11:48:06 -0500
Message-ID: <877kfxme2h.fsf@mailbox.samurai.com> (raw)
In-Reply-To: <1036167036.3178.29.camel@oc>
References: <Pine.LNX.4.33.0210311527280.6618-100000@css120.ihs.com>
	<1036167036.3178.29.camel@oc>

Kevin Old <kold@carolina.rr.com> writes:
> My perl code and tables/queries are as optimized as they can
> be....postgres shows that the size is only about 3,000K when viewed in
> top and running the copy command......so I assume it's problem with
> memory allocation.

Disabling fsync should help. Also, consider removing any indexes /
foreign keys on the table you're copying into, and then re-adding them
when the bulk load is finished.

Cheers,

Neil

-- 
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC




view thread (7+ messages)  latest in thread

Message-ID: <877kfxme2h.fsf@mailbox.samurai.com>
Permalink:  ../877kfxme2h.fsf@mailbox.samurai.com/
Also on:    postgresql.org/message-id/877kfxme2h.fsf@mailbox.samurai.com

 · 

reply

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: neilc@samurai.com, kold@carolina.rr.com, pgsql-general@postgresql.org, scott.marlowe@ihs.com
  Subject: Re: my.cnf to postgresql.conf Conversion
  In-Reply-To: <877kfxme2h.fsf@mailbox.samurai.com>
  References: <Pine.LNX.4.33.0210311527280.6618-100000@css120.ihs.com> <1036167036.3178.29.camel@oc> <877kfxme2h.fsf@mailbox.samurai.com>

* 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