Re: Incredibly slow restore times after 9.0>9.2 upgrade

From: Jerry Sievers <gsievers19(at)comcast(dot)net>
To: jmcdonagh <Joseph(dot)E(dot)McDonagh(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Incredibly slow restore times after 9.0>9.2 upgrade
Date: 2014-10-30 16:58:11
Message-ID: 86k33hwl3w.fsf@jerry.enova.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

jmcdonagh <Joseph(dot)E(dot)McDonagh(at)gmail(dot)com> writes:

> I just had a thought- I know some of these tables are in need of a vacuuming.
> Could it be that the dump is dumping a bunch of garbage that the restore has
> to sift through on the restore? I don't know enough details to know if this
> is a dumb thought or not.

No. However it's true that the dump will take a bit longer having to
scan a bloated table rather than a tight one.

Dump will only output the live rows. psql or pg_restore whatever you're
using on the target side will not have to step over any junk.

HTH

>
> The restore to RDS took roughly the same amount of time. My next move is to
> try on a fast instance store, and also do a postgres 9 restore of a pure SQL
> dump, but that won't really be a great test since I use custom format. I'm
> assuming here that I can't take the custom dump from 9.2 and apply it to
> 9.0, or can I?
>
>
>
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/Incredibly-slow-restore-times-after-9-0-9-2-upgrade-tp5824701p5825052.html
> Sent from the PostgreSQL - performance mailing list archive at Nabble.com.

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres(dot)consulting(at)comcast(dot)net
p: 312.241.7800

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tomas Vondra 2014-10-30 19:08:36 Re: Incredibly slow restore times after 9.0>9.2 upgrade
Previous Message jmcdonagh 2014-10-30 16:23:22 Re: Incredibly slow restore times after 9.0>9.2 upgrade