pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_xlog location
2+ messages / 2 participants
[nested] [flat]

* pg_xlog location
@ 2006-02-14 11:38  Arnau <arnaulist@andromeiberica.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Arnau @ 2006-02-14 11:38 UTC (permalink / raw)
  To: pgsql-admin

Hi all,

   I'd like to place the database transaction log (pg_xlog) to a 
separeted disk. I haven't found any place in the configuration to 
specify the location of this log. Googling a bit I have found the following:

1. Shut it down the database.
2. Move data/pg_xlog to another drive.
3. Symlink data/pg_xlog to this other drive.
4. Restart the database.

and I'm wondering, is this the way to do it? or there is a better way?


Thanks



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_xlog location
@ 2006-02-14 15:09  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Arnau <arnaulist@andromeiberica.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2006-02-14 15:09 UTC (permalink / raw)
  To: arnaulist@andromeiberica.com; +Cc: pgsql-admin

Arnau <arnaulist@andromeiberica.com> writes:
> Googling a bit I have found the following:

> 1. Shut it down the database.
> 2. Move data/pg_xlog to another drive.
> 3. Symlink data/pg_xlog to this other drive.
> 4. Restart the database.

> and I'm wondering, is this the way to do it? or there is a better way?

That's the way to do it.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-02-14 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-02-14 11:38 pg_xlog location Arnau <arnaulist@andromeiberica.com>
2006-02-14 15:09 ` Tom Lane <tgl@sss.pgh.pa.us>

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