Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 333C9476B1F for ; Fri, 1 Nov 2002 11:48:04 -0500 (EST) Received: from bob.samurai.com (bob.samurai.com [205.207.28.75]) by postgresql.org (Postfix) with ESMTP id B9EBF476AE6 for ; Fri, 1 Nov 2002 11:48:03 -0500 (EST) Received: from tokyo.samurai.com (DU150.N224.ResNet.QueensU.CA [130.15.224.150]) by bob.samurai.com (Postfix) with ESMTP id 230311E18; Fri, 1 Nov 2002 11:48:08 -0500 (EST) To: Kevin Old Cc: pgsql , scott.marlowe@ihs.com Subject: Re: my.cnf to postgresql.conf Conversion References: <1036167036.3178.29.camel@oc> From: Neil Conway In-Reply-To: <1036167036.3178.29.camel@oc> Date: 01 Nov 2002 11:48:06 -0500 Message-ID: <877kfxme2h.fsf@mailbox.samurai.com> Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/32 X-Sequence-Number: 32454 Kevin Old 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 || PGP Key ID: DB3C29FC