pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Dávid Suchan <david.suchan.ds@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pg_upgradecluster transfering only a portion of the data
Date: Mon, 27 Feb 2023 11:48:49 -0500
Message-ID: <373111.1677516529@sss.pgh.pa.us> (raw)
In-Reply-To: <1488b8f2-fe98-3be2-0d27-4c52734f15af@aklaver.com>
References: <CAHD9QtYPifFBOULZVPJQ0XuSBc1WwQdQqHUjWZk8UdxRorGAZQ@mail.gmail.com>
	<fd0d1b0d-3017-5d6c-cc95-18fd664c35ad@aklaver.com>
	<372205.1677515818@sss.pgh.pa.us>
	<1488b8f2-fe98-3be2-0d27-4c52734f15af@aklaver.com>

Adrian Klaver <adrian.klaver@aklaver.com> writes:
> On 2/27/23 08:36, Tom Lane wrote:
>> If it was based on something like "du", perhaps the measurement
>> was fooled by the fact that most of the data files will be hard-linked
>> between the old and new clusters.

> Does that happen without the --link option?

No, but the OP didn't mention whether he used that, and even if he
didn't say it explicitly the pg_upgradecluster wrapper might've
supplied it.

			regards, tom lane





view thread (13+ messages)  latest in thread

Message-ID: <373111.1677516529@sss.pgh.pa.us>
Permalink:  ../373111.1677516529@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/373111.1677516529@sss.pgh.pa.us

 · 

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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, david.suchan.ds@gmail.com
  Subject: Re: pg_upgradecluster transfering only a portion of the data
  In-Reply-To: <373111.1677516529@sss.pgh.pa.us>
  References: <CAHD9QtYPifFBOULZVPJQ0XuSBc1WwQdQqHUjWZk8UdxRorGAZQ@mail.gmail.com> <fd0d1b0d-3017-5d6c-cc95-18fd664c35ad@aklaver.com> <372205.1677515818@sss.pgh.pa.us> <1488b8f2-fe98-3be2-0d27-4c52734f15af@aklaver.com> <373111.1677516529@sss.pgh.pa.us>

* 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