Copy Command out of memory - Mailing list pgsql-admin

From Kevin Keith
Subject Copy Command out of memory
Date
Msg-id 43A0A82F.5070205@borderware.com
Whole thread Raw
Responses Re: Copy Command out of memory
Re: Copy Command out of memory
List pgsql-admin
I was trying to run a bulk data load using the COPY command on PGSQL 8.1.0.

After loading about 3,500,000 records it ran out of memory - I am
assuming because it ran out of space to store such a large transaction.
Does the COPY command offer a similar feature to Oracle's SQL*Loader
where you can specify the number of records to load between commit
statements, or will I have to break the file I am loading into smaller
files?

Or can a transaction be bypassed altogether with the COPY command since
any failure (the load is going to an empty table) could easily be solved
with  a reload of the data anyway.

Thanks,

Kevin

pgsql-admin by date:

Previous
From: "Tomeh, Husam"
Date:
Subject: Re: PG 8.1.1 Cannot allocate shared_buffers memory
Next
From: "Anjan Dave"
Date:
Subject: Re: PG 8.1.1 Cannot allocate shared_buffers memory error