Re: Where are these tables??

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Patrick Hatcher <PHatcher(at)macys(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Where are these tables??
Date: 2004-03-26 16:08:49
Message-ID: 1080317329.27332.494.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2004-03-26 at 09:28, Patrick Hatcher wrote:

While trying to find the physical disk space size each table in our
database (by matching the file name in the base directory to an entry
in pg_class), we found 4 files that constitute 5gigs that we cannot
match back to a entry in pg_class.
Is it safe to delete these?

I feel like you're holding a gun asking if it's ok to shoot, but you
haven't told us which way it's pointing. I'd be curious to know the
filenames in question and the query your running to look for these
files... might also suggest doing a vacuum full on your cluster to see
if their filesizes change at all... but if you've got that cowboy
feeling going i'd say shutdown the database, backup the directory,
delete the files, and fire it back up...

Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-03-26 16:12:59 Re: Tables as function arguments
Previous Message Tom Lane 2004-03-26 16:07:40 Re: initdb and login after