Re: Transaction Log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In response to Mark Mielke <mark@xxxxxxxxxxxxxx>:

> mbguy2000-1@xxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx
Phone: 412-422-3463x4023

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux