pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: senor <frio_cervesa@hotmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Optimize pg_dump schema-only
Date: Mon, 29 Apr 2019 00:12:53 -0400
Message-ID: <29891.1556511173@sss.pgh.pa.us> (raw)
In-Reply-To: <BYAPR01MB3701546024ABC22EA1680586F7390@BYAPR01MB3701.prod.exchangelabs.com>
References: <BYAPR01MB3701AF2EFA014CC16EA14119F7380@BYAPR01MB3701.prod.exchangelabs.com>
	<17505fec-be0a-526a-9ee5-18bb0408a62a@gmail.com>
	<BYAPR01MB370162C9F91E8CBB1F4429DCF7380@BYAPR01MB3701.prod.exchangelabs.com>
	<23800.1556500768@sss.pgh.pa.us>
	<BYAPR01MB3701546024ABC22EA1680586F7390@BYAPR01MB3701.prod.exchangelabs.com>

senor <frio_cervesa@hotmail.com> writes:
> I'm afraid it is 9.2.4.

That's pretty old :-(

> I noticed on 2 installations with similar table numbers (~200,000), 
> schema and hardware that one was done in hours and the other didn't 
> finish over the weekend. Keeping tabs on pg_stat_activity indicated 
> pg_dump was still processing and nothing else running.

Hmm ... but without knowing what's different between the two, that's
not much help.

> Would you say that updating to 9.2.24 would be beneficial before 
> upgrading to 9.6? An update is pretty quick and could be worth the time 
> if there aren't additional requirements prior to starting the upgrade.

That was my reasoning.  It might not help, but it's a simple thing
to do and it might help.

			regards, tom lane





view thread (8+ messages)

Message-ID: <29891.1556511173@sss.pgh.pa.us>
Permalink:  ../29891.1556511173@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29891.1556511173@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, frio_cervesa@hotmail.com
  Subject: Re: Optimize pg_dump schema-only
  In-Reply-To: <29891.1556511173@sss.pgh.pa.us>
  References: <BYAPR01MB3701AF2EFA014CC16EA14119F7380@BYAPR01MB3701.prod.exchangelabs.com> <17505fec-be0a-526a-9ee5-18bb0408a62a@gmail.com> <BYAPR01MB370162C9F91E8CBB1F4429DCF7380@BYAPR01MB3701.prod.exchangelabs.com> <23800.1556500768@sss.pgh.pa.us> <BYAPR01MB3701546024ABC22EA1680586F7390@BYAPR01MB3701.prod.exchangelabs.com> <29891.1556511173@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