From: Markus Schaber <schabios@logi-track.com>
To: John Allgood <john@turbocorp.com>
Cc: pgsql-performance@postgresql.org
Cc: john@arbash-meinel.com
Subject: Re: Peformance Tuning Opterons/ Hard Disk Layout
Date: Mon, 28 Feb 2005 09:10:36 +0100
Message-ID: <4222D1FC.1020007@logi-track.com> (raw)
In-Reply-To: <421E1D8A.8050203@turbocorp.com>
References: <421E1D8A.8050203@turbocorp.com>
Hi, John,
John Allgood schrieb:
> My question is what is the best way to setup
> postgres databases on different disks. I have setup multiple postmasters
> on this system as a test. The only problem was configuring each
> databases "ie postgresql.conf, pg_hba.conf". Is there anyway in
> postgres to have everything in one cluster and have it seperated onto
> multiple drives.
Using PostgreSQL 8.0, the newly introduced "tablespaces" solve all this:
http://www.postgresql.org/docs/8.0/interactive/manage-ag-tablespaces.html
Using PostgreSQL 7.4, you can relatively easy create single databases on
different drives. However, separating out single tables or indices
involves some black symlink magic. See google and
http://www.postgresql.org/docs/7.4/interactive/manage-ag-alternate-locs.html
HTH,
Markus
--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: schabios@logi-track.com, john@turbocorp.com, john@arbash-meinel.com
Subject: Re: Peformance Tuning Opterons/ Hard Disk Layout
In-Reply-To: <4222D1FC.1020007@logi-track.com>
* 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