X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 761CF9FA5E2 for ; Tue, 30 May 2006 13:11:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 34634-07 for ; Tue, 30 May 2006 13:11:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from server.nextgap2000.com (server.nextgap2000.com [66.98.160.7]) by postgresql.org (Postfix) with ESMTP id 83B7B9FA5DD for ; Tue, 30 May 2006 13:11:24 -0300 (ADT) Received: from 85.64.46.244.dynamic.barak-online.net ([85.64.46.244] helo=jonathanlaptop) by server.nextgap2000.com with esmtpa (Exim 4.52) id 1Fl6oM-0006rg-2M; Tue, 30 May 2006 19:11:20 +0300 From: "Jonathan Blitz" To: "'Francisco Reyes'" Cc: Subject: Re: Adding and filling new column on big table Date: Tue, 30 May 2006 19:11:30 +0200 Message-ID: <00d201c6840c$2543eb80$ddf71005@jonathanlaptop> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 In-reply-to: Thread-Index: AcaEAgxu43PlolVPQLuJRPcvUE1A7wACYUGQ X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.nextgap2000.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - anykey.co.il X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/529 X-Sequence-Number: 19316 > > > Could you do the updates in batches instead of trying to do them all at > once? Nope. Didn't think it would make any difference. > > Have you done a vacuum full on this table ever? Many times > > What hardware? > I have a dual CPU opteron with 4GB of RAM and 8 disks in RAID 10 (SATA). > Doing an update on a 5 million record table took quite a while, but it did > fininish. :-) I am using a laptop :). Pentium 4 (not 4M) with 1GB of memory - 2 MHZ Must do it on that since the program is aimed for use at home. Jonathan -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.4/351 - Release Date: 05/29/2006