pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@ymail.com>
To: fburgess@radiantblue.com <fburgess@radiantblue.com>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: Excessive space allocations in Postgresql 9.1.6 system files causing the file system to run out of space.
Date: Thu, 7 Mar 2013 11:56:00 -0800 (PST)
Message-ID: <1362686160.81979.YahooMailNeo@web162903.mail.bf1.yahoo.com> (raw)
In-Reply-To: <20130307121129.5a830134ae84016b0174832fdc1a3173.e9a0119b7a.wbe@email11.secureserver.net>
References: <20130307121129.5a830134ae84016b0174832fdc1a3173.e9a0119b7a.wbe@email11.secureserver.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

"fburgess@radiantblue.com" <fburgess@radiantblue.com> wrote:

> It looks like this script deletes all of the data file
> directories (and the data files) from the postgres 8.4.3
> instance. Since we used the "-k" option, which calls for hard
> links rather than copying files to the new cluster, wouldn't this
> be deleting the files?  If so, the DB would be corrupted beyond
> recovery if we run it.  Or am I missing something?

You need to read up on hard links a bit more.  Here's one source:

http://www.linfo.org/hard_link.html

In summary, a hard link allows multiple directory entries to point
to the same data location.  Until you delete the last directory
entry the file remains.

-- 
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (11+ messages)

Message-ID: <1362686160.81979.YahooMailNeo@web162903.mail.bf1.yahoo.com>
Permalink:  ../1362686160.81979.YahooMailNeo@web162903.mail.bf1.yahoo.com/
Also on:    postgresql.org/message-id/1362686160.81979.YahooMailNeo@web162903.mail.bf1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: kgrittn@ymail.com, fburgess@radiantblue.com
  Subject: Re: Excessive space allocations in Postgresql 9.1.6 system files causing the file system to run out of space.
  In-Reply-To: <1362686160.81979.YahooMailNeo@web162903.mail.bf1.yahoo.com>
  References: <20130307121129.5a830134ae84016b0174832fdc1a3173.e9a0119b7a.wbe@email11.secureserver.net> <1362686160.81979.YahooMailNeo@web162903.mail.bf1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox