pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lou Picciano <loupicciano@comcast.net>
To: jd@commandprompt.com
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: binary logs: a location other than pg_xlog??
Date: Mon, 22 Nov 2010 03:37:14 +0000 (UTC)
Message-ID: <1557390103.902044.1290397034758.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> (raw)
In-Reply-To: <1290396080.10258.12401.camel@jd-desktop>

Sure - of course - performance, too! It just seems like such an obvious candidate for a configurable option; I'm a bit surprised it isn't in there... L 

----- Original Message ----- 
From: "Joshua D. Drake" <jd@commandprompt.com> 
To: "Lou Picciano" <loupicciano@comcast.net> 
Cc: "Tom Lane" <tgl@sss.pgh.pa.us>, "pgsql-admin" <pgsql-admin@postgresql.org> 
Sent: Sunday, November 21, 2010 10:21:20 PM 
Subject: Re: [ADMIN] binary logs: a location other than pg_xlog?? 

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@sss.pgh.pa.us> 
> To: "Lou Picciano" <loupicciano@comcast.net> 
> Cc: "pgsql-admin" <pgsql-admin@postgresql.org> 
> Sent: Sunday, November 21, 2010 7:54:55 PM 
> Subject: Re: [ADMIN] binary logs: a location other than pg_xlog?? 
> 
> Lou Picciano <loupicciano@comcast.net> 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 

view thread (13+ messages)  latest in thread

Message-ID: <1557390103.902044.1290397034758.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
Permalink:  ../1557390103.902044.1290397034758.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net/
Also on:    postgresql.org/message-id/1557390103.902044.1290397034758.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: loupicciano@comcast.net, jd@commandprompt.com, tgl@sss.pgh.pa.us
  Subject: Re: binary logs: a location other than pg_xlog??
  In-Reply-To: <1557390103.902044.1290397034758.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
  References: <1290396080.10258.12401.camel@jd-desktop> <1557390103.902044.1290397034758.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox