Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id DCC301337B84 for ; Sun, 21 Nov 2010 23:37:22 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 44203-04 for ; Mon, 22 Nov 2010 03:37:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qmta15.westchester.pa.mail.comcast.net (qmta15.westchester.pa.mail.comcast.net [76.96.59.228]) by mail.postgresql.org (Postfix) with ESMTP id C367B1335B36 for ; Sun, 21 Nov 2010 23:37:14 -0400 (AST) Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) by qmta15.westchester.pa.mail.comcast.net with comcast id a2Gx1f0020xGWP85F3dGA3; Mon, 22 Nov 2010 03:37:16 +0000 Received: from sz0093.wc.mail.comcast.net ([76.96.58.151]) by omta12.westchester.pa.mail.comcast.net with comcast id a3dE1f00B3FmDic3Y3dErE; Mon, 22 Nov 2010 03:37:16 +0000 Date: Mon, 22 Nov 2010 03:37:14 +0000 (UTC) From: Lou Picciano To: jd@commandprompt.com Cc: Tom Lane , pgsql-admin Message-ID: <1557390103.902044.1290397034758.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> In-Reply-To: <1290396080.10258.12401.camel@jd-desktop> Subject: Re: binary logs: a location other than pg_xlog?? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_902043_95986081.1290397034757" X-Originating-IP: [68.39.28.247] X-Mailer: Zimbra 6.0.5_GA_2431.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/6.0.5_GA_2427.RHEL4) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.908 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RFC_ABUSE_POST=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/173 X-Sequence-Number: 36139 ------=_Part_902043_95986081.1290397034757 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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" To: "Lou Picciano" Cc: "Tom Lane" , "pgsql-admin" 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" > To: "Lou Picciano" > Cc: "pgsql-admin" > Sent: Sunday, November 21, 2010 7:54:55 PM > Subject: Re: [ADMIN] binary logs: a location other than pg_xlog?? > > Lou Picciano 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 ------=_Part_902043_95986081.1290397034757 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Verdana; font-size: 12pt; color: #000000'>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@com= mandprompt.com>
To: "Lou Picciano" <loupicciano@comcast.net>Cc: "Tom Lane" <tgl@sss.pgh.pa.us>, "pgsql-admin" <pgsql-admin@po= stgresql.org>
Sent: Sunday, November 21, 2010 10:21:20 PM
Subject:= Re: [ADMIN] binary logs: a location other than pg_xlog??

On Mon, 20= 10-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
pr= otection (that is garnered by using RAID). It is for performance.
Xlogs = are written sequentially and can greatly benefit from not being
where th= e data pages are as they are written randomly.

JD
>
> <= br>> Thanks for your response.
>
> ----- Original Message = -----
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
> To: "Lou= Picciano" <loupicciano@comcast.net>
> Cc: "pgsql-admin" <p= gsql-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> write= s:
> > Admin Friends, Can someone tell me the conf variablee to c= hange
> location of binary logs? Would like to store logs in a locati= on 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, Cus= tom Development, Engineering
http://twitter.com/cmdpromptinc | http://id= enti.ca/commandprompt

------=_Part_902043_95986081.1290397034757--