Re: Why are pg_restore taking that long ?

From: Poul Møller Hansen <freebsd(at)pbnet(dot)dk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Why are pg_restore taking that long ?
Date: 2012-05-22 15:11:13
Message-ID: 4FBBAC91.4000507@pbnet.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Possibly. You should be able to tell what's taking so much time by
> keeping an eye on your server during the restore. You could set
> log_statement = 'all' (or just 'ddl' if there is significant other
> activity in other databases) during the restore, and keep an eye on
> pg_stat_activity if you need to.
>

OK, nothing unusual I think. It's the foreign keys that takes that long
to generate. I didn't realize that they are in the system tables.

Poul

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Kerr 2012-05-22 16:36:13 haproxy / pgpool / rhcs
Previous Message Ben Chobot 2012-05-22 14:39:08 Re: why jasperserver has been changed from MySQL to PostGreSQL