Re: out of memory error with large insert

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sriram Dandapani" <sdandapani(at)counterpane(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: out of memory error with large insert
Date: 2006-03-21 22:38:27
Message-ID: 3869.1142980707@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Sriram Dandapani" <sdandapani(at)counterpane(dot)com> writes:
> On a large transaction involving an insert of 8 million rows, after a
> while Postgres complains of an out of memory error.

If there are foreign-key checks involved, try dropping those constraints
and re-creating them afterwards. Probably faster than retail checks
anyway ...

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sriram Dandapani 2006-03-22 00:16:29 Re out of memory error with large insert
Previous Message Sriram Dandapani 2006-03-21 22:17:58 out of memory error with large insert