Re: pg_dump / load seems really slow.. - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_dump / load seems really slow..
Date
Msg-id 9732.1207431743@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump / load seems really slow..  (Chad <chadrosen@gmail.com>)
List pgsql-general
Chad <chadrosen@gmail.com> writes:
> export:

> pg_dump forums --data-only --no-owner -t foo > <output file>

> The load step seems really slow.

Don't use --data-only.  Or if you must, look into dropping and
recreating indexes and foreign keys.  See

http://www.postgresql.org/docs/8.3/static/populate.html

(or the corresponding page for whatever PG version you are using).

            regards, tom lane

pgsql-general by date:

Previous
From: Kev
Date:
Subject: drop database regardless of connections
Next
From: Tom Lane
Date:
Subject: Re: Text Search Configuration Problem