pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Lonni J Friedman <netllama@gmail.com>
Cc: Matheus de Oliveira <matioli.matheus@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: pg_upgrade with -j shows no perf improvement
Date: Mon, 17 Jun 2013 19:04:17 -0400
Message-ID: <20130617230417.GA1997@momjian.us> (raw)
In-Reply-To: <CAP=oouHTiSKpcRgCEycW5ERc0uOT-GtgOHVrJAAuMRhA7nUxMA@mail.gmail.com>
References: <CAP=oouF=fAspj-mzFRj0_3bJh9-iNSgfFfc2ONPgE+Y-a5PF7w@mail.gmail.com>
	<20130616030313.GA22904@momjian.us>
	<CAP=oouF2NPS_=OwhVqv5zh_SJaN+2nEc+KZns5xa986aLTXHMQ@mail.gmail.com>
	<CAJghg4LL4TNvG4E_ory9W1xkhh4qV_ZowEP1TJ7zF0yLPG0dNA@mail.gmail.com>
	<CAP=oouHTiSKpcRgCEycW5ERc0uOT-GtgOHVrJAAuMRhA7nUxMA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Mon, Jun 17, 2013 at 10:26:48AM -0700, Lonni J Friedman wrote:
> >> I only have 1 tablespace, although I have 9 databases.  However, one
> >> of the databases is about 95% of the total on-disk space, so that's
> >> probably the explanation of why -j isn't helping me?
> >>
> >
> > That is probably why you DID had some improvement, although so little.

Agreed.

> >> I don't have sufficient disk space to efficiently test --link mode,
> >> unless there's some way to quickly roll back to the pre-upgrade
> >> version of the database after a --link mode upgrade has completed
> >> successfully that I'm not seeing?
> >>
> >
> > I didn't got it. AFAIK, in link mode it would take **less** space than
> > normal mode, not the opposite. Am I wrong?
> 
> No, you're correct, but I want to keep the old version unchanged after
> the upgrade.  I didn't think that was possible with link mode.

It is not possible in link mode if you start the new cluster.  If you
don't start the new cluster, you can just delete the new cluster and
restart the unchanged old cluster, thought you have to remove the .old
suffix on the control file.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


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



view thread (6+ messages)

Message-ID: <20130617230417.GA1997@momjian.us>
Permalink:  ../20130617230417.GA1997@momjian.us/
Also on:    postgresql.org/message-id/20130617230417.GA1997@momjian.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, netllama@gmail.com, matioli.matheus@gmail.com
  Subject: Re: pg_upgrade with -j shows no perf improvement
  In-Reply-To: <20130617230417.GA1997@momjian.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