Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TmHDO-0000Ak-FB for pgsql-general@arkaria.postgresql.org; Sat, 22 Dec 2012 05:01:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TmHDN-0005g0-17 for pgsql-general@arkaria.postgresql.org; Sat, 22 Dec 2012 05:01:37 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlExO-0006N4-Jj for pgsql-general@postgresql.org; Wed, 19 Dec 2012 08:24:50 +0000 Received: from news.hub.org ([200.46.204.72]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TlExL-0001JS-Nb for pgsql-general@postgresql.org; Wed, 19 Dec 2012 08:24:49 +0000 Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.5/8.14.5) with ESMTP id qBJ8Ok2N011207 for ; Wed, 19 Dec 2012 04:24:46 -0400 (AST) (envelope-from news@news.hub.org) Received: from news.hub.org (news@localhost) by news.hub.org (8.14.5/8.14.5/Submit) with NNTP id qBJ83jX1009682 for pgsql-general@postgresql.org; Wed, 19 Dec 2012 04:03:45 -0400 (AST) (envelope-from news) Date: Wed, 19 Dec 2012 04:03:45 -0400 (AST) From: News Subsystem Message-Id: <201212190803.qBJ83jX1009682@news.hub.org> To: undisclosed-recipients:; X-Pg-Spam-Score: -0.1 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org 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 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general