Re: pg_restore very slow

From: Michael Adler <adler(at)pobox(dot)com>
To: Laurent Michel <laurent(dot)michel(at)geo12(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: pg_restore very slow
Date: 2003-07-10 13:30:55
Message-ID: Pine.NEB.4.53.0307100928380.17656@reva.sixgirls.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-general


First, I'd recommend sticking to Debian. You are probably already aware of
the differences.

If you are stuck in WinWorld, try using the "-h `hostname`" option. It was
consistently faster for me.

On Mon, 7 Jul 2003, Laurent Michel wrote:

> Date: Mon, 7 Jul 2003 17:10:15 +0200
> From: Laurent Michel <laurent(dot)michel(at)geo12(dot)com>
> To: pgsql-general(at)postgresql(dot)org, pgsql-cygwin(at)postgresql(dot)org
> Subject: [CYGWIN] pg_restore very slow
>
> I have a pg database dump (c format) and i want to install it on
> cygwin/postgresql machines. The dump is 140 MB big.
>
> I was used to install it on windows clients with the command :
> pg_restore -d mydb -ROxv -L mylist mydump
> and it took about 1 hour or 2 maximum.
>
> Now when I issue the same command it takes more than ONE DAY for the
> dump to be fully restored.
>
> The only change I can think of is that I upgraded my Debian Linux server
> (from wich the dump comes) from pg 7.2 to pg 7.3. The
> cygwin/cygipc/postgresql is the same on clients side.
>
> I changed pg shared buffers to half of the clients RAM, and tried to
> modify pg_restore options ... nothing helped.
>
> Any idea ?
>
> Thanks in advance,
> Laurent
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

Mike Adler

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Yogesh Sharma 2003-07-12 04:57:04
Previous Message Jason Tishler 2003-07-10 12:04:31 Re: ipc-daemon is necessary for running postgre ?

Browse pgsql-general by date

  From Date Subject
Next Message u15074 2003-07-10 14:51:48 What is the max size for a bytea field?
Previous Message shreedhar 2003-07-10 11:48:31 Is it possible to create database in lower version with the dump of higher version