Re: [CYGWIN] pg_restore very slow - Mailing list pgsql-general

From Michael Adler
Subject Re: [CYGWIN] pg_restore very slow
Date
Msg-id Pine.NEB.4.53.0307100928380.17656@reva.sixgirls.org
Whole thread Raw
In response to pg_restore very slow  ("Laurent Michel" <laurent.michel@geo12.com>)
Responses Re: [CYGWIN] pg_restore very slow
List 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.michel@geo12.com>
> To: pgsql-general@postgresql.org, pgsql-cygwin@postgresql.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

pgsql-general by date:

Previous
From: "Chad N. Tindel"
Date:
Subject: Am I using the SERIAL type properly?
Next
From: Tom Lane
Date:
Subject: Re: This works in 7.2.1, not in 7.3.2