From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Victor Yegorov <viktors.jegorovs@nordlb.lv>
Cc: Postgres Admin <pgsql-admin@postgresql.org>
Subject: Re: data files management (tablespaces)
Date: Mon, 19 May 2003 16:19:43 -0700 (PDT)
Message-ID: <20030519161741.H43727-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <20030518064748.GA3241@nordlb.lv>
On Sun, 18 May 2003, Victor Yegorov wrote:
> Hello.
>
> I wonder, is it possible in PostgreSQL to manage data files, stored on
> disks? I mean, I'd like to tell DB where store this or that object.
>
> Now I have a server running a DB and a small application that uses
> it. At the time, when project started, there were enough space on HD
> (4Gb). Now it seems, that soon I'm going to have problems.
>
> At now, I'm daily backuping and then deleting all "expired" records. But
> that is not the solution I want.
>
> Is it possible to add one (or more) disks and tell Postgres to store, say,
> indicies or big tables on them? Such things in ORACLE are called
> tablespaces.
>
> I've searched the docs, but found nothing apropriate, may be I've missed the
> point.
>
> I know, I can just upgrade hardware and move my stuff to the new server. But
> still - is it possible to manage objects?
Generally not live, and not easily. :( Right now about the best you can
do is move files around while the system is down and use symlinks. This
doesn't really help on really big tables since the new extents (after each
gig iirc) will get created in the default place and you'd need to down the
server in order to move it safely I think.
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: sszabo@megazone23.bigpanda.com, viktors.jegorovs@nordlb.lv
Subject: Re: data files management (tablespaces)
In-Reply-To: <20030519161741.H43727-100000@megazone23.bigpanda.com>
References: <20030518064748.GA3241@nordlb.lv> <20030519161741.H43727-100000@megazone23.bigpanda.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