Re: pgsql database .1 .2 .3 file names - Mailing list pgsql-admin

From Tom Lane
Subject Re: pgsql database .1 .2 .3 file names
Date
Msg-id 18552.1098216311@sss.pgh.pa.us
Whole thread Raw
In response to pgsql database .1 .2 .3 file names  (Bryan Biggers <bbiggers@tds.net>)
List pgsql-admin
Bryan Biggers <bbiggers@tds.net> writes:
> Can anyone tell me what the data file names with the .1 .2 .3 etc.
> extensions are? Are these undo versions of my tables or something? I
> need to recover some disk space and I'm wondering if I need them.

You will be very very unhappy if you remove those files (or anything
else underneath $PGDATA).  What you have there is just a 7-gig table.
We split large tables into 1Gb segments for portability reasons.

If you think that there's a lot of wasted space within the files, you
might find it profitable to use (some combination of) VACUUM FULL,
CLUSTER, or REINDEX.

            regards, tom lane

pgsql-admin by date:

Previous
From: Rosser Schwarz
Date:
Subject: Re: pgsql database .1 .2 .3 file names
Next
From: Stephan Szabo
Date:
Subject: Re: pgsql database .1 .2 .3 file names