pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPutting Transaction Logs and Data in separate directories
3+ messages / 2 participants
[nested] [flat]
* Putting Transaction Logs and Data in separate directories
@ 2005-06-02 20:26 Tim.Shenton@corp.terralycos.com
0 siblings, 0 replies; 3+ messages in thread
From: Tim.Shenton@corp.terralycos.com @ 2005-06-02 20:26 UTC (permalink / raw)
To: pgsql-admin
Hi all,
We are in the process of upgrading our 7.4.6 instance of PG to 8.0.3 which
includes putting the new instance on new hardware. The new hardware has
two Raid 5 disks and one system disk and we were going to play around with
putting the data directory and the transaction logs on separate disks, but
short of symlinks, I'm not sure how to do this. I've seen some references
to file locations in section 16.4.1 of the manual
(http://www.postgresql.org/docs/8.0/interactive/runtime-config.html#RUNTIME-CONFIG-FILE-LOCATIONS),
but I'm not sure if this is what I need.
Any help is appreciated because from what I can understand there is a
better way than symlinks, but I haven't been able to locate the correct
way.
Thanks, Tim
----------------------
Timothy Shenton
Lycos, Inc.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Putting Transaction Logs and Data in separate directories
@ 2005-06-03 13:26 Tim.Shenton@corp.terralycos.com
2005-06-03 14:22 ` Re: Putting Transaction Logs and Data in separate directories Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Tim.Shenton@corp.terralycos.com @ 2005-06-03 13:26 UTC (permalink / raw)
To: pgsql-admin
Hi all,
We are in the process of upgrading our 7.4.6 instance of PG to 8.0.3 which
includes putting the new instance on new hardware. The new hardware has
two Raid 5 disks and one system disk and we were going to play around with
putting the data directory and the transaction logs on separate disks, but
short of symlinks, I'm not sure how to do this. I've seen some references
to file locations in section 16.4.1 of the manual
(
http://www.postgresql.org/docs/8.0/interactive/runtime-config.html#RUNTIME-CONFIG-FILE-LOCATIONS
),
but I'm not sure if this is what I need.
Any help is appreciated because from what I can understand there is a
better way than symlinks, but I haven't been able to locate the correct
way.
Thanks, Tim
----------------------
Timothy Shenton
Lycos, Inc.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Putting Transaction Logs and Data in separate directories
2005-06-03 13:26 Putting Transaction Logs and Data in separate directories Tim.Shenton@corp.terralycos.com
@ 2005-06-03 14:22 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Tom Lane @ 2005-06-03 14:22 UTC (permalink / raw)
To: Tim.Shenton@corp.terralycos.com; +Cc: pgsql-admin
Tim.Shenton@corp.terralycos.com writes:
> We are in the process of upgrading our 7.4.6 instance of PG to 8.0.3 which
> includes putting the new instance on new hardware. The new hardware has
> two Raid 5 disks and one system disk and we were going to play around with
> putting the data directory and the transaction logs on separate disks, but
> short of symlinks, I'm not sure how to do this.
A symlink for the pg_xlog directory is exactly how you should do it.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-06-03 14:22 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-06-02 20:26 Putting Transaction Logs and Data in separate directories Tim.Shenton@corp.terralycos.com
2005-06-03 13:26 Putting Transaction Logs and Data in separate directories Tim.Shenton@corp.terralycos.com
2005-06-03 14:22 ` 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