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 526CC9FADD1 for ; Tue, 30 May 2006 17:07: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 08649-01 for ; Tue, 30 May 2006 17:07:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id D97C39FA5E9 for ; Tue, 30 May 2006 17:07:17 -0300 (ADT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Tue, 30 May 2006 20:07:15 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 30 May 2006 15:07:15 -0500 Subject: Re: Adding and filling new column on big table From: Scott Marlowe To: Jonathan Blitz Cc: 'Francisco Reyes' , pgsql-performance@postgresql.org In-Reply-To: <012501c6842c$bb8438f0$ddf71005@jonathanlaptop> References: <012501c6842c$bb8438f0$ddf71005@jonathanlaptop> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1149019635.25526.94.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 30 May 2006 15:07:15 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/535 X-Sequence-Number: 19322 On Tue, 2006-05-30 at 16:04, Jonathan Blitz wrote: > > > > Most laptop drives are only 5,400 RPM which would make a transaction like > > you are describing likely take a while. > > Not sure what my one is but it is new(ish). > > > > > No desktop at home you could try it on? > > I think the problem with the laptop is likely it's drive. > > I suppose I could do but I need to install PostgreSQL there and then copy > over the database. Keep in mind, most, if not all IDE drives lie about fsync, so the speed of the drive is a limit only if you're actually writing a lot of data. If you're doing a lot of little transactions, the drive should be lying and holding the data in cache on board, so the speed should be OK.