Re: binary logs: a location other than pg_xlog??

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

 



On Mon, 2010-11-22 at 03:09 +0000, Lou Picciano wrote:
> Really? Wouldn't it be good general practice to store the xlogs on a
> different filesystem - offering one further layer of protection, if
> you will? L 

Best practice is to move the xlogs to another filesystem but not for
protection (that is garnered by using RAID). It is for performance.
Xlogs are written sequentially and can greatly benefit from not being
where the data pages are as they are written randomly.

JD
> 
> 
> Thanks for your response. 
> 
> ----- Original Message ----- 
> From: "Tom Lane" <tgl@xxxxxxxxxxxxx> 
> To: "Lou Picciano" <loupicciano@xxxxxxxxxxx> 
> Cc: "pgsql-admin" <pgsql-admin@xxxxxxxxxxxxxx> 
> Sent: Sunday, November 21, 2010 7:54:55 PM 
> Subject: Re:  binary logs: a location other than pg_xlog?? 
> 
> Lou Picciano <loupicciano@xxxxxxxxxxx> writes: 
> > Admin Friends, Can someone tell me the conf variablee to change
> location of binary logs? Would like to store logs in a location other
> than pg_xlog in cluster data dir. 
> 
> There is no such setting. But if you're so inclined you can make 
> pg_xlog be a symlink to some other directory. 
> 
> regards, tom lane 
-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt


-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux