Re: Out of memory error on pg_restore

From: "Nik" <XLPizza(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Out of memory error on pg_restore
Date: 2006-03-08 21:51:55
Message-ID: 1141854715.290662.96550@i40g2000cwc.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom was exactly right.

I was trying to restore the dump file into an already created table
structure that did have three foreign key constraints. I removed the
primary key constraint to speed up the load, but was not aware of the
memory usage of the foreign keys.

I dropped the table and ran the pg_restore again, and it is running
currently and behaving nicely at constant 13Mb of memory. It will
probably take some time, but I think it is working fine.

Thanks for the help.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2006-03-08 22:06:55 Re: ALTER TABLE -- how to add ON DELETE CASCADE?
Previous Message Tom Lane 2006-03-08 21:26:23 Re: Tsearch2 cache lookup problem