Re: pg_restore - Mailing list pgsql-admin

From D Kavan
Subject Re: pg_restore
Date
Msg-id BAY102-F39EA13D8439F6A65A1EAA7D1BC0@phx.gbl
Whole thread Raw
In response to Re: pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Thanks!

We increased work memory from 16 MB to 32 MB and maintenance work memory
from 256 MB to 768 MB.  That made a huge difference.   We did set true the
log.statement and duration, but where is the file those are logging too?

That did the trick.  30 minutes only for a restrore instead of 5 + hours.

I did notice that the size is 4 GB instead of 5.6 GB.  Is something else
going on?

We tried a pg_restore with -Fc once and only got 4 GB, but the next time
with a standard pg_dump command and psql newdb < dumpfile command, we also
had 4 GB.

~DjK



pgsql-admin by date:

Previous
From: Tsirkin Evgeny
Date:
Subject: Re: Schema authorization after create database.
Next
From: Chris Hoover
Date:
Subject: Help with function