Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id F35B69FA5C0 for ; Wed, 29 Aug 2007 17:22:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 43279-09 for ; Wed, 29 Aug 2007 17:21:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by postgresql.org (Postfix) with ESMTP id 122BB9FA527 for ; Wed, 29 Aug 2007 17:21:57 -0300 (ADT) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (vanquish.pitbpa0.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 29 Aug 2007 16:21:53 -0400 id 00056417.46D5D562.00005BC8 Date: Wed, 29 Aug 2007 16:21:53 -0400 From: Bill Moran To: Mark Mielke Cc: mbguy2000-1@yahoo.com, pgsql-performance@postgresql.org Subject: Re: Transaction Log Message-Id: <20070829162153.cc48bced.wmoran@collaborativefusion.com> In-Reply-To: <46D5CEDD.5010303@mark.mielke.cc> References: <782718.73151.qm@web31603.mail.mud.yahoo.com> <46D5CEDD.5010303@mark.mielke.cc> Organization: Collaborative Fusion X-Mailer: Sylpheed 2.4.4 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/388 X-Sequence-Number: 26518 In response to Mark Mielke : > mbguy2000-1@yahoo.com wrote: > > For best performance, the transaction log should be on a separate disk. > > > > Does the writing of the log benefit from a battery backed controller > > as well? If not, what do people think about writing the transaction > > log to a flash card or the like? Flash cards write _very_ slowly. > How popular are the battery backed RAM drives that exist today? I don't > recall seeing them spoken about in this mailing list. The local geek > shop has these devices on sale. Are they still too expensive? I've seen them around and as best I can tell, they're pretty inexpensive. The main drawback is the storage, you'd be looking at the price of the card, plus the price of however much RAM you wanted on it. http://www.amazon.com/Gigabyte-GC-RAMDISK-i-RAM-Hard-Drive/dp/B000EPM9NC/ref=pd_bbs_sr_1/102-3968336-1618519?ie=UTF8&s=electronics&qid=1188418613&sr=8-1 http://techreport.com/articles.x/9312/1 Up to 4G, but you have to add the price of the RAM on to the price of the card. In the case of WAL logs, you could probably get away with a lot less space than many other usages, so they might be very practical. -- Bill Moran Collaborative Fusion Inc. http://people.collaborativefusion.com/~wmoran/ wmoran@collaborativefusion.com Phone: 412-422-3463x4023