Re: Restore time differences between full database dumps and separate schema/data dumps - Mailing list pgsql-general

From Glen Barber
Subject Re: Restore time differences between full database dumps and separate schema/data dumps
Date
Msg-id 4ad871310912111314x3aa52da2yaf8d1743c73911cc@mail.gmail.com
Whole thread Raw
In response to Re: Restore time differences between full database dumps and separate schema/data dumps  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi Tom,

On Thu, Dec 10, 2009 at 6:42 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Glen Barber <glen.j.barber@gmail.com> writes:
>> When schema/data are separated, is the restore treated as INSERTs?
>
> No, but you'll still get killed on performance by other factors,
> particularly incremental index building and retail foreign key checks.
> I recommend a close read of
> http://www.postgresql.org/docs/8.4/static/populate.html
>
> What you'll want to do is separate the load into three phases
> corresponding to the order that a combined schema+data dump
> does it.
>

Thanks for the pointer.

Regards,

--
Glen Barber

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Postgres.exe Process taking too much memory and CPU usage - making the system extremely slow.
Next
From: Peter Geoghegan
Date:
Subject: Re: Postgres.exe Process taking too much memory and CPU usage - making the system extremely slow.