From: DHSC Webmaster <webmaster@dhs-club.com>
To: Charlie Toohey <ctoohey@pacbell.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Indexes on separate disk ?
Date: Thu, 13 Jun 2002 16:34:55 -0400
Message-ID: <3D0901EF.623670D8@dhs-club.com> (raw)
References: <20020613194938.E0827476FA1@postgresql.org>
You sure can, Charlie.
We have our indexes, lightly used/smaller tables and heavily used/larger
tables split across several disks.
In a nutshell,
1. You just have to create the objects.
2. Then identify the objects using oid2name.
3. Shut down your database and move the objects.
4. Then put symlinks in their place pointing to their new destination.
5. Fire it back up.
(creating a reliable backup before this procedure is highly recommended)
Charlie Toohey wrote:
>
> I've looked around a lot and don't think this is possible with Postgres, but
> figured I would ask in case I missed something. Is it possible to configure
> things so that an index resides on a separate disk ? It doesn't look like it,
> since they both have to reside in the same database, and the entire contents
> of the database would reside underneath a single directory, and therefore on
> a single disk.
>
> Thanks
> Charlie
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
--
Bill MacArthur
Webmaster
DHS Club
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: webmaster@dhs-club.com, ctoohey@pacbell.net
Subject: Re: Indexes on separate disk ?
In-Reply-To: <3D0901EF.623670D8@dhs-club.com>
References: <20020613194938.E0827476FA1@postgresql.org> <3D0901EF.623670D8@dhs-club.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