pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Morus Walter <morus.walter@tanto.de>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: when datas filesystem is full how to do
Date: Wed, 16 Feb 2005 10:24:52 -0500
Message-ID: <24113.1108567492@sss.pgh.pa.us> (raw)
In-Reply-To: <16915.20833.452186.548671@tanto-xipolis.de>
References: <nD949783794582.03450@send2.inner-21cn.com>
	<421347DD.2090602@3times25.net>
	<16915.20833.452186.548671@tanto-xipolis.de>

Morus Walter <morus.walter@tanto.de> writes:
> I guess the problem is, that he doesn't want to stop the database.

Yeah ... I'm afraid that's an impractical goal.

> I'd rather suggest to look into tablespaces.
> Create a new tablespace on some other filesystem and move the contents
> of the database by using ALTER TABLE/INDEX SET TABLESPACE...

Although the postmaster may stay up, this would still involve taking
exclusive locks on large tables for long enough to copy them to another
disk.  That would probably knock out his application just as effectively
as a full database shutdown.  And of course it's not even an option
unless he's running PG 8.0.

			regards, tom lane



view thread (4+ messages)

Message-ID: <24113.1108567492@sss.pgh.pa.us>
Permalink:  ../24113.1108567492@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24113.1108567492@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, morus.walter@tanto.de
  Subject: Re: when datas filesystem is full how to do
  In-Reply-To: <24113.1108567492@sss.pgh.pa.us>
  References: <nD949783794582.03450@send2.inner-21cn.com> <421347DD.2090602@3times25.net> <16915.20833.452186.548671@tanto-xipolis.de> <24113.1108567492@sss.pgh.pa.us>

* 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