Re: How to recover space from a failed cluster

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: s anwar <sanwar(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to recover space from a failed cluster
Date: 2005-12-13 18:06:35
Message-ID: 8473.1134497195@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

s anwar <sanwar(at)gmail(dot)com> writes:
> I have a postgres 8.1 database running under FC4 x86_64. While I was
> clustering a table, the machine died (kernel/hardware issue). When I
> restarted the machine, the space used by postgres during the cluster
> operation was still in use.

That would be in the form of a file that's not referenced by any value
of pg_class.relfilenode. I think you have to find and delete the file
by hand --- there is not any automated mechanism for this. See
http://www.postgresql.org/docs/8.1/static/storage.html

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message operationsengineer1 2005-12-13 18:09:51 Re: Update Query Problem
Previous Message operationsengineer1 2005-12-13 18:02:02 Re: Update Query Problem