... - Mailing list pgsql-general

From News Subsystem
Subject ...
Date
Msg-id 201212190803.qBJ83jX1009682@news.hub.org
Whole thread Raw
List pgsql-general
        Wed, 19 Dec 2012 00:03:43 -0800 (PST)
Received: by 10.49.127.198 with SMTP id ni6mr757036qeb.23.1355904223562; Wed,
 19 Dec 2012 00:03:43 -0800 (PST)
X-Newsgroups: pgsql.general
Date: Wed, 19 Dec 2012 00:03:43 -0800 (PST)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=78.125.169.178;
 posting-account=pYzPGgoAAAAC0dQ98Mj0cSM3RRz4sF8G
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <245b4d77-eb37-4888-a1cc-e27487de9436@googlegroups.com>
Subject: pg_dump on 8.3, restore on 9.1 takes hours
From: martyn.clement@gmail.com
Injection-Date: Wed, 19 Dec 2012 08:03:43 +0000
Content-Type: text/plain; charset=ISO-8859-1
To: pgsql-general@postgresql.org

Hi,

I'm currently replacing an old server and I am thinking about upgrading postgresql which is actually a 8.3 version.
I freshly installed a Ubuntu 12.04 and installed postgresql 9.1 via apt-get.

My dump size is about 40Mo and was made with :
>> pg_dump -d mydb -U myuser | gzip > pgdump.zip

On the otherside I restore my dump with :
>> gunzip -c pgdump.zip | psql mynewdb -U myuser -W

Then it takes **hours**. At least 8h, I didn't wait the end.
To me, 40Mo dump must be restored in less than 1h.

For information, my db is hosting datas from a django application and uses PostGis.

Thank you for your lights


pgsql-general by date:

Previous
From: Kirk Wythers
Date:
Subject: data type troubles
Next
From: Stephen Touset
Date:
Subject: Implicit transaction not rolling back after error