Skip site navigation (1) Skip section navigation (2)

Re: Peformance Tuning Opterons/ Hard Disk Layout

From: Markus Schaber <schabios(at)logi-track(dot)com>
To: John Allgood <john(at)turbocorp(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org, john(at)arbash-meinel(dot)com
Subject: Re: Peformance Tuning Opterons/ Hard Disk Layout
Date: 2005-02-28 08:10:36
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
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:

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

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(at)logi-track(dot)com |

In response to

pgsql-performance by date

Next:From: Matthew T. O'ConnorDate: 2005-02-28 14:30:58
Subject: Re: is pg_autovacuum so effective ?
Previous:From: Tom ArthursDate: 2005-02-27 22:32:01
Subject: PG block sizes

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group