Excessive space allocations in Postgresql 9.1.6 system files causing the file system to run out of space.

From: <fburgess(at)radiantblue(dot)com>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Excessive space allocations in Postgresql 9.1.6 system files causing the file system to run out of space.
Date: 2013-02-26 17:30:47
Message-ID: 20130226103047.5a830134ae84016b0174832fdc1a3173.e8f8533f39.wbe@email11.secureserver.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>On tuesday, February 26, 2013, Freddie Burgess wrote:</div>
<div>&nbsp;</div>
<div>We have a Postgres database that was recently upgraded from 8.4.3 to 9.1.6.&nbsp; We have noticed unusual growth in the data files and generated a script to perform the following actions.<BR>1. Query pg_class for all records<BR>2. Generate a file listing of all postgres data files<BR>3. Compare the two lists and eliminate all files that are contained within pg_class<BR>&nbsp;<BR>There are 17359 data files.&nbsp; After running the script, there are 5802 data files remaining that are not listed in pg_class.&nbsp; Due to the size of the (5802) data files (~4TB), I am not comfortable about deleting them from the file system.&nbsp; Does postgres 9.1.6 catalog every data file in pg_class?&nbsp;&nbsp; Or does it leave some data files off of this table?&nbsp; If so, how can I determine if I have stale, unnecessary data files on my file system?<BR></div></span></body></html>

Attachment Content-Type Size
unknown_filename text/html 1.0 KB

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2013-02-26 21:45:19 Re: BUG #7903: EAN13s are shown ISBN values
Previous Message Jeff Janes 2013-02-26 17:08:36 Re: BUG #7902: lazy cleanup of extraneous WAL files can cause out of disk issues