Re: thousand unrelated data files in pg_default tablespace - Mailing list pgsql-hackers

From Tom Lane
Subject Re: thousand unrelated data files in pg_default tablespace
Date
Msg-id 13060.1283187849@sss.pgh.pa.us
Whole thread Raw
In response to thousand unrelated data files in pg_default tablespace  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: thousand unrelated data files in pg_default tablespace  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> I found a PostgreSQL 8.3 server (Linux) used for large OLAP where the
> data directory is bloating. There are more than one hundred thousand
> files - 8KB or 0KB long. The filenames are not transformable to names
> via oid2name. Does somebody know about similar bug?

1. 8.3.what?

2. Any signs of distress in the postmaster log?  I'm wondering about
being unable to complete checkpoints, or repeated backend crashes that
might cause leakage of temp tables.

3. What's in the files --- do they appear to be tables, indexes, random
temp files from sorts/hashes, or what?  pg_filedump might help you here.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Assertion failure on HEAD (or at least git copy of it)
Next
From: Pei He
Date:
Subject: How to construct an exact plan