Re: 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: "Kevin Grittner" <kgrittn(at)ymail(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Excessive space allocations in Postgresql 9.1.6 system files causing the file system to run out of space.
Date: 2013-03-07 19:11:29
Message-ID: 20130307121129.5a830134ae84016b0174832fdc1a3173.e9a0119b7a.wbe@email11.secureserver.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><DIV>Thanks Kevin &amp; Bruce for your replies,</DIV>
<DIV>&nbsp;</DIV>
<DIV>It&nbsp;looks like this script deletes all of the data file directories (and the data files) from the postgres 8.4.3 instance.&nbsp; Since we used the "-k" option, which calls for hard links rather than copying files to the new cluster, wouldn't this&nbsp;be deleting the files?&nbsp; If so, the DB would be corrupted beyond recovery if we run it.&nbsp; Or am I&nbsp;missing something?</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>Freddie</DIV>
<div>&nbsp;</div>
<BLOCKQUOTE style="BORDER-LEFT: blue 2px solid; PADDING-LEFT: 8px; FONT-FAMILY: verdana; COLOR: black; MARGIN-LEFT: 8px; FONT-SIZE: 10pt" id=replyBlockquote webmail="1">
<DIV id=wmQuoteWrapper>-------- Original Message --------<BR>Subject: Re: [BUGS] Excessive space allocations in Postgresql 9.1.6<BR>system files causing the file system to run out of space.<BR>From: Kevin Grittner &lt;<a href="mailto:kgrittn(at)ymail(dot)com">kgrittn(at)ymail(dot)com</a>&gt;<BR>Date: Thu, March 07, 2013 8:14 am<BR>To: "<a href="mailto:fburgess(at)radiantblue(dot)com">fburgess(at)radiantblue(dot)com</a>" &lt;<a href="mailto:fburgess(at)radiantblue(dot)com">fburgess(at)radiantblue(dot)com</a>&gt;, <BR>"<a href="mailto:pgsql-bugs(at)postgresql(dot)org">pgsql-bugs(at)postgresql(dot)org</a>" &lt;<a href="mailto:pgsql-bugs(at)postgresql(dot)org">pgsql-bugs(at)postgresql(dot)org</a>&gt;<BR><BR>"<a href="mailto:fburgess(at)radiantblue(dot)com">fburgess(at)radiantblue(dot)com</a>" &lt;<a href="mailto:fburgess(at)radiantblue(dot)com">fburgess(at)radiantblue(dot)com</a>&gt; wrote:<BR><BR>&gt; Does anyone know, what the names/location of the pg_upgrade<BR>&gt; cleanup scripts? We upgraded from 8.4.3 to 9.1.6<BR><BR>Sorry I didn't answer this sooner, but I didn't know off-hand and<BR>hoped that someone who did would jump in.&nbsp; Since that didn't happen<BR>...<BR><BR>The file is <a href="http://delete_old_cluster.sh">delete_old_cluster.sh</a> on most platforms.&nbsp; The suffix is<BR>.bat on Windows.<BR><BR>It can be run anytime after the upgrade *as long as you have not<BR>moved the new cluster to the old location*.<BR><BR>Thanks to Bruce Momjian for telling me in chat when I asked just now.<BR><BR>--<BR>Kevin Grittner<BR>EnterpriseDB: <a href="http://www.enterprisedb.com">http://www.enterprisedb.com</a><BR>The Enterprise PostgreSQL Company<BR><BR><BR>-- <BR>Sent via pgsql-bugs mailing list (<a href="mailto:pgsql-bugs(at)postgresql(dot)org">pgsql-bugs(at)postgresql(dot)org</a>)<BR>To make changes to your subscription:<BR><a href="http://www.postgresql.org/mailpref/pgsql-bugs">http://www.postgresql.org/mailpref/pgsql-bugs</a><BR></DIV></BLOCKQUOTE></span></body></html>

Attachment Content-Type Size
unknown_filename text/html 2.6 KB

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2013-03-07 19:56:00 Re: Excessive space allocations in Postgresql 9.1.6 system files causing the file system to run out of space.
Previous Message Kevin Grittner 2013-03-07 15:14:40 Re: Excessive space allocations in Postgresql 9.1.6 system files causing the file system to run out of space.